refactor: theme from lovable

This commit is contained in:
2026-05-01 13:45:28 -04:00
parent ace21f0467
commit 567d96cd07
316 changed files with 16572 additions and 162 deletions

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { activitiesPhotosContent } from "@/content/activities-photos";
const ActivitiesPhotos = () => <PageRenderer page={activitiesPhotosContent} />;
export default ActivitiesPhotos;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { communityContent } from "@/content/community";
const Community = () => <PageRenderer page={communityContent} />;
export default Community;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { communityPhotosContent } from "@/content/community-photos";
const CommunityPhotos = () => <PageRenderer page={communityPhotosContent} />;
export default CommunityPhotos;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { councilContent } from "@/content/council";
const Council = () => <PageRenderer page={councilContent} />;
export default Council;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { developmentPlanContent } from "@/content/development-plan";
const DevelopmentPlan = () => <PageRenderer page={developmentPlanContent} />;
export default DevelopmentPlan;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { documentsContent } from "@/content/documents";
const Documents = () => <PageRenderer page={documentsContent} />;
export default Documents;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { eventsContent } from "@/content/events";
const Events = () => <PageRenderer page={eventsContent} />;
export default Events;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { homeContent } from "@/content/home";
const Index = () => <PageRenderer page={homeContent} />;
export default Index;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { businessesContent } from "@/content/businesses";
const LocalBusinesses = () => <PageRenderer page={businessesContent} />;
export default LocalBusinesses;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { mayorContent } from "@/content/mayor";
const Mayor = () => <PageRenderer page={mayorContent} />;
export default Mayor;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { minutesContent } from "@/content/minutes";
const Minutes = () => <PageRenderer page={minutesContent} />;
export default Minutes;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { municipalityContent } from "@/content/municipality";
const Municipality = () => <PageRenderer page={municipalityContent} />;
export default Municipality;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { newslettersContent } from "@/content/newsletters";
const Newsletters = () => <PageRenderer page={newslettersContent} />;
export default Newsletters;

View File

@@ -0,0 +1,24 @@
import { useLocation } from "react-router-dom";
import { useEffect } from "react";
const NotFound = () => {
const location = useLocation();
useEffect(() => {
console.error("404 Error: User attempted to access non-existent route:", location.pathname);
}, [location.pathname]);
return (
<div className="flex min-h-screen items-center justify-center bg-muted">
<div className="text-center">
<h1 className="mb-4 text-4xl font-bold">404</h1>
<p className="mb-4 text-xl text-muted-foreground">Oops! Page not found</p>
<a href="/" className="text-primary underline hover:text-primary/90">
Return to Home
</a>
</div>
</div>
);
};
export default NotFound;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { publicNoticesContent } from "@/content/public-notices";
const PublicNotices = () => <PageRenderer page={publicNoticesContent} />;
export default PublicNotices;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { servicesContent } from "@/content/services";
const Services = () => <PageRenderer page={servicesContent} />;
export default Services;

View File

@@ -0,0 +1,6 @@
import { PageRenderer } from "@/components/PageRenderer";
import { townMapContent } from "@/content/town-map";
const TownMap = () => <PageRenderer page={townMapContent} />;
export default TownMap;