Added two new pages - about and blog

This commit is contained in:
Daisuke Nakahara 2025-01-05 08:08:19 +09:00
parent 36f62d12ac
commit aeec9554ca
3 changed files with 50 additions and 0 deletions

25
src/pages/about.astro Normal file
View file

@ -0,0 +1,25 @@
---
---
<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} />
<title>Astro</title>
</head>
<body>
<a href="/">Home</a>
<a href="/about/">About</a>
<a href="/blog/">Blog</a>
<h1>About Me</h1>
<h2>... and my new Astro site!</h2>
<p>I am working through Astro's introductory tutorial. This is the second page on my website, and it's the first one I built myself!</p>
<p>This site will update as I complete more of the tutorial, so keep checking back and see how my journey is going!</p>
</body>
</html>

21
src/pages/blog.astro Normal file
View file

@ -0,0 +1,21 @@
---
---
<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} />
<title>Astro</title>
</head>
<body>
<a href="/">Home</a>
<a href="/about/">About</a>
<a href="/blog/">Blog</a>
<h1>My Astro Learning Blog</h1>
<p>This is where I will post about my journey learning Astro.</p>
</body>
</html>

View file

@ -11,6 +11,10 @@
<title>Astro</title> <title>Astro</title>
</head> </head>
<body> <body>
<a href="/">Home</a>
<a href="/about/">About</a>
<a href="/blog/">Blog</a>
<h1>My Astro Site</h1> <h1>My Astro Site</h1>
</body> </body>
</html> </html>