Skip to content

Commit

Permalink
Added 2 new pages - about and blog
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielWElliott committed Jun 25, 2024
1 parent b462860 commit 728e962
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/pages/about.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
---

<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="/astrotutorial/">Home</a>
<a href="/astrotutorial/about/">About</a>
<a href="/astrotutorial/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 first Astro website, and it's the first page I've added myself!</p>

<p>This site will update as I complete more of the tutorial, so keep checking back to see my progress and see how my journey is going! I'm already deviating from the tutorial a little bit, since I'm using GitHub Pages to host it instead of Netlify.</p>
</body>
</html>
21 changes: 21 additions & 0 deletions src/pages/blog.astro
Original file line number Diff line number Diff line change
@@ -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="/astrotutorial/">Home</a>
<a href="/astrotutorial/about/">About</a>
<a href="/astrotutorial/blog/">Blog</a>
<h1>My Astro Learning Blog</h1>

<p>This is where I will post about my journey learning Astro.</p>
</body>
</html>
3 changes: 3 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<title>Astro</title>
</head>
<body>
<a href="/astrotutorial/">Home</a>
<a href="/astrotutorial/about/">About</a>
<a href="/astrotutorial/blog/">Blog</a>
<h1>My Astro Site</h1>
</body>
</html>

0 comments on commit 728e962

Please sign in to comment.