chore: nav
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m52s

This commit is contained in:
2025-02-07 23:52:58 +06:00
parent 00fa1c07f8
commit d9cc367fff
9 changed files with 13 additions and 19 deletions

View File

@@ -4,4 +4,4 @@
docker entrypoint is `node --watch server.js`, fastify serves `dist` as static content
[manifests/ayaume.yaml](/manifests/ayaume.yaml) has k8s manifest examples
[manifests/ayaume.yaml](./manifests/ayaume.yaml) has k8s manifest examples

View File

@@ -19,7 +19,6 @@ const { title, description, image = "/blog-placeholder-1.jpg" } = Astro.props;
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<!-- Canonical URL -->
<link rel="canonical" href={canonicalURL} />

View File

@@ -3,5 +3,5 @@ const today = new Date();
---
<footer>
&copy; {today.getFullYear()} Your name here. All rights reserved.
&copy; {today.getFullYear()}
</footer>

View File

@@ -1,15 +1,10 @@
---
import HeaderLink from "./HeaderLink.astro";
import { SITE_TITLE } from "../consts";
---
<header>
<nav>
<h2><a href="/">{SITE_TITLE}</a></h2>
<div class="internal-links">
<HeaderLink href="/">Home</HeaderLink>
<HeaderLink href="/blog">Blog</HeaderLink>
<HeaderLink href="/about">About</HeaderLink>
</div>
<nav class="main-nav">
<HeaderLink href="/">Home</HeaderLink>
<HeaderLink href="/blog">Blog</HeaderLink>
</nav>
</header>
</header>

View File

@@ -45,6 +45,6 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
</div>
</article>
</main>
<Footer />
<!-- <Footer /> -->
</body>
</html>

View File

@@ -4,7 +4,6 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>Astro Basics</title>
</head>
<body>

View File

@@ -111,6 +111,6 @@ const posts = (await getCollection("blog")).sort(
</ul>
</section>
</main>
<Footer />
<!-- <Footer /> -->
</body>
</html>

View File

@@ -16,6 +16,6 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
<h1>from ci 5</h1>
<p>foo, bar, baz, qux, quux</p>
</main>
<Footer />
<!-- <Footer /> -->
</body>
</html>

View File

@@ -48,10 +48,11 @@ header {
padding: 8px;
font-size: var(--text-size--1);
}
nav {
.main-nav {
display: flex;
align-items: baseline;
gap: 24px;
gap: 2rem;
color: #000;
h2 {
@@ -63,7 +64,7 @@ nav {
font-weight: 500;
text-decoration: none;
}
a.active {
a:hover, a.active {
text-decoration: underline !important;
}
}