-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8cbc11
commit a7c2b08
Showing
26 changed files
with
167 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
import RssIcon from "../icons/RssIcon.astro"; | ||
import ThemeIcon from "../layout/ThemeIcon.astro"; | ||
--- | ||
|
||
<div class="buttons flex gap-2"> | ||
<RssIcon /> | ||
<ThemeIcon /> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
<svg | ||
class="feather feather-rss size-full" | ||
fill="none" | ||
height="32" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="2" | ||
viewBox="0 0 24 24" | ||
width="32" | ||
xmlns="http://www.w3.org/2000/svg" | ||
><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16" | ||
></path><circle cx="5" cy="19" r="1"></circle></svg | ||
> | ||
<a | ||
aria-label="RSS feed for Alexandre" | ||
class="flex h-9 w-9 items-center justify-center rounded-full border border-zinc-200 p-2 transition-colors duration-300 ease-in-out hover:bg-zinc-100 hover:stroke-zinc-600 dark:border-white/25 dark:hover:bg-white/20 dark:hover:stroke-white" | ||
href="/feed" | ||
target="_blank"> | ||
<svg | ||
class="feather feather-rss h-full w-full" | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="2" | ||
viewBox="0 0 24 24" | ||
xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M4 11a9 9 0 0 1 9 9"></path> | ||
<path d="M4 4a16 16 0 0 1 16 16"></path> | ||
<circle cx="5" cy="19" r="1"></circle> | ||
</svg> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,25 @@ | ||
--- | ||
import FooterItem from "@/components/layout/FooterItem.astro"; | ||
const year = new Date().getFullYear(); | ||
const footersItems = [ | ||
const footerItems = [ | ||
{ external: false, href: "/now", label: "Now" }, | ||
{ external: true, href: "/feed", label: "RSS Feed" }, | ||
{ external: false, href: "/colophon", label: "Colophon" }, | ||
{ external: false, href: "/contact", label: "Contact" }, | ||
]; | ||
--- | ||
|
||
<footer | ||
class="animate flex w-full max-w-[60rem] flex-wrap pb-6 text-sm sm:flex-nowrap sm:justify-start"> | ||
<div | ||
class="text-md relative mx-auto flex w-full items-center justify-between font-medium sm:flex sm:items-center"> | ||
<div> | ||
© {year} | ||
{`|`} | ||
Alexandre Mouriec | ||
</div> | ||
|
||
<nav> | ||
{ | ||
footersItems.map((item) => ( | ||
<FooterItem | ||
external={item.external} | ||
href={item.href} | ||
label={item.label} | ||
/> | ||
)) | ||
} | ||
</nav> | ||
</div> | ||
class="flex w-full max-w-4xl flex-wrap px-6 pb-6 text-sm sm:flex-nowrap sm:justify-start"> | ||
<nav class="mx-auto flex w-full justify-center md:justify-end"> | ||
{ | ||
footerItems.map((item) => ( | ||
<FooterItem | ||
external={item.external} | ||
href={item.href} | ||
key={item.href} | ||
label={item.label} | ||
/> | ||
)) | ||
} | ||
</nav> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,27 @@ | ||
--- | ||
import Rss from "@/components/common/Rss.astro"; | ||
import HeaderIcons from "@/components/common/HeaderIcons.astro"; | ||
import Navigation from "@/components/navigation/Navigation.astro"; | ||
import Logo from "@/images/logos/logo-512x512.png"; | ||
import { Image } from "astro:assets"; | ||
--- | ||
|
||
<header | ||
class="mb-12 flex w-full flex-wrap px-6 pb-3 text-sm sm:flex-nowrap sm:justify-start"> | ||
<header class="mb-12 w-full px-6 pb-3"> | ||
<nav | ||
aria-label="global" | ||
class="relative mx-auto flex w-full items-center justify-between sm:flex sm:items-center"> | ||
<a aria-label="Header Logo Image" class="mr-6 flex-none" href="/"> | ||
class="mx-auto flex w-full items-center justify-between sm:flex-nowrap"> | ||
<a aria-label="Header Logo" class="mr-6 flex-none" href="/"> | ||
<Image | ||
alt="Alexandre Mouriec" | ||
class="h-[32px] w-[32px] rounded-full" | ||
class="h-8 w-8 rounded-full" | ||
height="64" | ||
loading="eager" | ||
src={Logo} | ||
width="64" | ||
/> | ||
</a> | ||
<div class="flex flex-row items-center justify-center gap-x-5"> | ||
<div class="flex items-center gap-x-5"> | ||
<Navigation /> | ||
<Rss /> | ||
<HeaderIcons /> | ||
</div> | ||
</nav> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.