araozu.dev/src/layouts/BlogLayout.astro

57 lines
1.9 KiB
Plaintext
Raw Normal View History

2024-05-20 22:47:25 +00:00
---
const { frontmatter } = Astro.props;
---
<!doctype html>
2024-05-17 23:53:35 +00:00
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<link rel="stylesheet" href="/global.css" />
2024-05-20 22:47:25 +00:00
<link rel="stylesheet" href="/blog.css" />
<title>Blog - Fernando Araoz</title>
2024-05-17 23:53:35 +00:00
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
type="text/css"
href="https://unpkg.com/@phosphor-icons/web@2.1.1/src/regular/style.css"
/>
<script src="//unpkg.com/alpinejs" defer></script>
</head>
2024-05-20 22:47:25 +00:00
<body style="font-size: 20px;">
<div id="blog" class="container mx-auto max-w-[1000px]">
<div
class="font-etoile text-3xl text-center py-16 font-bold dark:bg-c-bg-2 text-c-on-bg my-4 rounded hover:underline hover:cursor-help"
>
Fernando Araoz: le ブログ
</div>
<div class="py-6">
{
frontmatter?.title && (
<h1 class="font-etoile text-center text-2xl py-2">
{frontmatter.title}
</h1>
)
}
{
frontmatter?.pubDate && (
<p class="text-center text-sm">
Published: {frontmatter.pubDate}
</p>
)
}
</div>
<slot />
</div>
2024-05-17 23:53:35 +00:00
</body>
</html>