diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 5f341df..14c6636 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -1,6 +1,6 @@ --- interface Props { - links: { href: string, text: string }[]; + links: { href: string; text: string }[]; } const { links } = Astro.props; @@ -8,11 +8,22 @@ const { links } = Astro.props; diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 600fe63..c119f7b 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,43 +1,42 @@ --- export interface Props { - title: string; + title: string; } const { title } = Astro.props; -import "../assets/style/global.css"; +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" }, -] + { href: '/', text: 'Home' }, + { href: '/blog', text: 'Blog' }, + { href: '/portafolio', text: 'Portafolio' }, + { href: '/curriculum', text: 'Curriculum' }, + { href: '/contact', text: 'Contact' }, +]; --- -
- - - - - -