mirror of
https://github.com/10h30/jpadventure.git
synced 2026-05-12 15:21:19 +09:00
Refactor navigation: create Navigation component and update pages to use it
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
|
||||
import Navigation from "../components/Navigation.astro";
|
||||
import "../styles/global.css";
|
||||
---
|
||||
|
||||
<html lang='en'>
|
||||
@@ -11,9 +12,7 @@
|
||||
<title>About</title>
|
||||
</head>
|
||||
<body>
|
||||
<a href='/'>Home</a>
|
||||
<a href='/about/'>About</a>
|
||||
<a href='/blog/'>Blog</a>
|
||||
<Navigation />
|
||||
<h1>My Astro Learning Blog</h1>
|
||||
<p>This is where I will post about my journey learning Astro.</p>
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user