Port full site: all pages, blog posts, nav/footer, assets

This commit is contained in:
Jarvis Prime
2026-03-22 20:13:49 +00:00
parent ba8d866985
commit fbe79d4523
23 changed files with 285 additions and 34 deletions

View File

@@ -6,23 +6,92 @@ const { title } = Astro.props;
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{title}</title>
<title>{title ? `${title} — dd0c.net` : 'dd0c.net'}</title>
<link rel="icon" href="/favicon.ico">
<style>
body { font-family: system-ui, sans-serif; max-width: 720px; margin: 2rem auto; padding: 0 1rem; line-height: 1.6; color: #333; }
a { color: #0f3460; }
footer { margin-top: 2rem; font-size: 0.9rem; text-align: center; }
.center { text-align: center; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.15rem; margin-top: 1.5rem; }
p { margin: 0.5rem 0; }
*, *::before, *::after { box-sizing: border-box; }
body {
font-family: system-ui, -apple-system, sans-serif;
margin: 0;
background: #f8f9fa;
color: #333;
line-height: 1.6;
}
nav {
background: #fff;
border-bottom: 2px solid #3294D2;
padding: 0 1.5rem;
display: flex;
align-items: center;
gap: 0;
}
nav .brand {
display: flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
margin-right: 1.5rem;
padding: 0.75rem 0;
}
nav .brand img {
height: 32px;
width: auto;
}
nav a {
color: #333;
text-decoration: none;
padding: 0.75rem 0.85rem;
font-size: 0.95rem;
transition: color 0.15s;
}
nav a:hover { color: #3294D2; }
nav .spacer { flex: 1; }
nav a.external { color: #3294D2; }
main {
max-width: 760px;
margin: 2rem auto;
padding: 0 1.25rem;
}
footer {
margin-top: 3rem;
padding: 1.25rem;
text-align: center;
font-size: 0.875rem;
color: #666;
border-top: 1px solid #e0e0e0;
background: #fff;
}
footer a { color: #3294D2; text-decoration: none; }
footer a:hover { text-decoration: underline; }
h1 { font-size: 1.75rem; color: #1a1a1a; }
h2 { font-size: 1.2rem; margin-top: 1.75rem; color: #1a1a1a; }
a { color: #3294D2; }
p { margin: 0.6rem 0; }
@media (max-width: 600px) {
nav { flex-wrap: wrap; padding: 0 0.75rem; }
nav .brand { margin-right: 0.5rem; }
nav a { padding: 0.6rem 0.5rem; font-size: 0.875rem; }
}
</style>
</head>
<body>
<slot />
<nav>
<a class="brand" href="/">
<img src="/images/smalllogo.png" alt="dd0c.net" />
</a>
<a href="/">Home</a>
<a href="/about">About</a>
<a href="/services">Services</a>
<div class="spacer"></div>
<a class="external" href="https://github.com/ddoc" target="_blank" rel="noopener">GitHub</a>
</nav>
<main>
<slot />
</main>
<footer>
<a href="/privacy">Privacy Policy</a> ·
<a href="/terms">Terms of Service</a> ·
Contact: <a href="mailto:bgalura@gmail.com">bgalura@gmail.com</a>
<a href="/privacy">Privacy Policy</a> &nbsp;·&nbsp;
<a href="/terms">Terms of Service</a> &nbsp;·&nbsp;
&copy; Brian Galura 2004&ndash;2026
</footer>
</body>
</html>