Update src/components/Layout.tsx

This commit is contained in:
2026-06-13 16:00:15 +00:00
parent dd5ab37f46
commit 1812b6ff32

View File

@@ -9,32 +9,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Inicio",
"href": "#"
"name": "Inicio", "href": "#"
},
{
"name": "Sobre USMA",
"href": "#about"
"name": "Sobre USMA", "href": "#about"
},
{
"name": "Carreras",
"href": "#faculties"
"name": "Carreras", "href": "#faculties"
},
{
"name": "Admisiones",
"href": "#admissions"
"name": "Admisiones", "href": "#admissions"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
}
];
@@ -44,11 +37,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="USMA"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-photo/aerial-view-residential-canals-houses_1308-189652.jpg"
ctaButton={{
text: "APLICA AHORA",
href: "#contact",
}}
text: "APLICA AHORA", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -60,17 +51,11 @@ export default function Layout() {
copyright="USMA Panamá"
socialLinks={[
{
icon: Instagram,
href: "https://instagram.com",
},
icon: "Instagram", href: "https://instagram.com"},
{
icon: Facebook,
href: "https://facebook.com",
},
icon: "Facebook", href: "https://facebook.com"},
{
icon: Film,
href: "https://youtube.com",
},
icon: "Film", href: "https://youtube.com"},
]}
/>
</SectionErrorBoundary>