From 73cf37d3c03e73588d2183edc2f6c941d50b826d Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sat, 13 Jun 2026 16:02:16 +0000 Subject: [PATCH] Bob AI: Added university logo to navbar --- src/components/Layout.tsx | 5 +- src/pages/HomePage.tsx | 190 +++---------------- src/pages/HomePage/sections/Admision.tsx | 28 +++ src/pages/HomePage/sections/Carreras.tsx | 29 +++ src/pages/HomePage/sections/Contacto.tsx | 21 ++ src/pages/HomePage/sections/Estadisticas.tsx | 26 +++ src/pages/HomePage/sections/Facultades.tsx | 21 ++ src/pages/HomePage/sections/Hero.tsx | 30 +++ src/pages/HomePage/sections/Noticias.tsx | 25 +++ src/pages/HomePage/sections/Testimonios.tsx | 27 +++ src/pages/HomePage/sections/Vida.tsx | 21 ++ src/pages/HomePage/sections/WhyUsma.tsx | 31 +++ 12 files changed, 290 insertions(+), 164 deletions(-) create mode 100644 src/pages/HomePage/sections/Admision.tsx create mode 100644 src/pages/HomePage/sections/Carreras.tsx create mode 100644 src/pages/HomePage/sections/Contacto.tsx create mode 100644 src/pages/HomePage/sections/Estadisticas.tsx create mode 100644 src/pages/HomePage/sections/Facultades.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Noticias.tsx create mode 100644 src/pages/HomePage/sections/Testimonios.tsx create mode 100644 src/pages/HomePage/sections/Vida.tsx create mode 100644 src/pages/HomePage/sections/WhyUsma.tsx diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 17d564d..ae578a5 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -1,5 +1,5 @@ import FooterSimpleCard from '@/components/sections/footer/FooterSimpleCard'; -import NavbarDropdown from '@/components/ui/NavbarDropdown'; +import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo'; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot"; import { Outlet } from 'react-router-dom'; @@ -41,8 +41,9 @@ export default function Layout() { - /sections/.tsx. Edit the section +// files directly. Non-block content (wrappers, non-inlinable sections) is +// preserved inline; extracted section blocks become refs. -export default function HomePage() { +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import CarrerasSection from './HomePage/sections/Carreras'; +import FacultadesSection from './HomePage/sections/Facultades'; +import WhyUsmaSection from './HomePage/sections/WhyUsma'; +import EstadisticasSection from './HomePage/sections/Estadisticas'; +import TestimoniosSection from './HomePage/sections/Testimonios'; +import VidaSection from './HomePage/sections/Vida'; +import AdmisionSection from './HomePage/sections/Admision'; +import NoticiasSection from './HomePage/sections/Noticias'; +import ContactoSection from './HomePage/sections/Contacto'; + +export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ ); } diff --git a/src/pages/HomePage/sections/Admision.tsx b/src/pages/HomePage/sections/Admision.tsx new file mode 100644 index 0000000..d4bb17b --- /dev/null +++ b/src/pages/HomePage/sections/Admision.tsx @@ -0,0 +1,28 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "admision" section. + +import React from 'react'; +import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AdmisionSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Carreras.tsx b/src/pages/HomePage/sections/Carreras.tsx new file mode 100644 index 0000000..621da3b --- /dev/null +++ b/src/pages/HomePage/sections/Carreras.tsx @@ -0,0 +1,29 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "carreras" section. + +import React from 'react'; +import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function CarrerasSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Contacto.tsx b/src/pages/HomePage/sections/Contacto.tsx new file mode 100644 index 0000000..8837715 --- /dev/null +++ b/src/pages/HomePage/sections/Contacto.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "contacto" section. + +import React from 'react'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ContactoSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Estadisticas.tsx b/src/pages/HomePage/sections/Estadisticas.tsx new file mode 100644 index 0000000..728cb01 --- /dev/null +++ b/src/pages/HomePage/sections/Estadisticas.tsx @@ -0,0 +1,26 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "estadisticas" section. + +import React from 'react'; +import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function EstadisticasSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Facultades.tsx b/src/pages/HomePage/sections/Facultades.tsx new file mode 100644 index 0000000..bf2e111 --- /dev/null +++ b/src/pages/HomePage/sections/Facultades.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "facultades" section. + +import React from 'react'; +import AboutTextSplit from '@/components/sections/about/AboutTextSplit'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FacultadesSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..34b1168 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,30 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "hero" section. + +import React from 'react'; +import HeroBillboardTiltedCarousel from '@/components/sections/hero/HeroBillboardTiltedCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Noticias.tsx b/src/pages/HomePage/sections/Noticias.tsx new file mode 100644 index 0000000..bc7067a --- /dev/null +++ b/src/pages/HomePage/sections/Noticias.tsx @@ -0,0 +1,25 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "noticias" section. + +import React from 'react'; +import BlogArticle from '@/components/sections/blog/BlogArticle'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function NoticiasSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonios.tsx b/src/pages/HomePage/sections/Testimonios.tsx new file mode 100644 index 0000000..b3615f0 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonios.tsx @@ -0,0 +1,27 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "testimonios" section. + +import React from 'react'; +import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimoniosSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Vida.tsx b/src/pages/HomePage/sections/Vida.tsx new file mode 100644 index 0000000..3047822 --- /dev/null +++ b/src/pages/HomePage/sections/Vida.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "vida" section. + +import React from 'react'; +import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function VidaSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/WhyUsma.tsx b/src/pages/HomePage/sections/WhyUsma.tsx new file mode 100644 index 0000000..650cd70 --- /dev/null +++ b/src/pages/HomePage/sections/WhyUsma.tsx @@ -0,0 +1,31 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "why-usma" section. + +import React from 'react'; +import FeaturesBento from '@/components/sections/features/FeaturesBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function WhyUsmaSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1