diff options
| author | seth <[email protected]> | 2024-05-22 22:00:02 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-05-22 20:45:24 -0600 |
| commit | 8fd8b7e53d59a034706dd7eaad6b608721ce3cdb (patch) | |
| tree | 2ce7e4a8b7eafc9d8550a54aa6d4f34d678d76f5 /src/components | |
| parent | 329bf8a3384474cfe45ecae142dfb7d97b699aa2 (diff) | |
move to zola
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Footer.astro | 3 | ||||
| -rw-r--r-- | src/components/Head.astro | 15 | ||||
| -rw-r--r-- | src/components/Nav.astro | 22 |
3 files changed, 0 insertions, 40 deletions
diff --git a/src/components/Footer.astro b/src/components/Footer.astro deleted file mode 100644 index 9a8a667..0000000 --- a/src/components/Footer.astro +++ /dev/null @@ -1,3 +0,0 @@ -<footer> - <a href="https://github.com/getchoo/website">source code</a> -</footer> diff --git a/src/components/Head.astro b/src/components/Head.astro deleted file mode 100644 index b7cabaf..0000000 --- a/src/components/Head.astro +++ /dev/null @@ -1,15 +0,0 @@ ---- -import "@fontsource-variable/noto-sans"; -import "@fontsource/noto-sans-mono"; - -import "@styles/main.css"; - -const { title, description } = Astro.props; ---- -<head> - <meta charset="UTF-8" /> - <title>{title}</title> - <meta name="viewport" content="width=device-width,initial-scale=1" /> - <meta name="description" content={description} /> - <link rel="sitemap" href="/sitemap-index.xml" /> -</head> diff --git a/src/components/Nav.astro b/src/components/Nav.astro deleted file mode 100644 index 98f47ce..0000000 --- a/src/components/Nav.astro +++ /dev/null @@ -1,22 +0,0 @@ ---- -interface NavLink { - name: string; - url: string; -} - -const links: NavLink[] = [ - { name: "home", url: "/" }, - { - name: "github", - url: "https://github.com/getchoo", - }, -]; ---- - -<nav> - <div id="nav_links"> - {links.map(({ name, url }) => <a href={url}>{name}</a>)} - </div> - - <hr /> -</nav> |
