Update styles and layout for improved responsiveness and consistency:
- **Global fonts**: Adjusted `font-family` fallback to include `serif`. - **Header improvements**: Refined structure with flexbox, adjusted heights, and fixed responsive issues (e.g., removed hardcoded margins). - **New Layout styles**: Added scoped `Layout.css` for better layout control and modularity. - **Links fix**: Corrected casing in `About` and `Contact` links for proper navigation.
This commit is contained in:
@ -35,8 +35,8 @@ import "../../styles/components/Header.css"
|
||||
|
||||
</div>
|
||||
|
||||
<a href="/about">About</a>
|
||||
<a href="/contact">Contact</a>
|
||||
<a href="/About">About</a>
|
||||
<a href="/Contact">Contact</a>
|
||||
|
||||
</nav>
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
// src/components/Layout.astro
|
||||
import Header from "./Header.astro";
|
||||
import Footer from "./Footer.astro";
|
||||
import "../../styles/components/Layout.css"
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
|
||||
Reference in New Issue
Block a user