Compare commits

..

No commits in common. "f1a673970a98b630980383dc34abf1590dcd680e" and "fc2a5be2e7c8e7182422d744e1914c466012bc70" have entirely different histories.

7 changed files with 11 additions and 51 deletions

View file

@ -5,7 +5,6 @@ author: 'Nakahara Daisuke'
tags: ["introduction"]
---
# Hello!
Hello, my name is Daisuke.
This is my first blog post. Nice to meet you.

View file

@ -1,14 +0,0 @@
---
title: 'I Have Finally Published My Blog Website'
pubDate: 2025-05-15
author: 'Nakahara Daisuke'
tags: []
---
I have finally published my blog website.
Its infrastructure relies on AWS, and I use Microsoft Copilot to manage the hosting.
This tool is particularly useful because it allows me to inquire about the contents of tags opened in Microsoft Edge.
Thank you.

View file

@ -15,9 +15,7 @@ const { pageTitle } = Astro.props;
</head>
<body>
<Header />
<h1 class="page-title">
{pageTitle}
</h1>
<h1>{pageTitle}</h1>
<slot />
<Footer>
<script>
@ -25,9 +23,3 @@ const { pageTitle } = Astro.props;
</script>
</body>
</html>
<style>
.page-title {
font-size: 2.8rem;
}
</style>

View file

@ -12,7 +12,8 @@ const optionsForDate = {
---
<BaseLayout pageTitle={frontmatter.title}>
<p>Created on: {frontmatter.pubDate.toLocaleDateString("en-US", optionsForDate)}</p>
<p>Created on: {frontmatter.pubDate.toLocaleDateString("ja-JP", optionsForDate)}</p>
<p>Written by: {frontmatter.author}</p>
<p><em>{frontmatter.description}</em></p>
<div class="tags">
{
@ -23,9 +24,7 @@ const optionsForDate = {
))
}
</div>
<article class="markdown-content">
<slot />
</article>
</BaseLayout>
<style>
@ -46,20 +45,4 @@ const optionsForDate = {
font-size: 1.15em;
background-color: #f8fcfd;
}
.markdown-content {
font-family: sans-serif;
font-size: 1.2rem;
}
.markdown-content h1 {
font-size: 1.9rem;
}
.markdown-content h2 {
font-size: 1.75rem;
}
.markdown-content h3 {
font-size: 1.5rem;
}
</style>

View file

@ -20,10 +20,10 @@ const pageTitle = "Latest Posts";
<BlogPost
url={`/posts/${post.id}/`}
title={post.data.title}
datetime={post.data.pubDate.toLocaleDateString("en-US", {
datetime={post.data.pubDate.toLocaleDateString("ja-JP", {
year: "numeric",
month: "long",
day: "numeric",
month: "2-digit",
day: "2-digit",
})}
/>
))

View file

@ -45,10 +45,10 @@ const allPosts = await getCollection("blog");
<BlogPost
url={`/posts/${post.id}/`}
title={post.data.title}
datetime={post.data.pubDate.toLocaleDateString("en-US", {
datetime={post.data.pubDate.toLocaleDateString("ja-JP", {
year: "numeric",
month: "long",
day: "numeric",
month: "2-digit",
day: "2-digit",
})}
/>
))