From 693f30bca358d77d24d48b13ab7f24828fc1046e Mon Sep 17 00:00:00 2001 From: Lucas Date: Wed, 21 Oct 2026 14:06:47 +0200 Subject: [PATCH] =?UTF-8?q?feat(accueil):=20page=20d'accueil=20avec=20serv?= =?UTF-8?q?ices=20et=20r=C3=A9alisations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/consts.ts | 1 + src/pages/index.astro | 114 +++++++++++++++++++++++++----------------- 2 files changed, 68 insertions(+), 47 deletions(-) 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. -

-
-