This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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} />
|
||||
|
||||
@@ -3,5 +3,5 @@ const today = new Date();
|
||||
---
|
||||
|
||||
<footer>
|
||||
© {today.getFullYear()} Your name here. All rights reserved.
|
||||
© {today.getFullYear()}
|
||||
</footer>
|
||||
@@ -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>
|
||||
|
||||
@@ -45,6 +45,6 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
<Footer />
|
||||
<!-- <Footer /> -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -111,6 +111,6 @@ const posts = (await getCollection("blog")).sort(
|
||||
</ul>
|
||||
</section>
|
||||
</main>
|
||||
<Footer />
|
||||
<!-- <Footer /> -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -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>
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user