diff options
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> |
