diff --git a/src/consts.ts b/src/consts.ts index be01669..d839472 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -1,2 +1,3 @@ export const SITE_TITLE = 'Lucas Royer'; export const SITE_DESCRIPTION = 'Infogérance et outils libres pour les associations et les petites structures.'; +export const CONTACT_EMAIL = 'bonjour@lucasroyer.fr'; diff --git a/src/pages/index.astro b/src/pages/index.astro index 16e0502..0c47100 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,49 +1,69 @@ --- -import BaseHead from '../components/BaseHead.astro'; -import Footer from '../components/Footer.astro'; -import Header from '../components/Header.astro'; -import { SITE_DESCRIPTION, SITE_TITLE } from '../consts'; ---- +import { getCollection } from 'astro:content'; +import Base from '../layouts/Base.astro'; +import { CONTACT_EMAIL } from '../consts'; - - - - - - -
-
-

🧑‍🚀 Welcome, there !

-

- Welcome to the official Astro blog starter template. This template - serves as a lightweight, minimally-styled starting point for anyone looking to build a personal - website, blog, or portfolio with Astro. -

-

- This template comes with a few integrations already configured in your - astro.config.mjs file. You can customize your setup with - Astro Integrations to add tools like Tailwind, - React, or Vue to your project. -

-

Here are a few ideas on how to get started with the template:

-
    -
  • Edit this page in src/pages/index.astro
  • -
  • Edit the site header items in src/components/Header.astro
  • -
  • Add your name to the footer in src/components/Footer.astro
  • -
  • Check out the included blog posts in src/content/blog/
  • -
  • Customize the blog post page layout in src/layouts/BlogPost.astro
  • -
-

- Have fun! If you get stuck, remember to - read the docs - or join us on Discord to ask questions. -

-

- Looking for a blog template with a bit more personality? Check out - astro-blog-template - by Maxi Ferreira. -

-
-