This commit is contained in:
@@ -4,4 +4,4 @@
|
|||||||
|
|
||||||
docker entrypoint is `node --watch server.js`, fastify serves `dist` as static content
|
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 charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<meta name="generator" content={Astro.generator} />
|
|
||||||
|
|
||||||
<!-- Canonical URL -->
|
<!-- Canonical URL -->
|
||||||
<link rel="canonical" href={canonicalURL} />
|
<link rel="canonical" href={canonicalURL} />
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ const today = new Date();
|
|||||||
---
|
---
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
© {today.getFullYear()} Your name here. All rights reserved.
|
© {today.getFullYear()}
|
||||||
</footer>
|
</footer>
|
||||||
@@ -1,15 +1,10 @@
|
|||||||
---
|
---
|
||||||
import HeaderLink from "./HeaderLink.astro";
|
import HeaderLink from "./HeaderLink.astro";
|
||||||
import { SITE_TITLE } from "../consts";
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav class="main-nav">
|
||||||
<h2><a href="/">{SITE_TITLE}</a></h2>
|
<HeaderLink href="/">Home</HeaderLink>
|
||||||
<div class="internal-links">
|
<HeaderLink href="/blog">Blog</HeaderLink>
|
||||||
<HeaderLink href="/">Home</HeaderLink>
|
|
||||||
<HeaderLink href="/blog">Blog</HeaderLink>
|
|
||||||
<HeaderLink href="/about">About</HeaderLink>
|
|
||||||
</div>
|
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
@@ -45,6 +45,6 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
|
|||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
<Footer />
|
<!-- <Footer /> -->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<meta name="generator" content={Astro.generator} />
|
|
||||||
<title>Astro Basics</title>
|
<title>Astro Basics</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -111,6 +111,6 @@ const posts = (await getCollection("blog")).sort(
|
|||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
<Footer />
|
<!-- <Footer /> -->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
|
|||||||
<h1>from ci 5</h1>
|
<h1>from ci 5</h1>
|
||||||
<p>foo, bar, baz, qux, quux</p>
|
<p>foo, bar, baz, qux, quux</p>
|
||||||
</main>
|
</main>
|
||||||
<Footer />
|
<!-- <Footer /> -->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -48,10 +48,11 @@ header {
|
|||||||
padding: 8px;
|
padding: 8px;
|
||||||
font-size: var(--text-size--1);
|
font-size: var(--text-size--1);
|
||||||
}
|
}
|
||||||
nav {
|
|
||||||
|
.main-nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
gap: 24px;
|
gap: 2rem;
|
||||||
color: #000;
|
color: #000;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
@@ -63,7 +64,7 @@ nav {
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
a.active {
|
a:hover, a.active {
|
||||||
text-decoration: underline !important;
|
text-decoration: underline !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user