diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 2deba77..600fe63 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -5,6 +5,15 @@ export interface Props { const { title } = Astro.props; import "../assets/style/global.css"; +import Navbar from '../components/Navbar.astro'; + +const navbarLinks = [ + { href: "/", text: "Home" }, + { href: "/blog", text: "Blog" }, + { href: "/portafolio", text: "Portafolio" }, + { href: "/curriculum", text: "Curriculum" }, + { href: "/contact", text: "Contact" }, +] --- @@ -22,8 +31,17 @@ import "../assets/style/global.css"; +
+ +
+ + diff --git a/src/pages/404.astro b/src/pages/404.astro index 40277ec..8b2f5a9 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -1 +1,7 @@ -

not found

+--- +import Layout from '../layouts/Layout.astro'; +--- + + +

not found

+
diff --git a/src/pages/index.astro b/src/pages/index.astro index bdb70c7..941cff6 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,23 +1,9 @@ --- import Layout from '../layouts/Layout.astro'; import Card from '../components/Card.astro'; -import Navbar from '../components/Navbar.astro'; - -const navbarLinks = [ - { href: "/", text: "Home" }, - { href: "/blog", text: "Blog" }, - { href: "/portafolio", text: "Portafolio" }, - { href: "/curriculum", text: "Curriculum" }, - { href: "/contact", text: "Contact" }, -] --- -
- -
- -

Welcome to My Page :D

@@ -26,8 +12,3 @@ const navbarLinks = [

-