Added gitea button
This commit is contained in:
@@ -28,7 +28,7 @@ const onHome = Astro.url.pathname === "/"
|
||||
class="block py-2 underline-offset-4 hover:underline text-body/80 hover:text-body"
|
||||
class:list={
|
||||
{
|
||||
"text-primary/80 hover:text-primary": onHome,
|
||||
"text-primary/90 hover:text-primary": onHome,
|
||||
"text-body/80 hover:text-body": !onHome
|
||||
}
|
||||
}
|
||||
@@ -44,7 +44,7 @@ const onHome = Astro.url.pathname === "/"
|
||||
class="block py-2 underline-offset-4 hover:underline text-body/80 hover:text-body"
|
||||
class:list={
|
||||
{
|
||||
"text-primary/80 hover:text-primary": Astro.url.pathname.startsWith(link.to),
|
||||
"text-primary/90 hover:text-primary": Astro.url.pathname.startsWith(link.to),
|
||||
"text-body/80 hover:text-body": !Astro.url.pathname.startsWith(link.to)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,17 +87,17 @@ const websiteDomain = "alexcreates.fr"
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="h-screen relative bg-background text-body px-12 overflow-hidden">
|
||||
<Navbar />
|
||||
<body class="h-screen relative bg-background text-body px-3 md:px-12 overflow-hidden">
|
||||
<Navbar />
|
||||
|
||||
<slot />
|
||||
<slot />
|
||||
|
||||
<!-- {hasParticles &&
|
||||
<BgParticles />
|
||||
} -->
|
||||
<!-- {hasParticles &&
|
||||
<BgParticles />
|
||||
} -->
|
||||
|
||||
{hasGrid &&
|
||||
<BgGrid />
|
||||
}
|
||||
{hasGrid &&
|
||||
<BgGrid />
|
||||
}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -27,8 +27,16 @@ import HomeLayout from '../layouts/HomeLayout.astro';
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="mt-8 flex items-center justify-center gap-4 md:gap-8">
|
||||
<Button href="https://github.com/AlexisNP" glow variant="primary">
|
||||
<div class="mt-8 flex items-center justify-center gap-2 md:gap-4">
|
||||
<Button href="https://gitea.peacock-wyrm.ts.net/" glow variant="primary">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#FFF" viewBox="0 0 256 256" style="--darkreader-inline-fill: var(--darkreader-background-000000, #000000);" data-darkreader-inline-fill=""><path d="M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"></path></svg>
|
||||
|
||||
<span>
|
||||
Gitea
|
||||
</span>
|
||||
</Button>
|
||||
|
||||
<Button href="https://github.com/AlexisNP" variant="secondary">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#FFF" viewBox="0 0 256 256">
|
||||
<path d="M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z" />
|
||||
</svg>
|
||||
@@ -37,7 +45,9 @@ import HomeLayout from '../layouts/HomeLayout.astro';
|
||||
Github
|
||||
</span>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<div class="mt-2 flex items-center justify-center gap-2 md:gap-4">
|
||||
<Button href="mailto:contact@alexcreates.fr">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#FFF" viewBox="0 0 256 256">
|
||||
<path d="M132,24A100.11,100.11,0,0,0,32,124v84a16,16,0,0,0,16,16h84a100,100,0,0,0,0-200Zm0,184H48V124a84,84,0,1,1,84,84Zm12-80a12,12,0,1,1-12-12A12,12,0,0,1,144,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,100,128Zm88,0a12,12,0,1,1-12-12A12,12,0,0,1,188,128Z" />
|
||||
@@ -51,7 +61,7 @@ import HomeLayout from '../layouts/HomeLayout.astro';
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="absolute px-4 bottom-8 left-1/2 -translate-x-1/2 opacity-50 text-xs md:text-sm text-center">@2025 · Website is currently a WIP ; some things may change !</p>
|
||||
<p class="absolute w-full px-4 bottom-8 left-1/2 -translate-x-1/2 opacity-50 text-xs md:text-sm text-center">@2025 · Website is currently a WIP ; some things may change !</p>
|
||||
</div>
|
||||
</main>
|
||||
</HomeLayout>
|
||||
|
||||
Reference in New Issue
Block a user