From 1d9763b11864bd42aa1bd31edaa0a865ed1d04c3 Mon Sep 17 00:00:00 2001 From: periodicbrake Date: Sat, 20 Jun 2026 00:12:17 +0200 Subject: [PATCH] added: content to homepage --- src/app/page.tsx | 53 ++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 47 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 11f0411..cdc2fe3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,11 +1,52 @@ -import Image from "next/image"; - export default function Home() { - return ( -
-
+ const startDate = new Date("2011-08-30"); + const now = new Date(); + let years = now.getFullYear() - startDate.getFullYear(); + + // On vérifie si l'anniversaire n'est pas encore passé cette année + if ( + now.getMonth() < startDate.getMonth() || + (now.getMonth() === startDate.getMonth() && + now.getDate() < startDate.getDate()) + ) { + years--; + } + return ( + <> +
+

Who am I?

+

+ 🤨 do some research idk? More seriously I am a: +
+ - french +
- {years}yo High school student
- somewhat full stack dev +
- Who knows how to center a div without ai (with enough energy + drinks) +

+

+ What can I build +

+

+ - pretty much anything that doesn't involve microsoft (i hate them) +

+

My toolbox

+

+ - Zed and micro (truly goated) +
- NextJS and tailwind (guess what i made with them; clue: it + starts with this and ends with website) +
- a 10yo desktop that is now used as a homelab (in other terms, + my slave) +
- the laptop my region gave me (thx{" "} + + Grand est + + ) +
- infomaniak (cuz 77.192.72.192 is hard to remember) +

+

I sometimes do stuff for free, contact me and we'll see if you're lucky

-
+

'' Why need a whole earth if your already in the best place you'll ever be ,, -me on a random friday

+ ); }