diff --git a/api/supabase/schema.ts b/api/supabase/schema.ts new file mode 100644 index 0000000..c790b56 --- /dev/null +++ b/api/supabase/schema.ts @@ -0,0 +1,18 @@ +export type Project = { + id: string; + project_name: string; + energy_category: string; + size: number; + developer: string; + longitude: number; + latitude: number; + project_statues: string; + county: string; + town: string; + region: string; + state_senate_district: number; + assembly_district: number; + project_image: string | null; + additional_information: string | null; + key_development_milestones: object | null; +}; diff --git a/app/page.tsx b/app/page.tsx index 1ae0623..2632fb1 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,6 +1,6 @@ import { CSSProperties } from 'react'; +import Map from '@/components/Map/map'; import ProjectModal from '@/components/ProjectModal'; -import Map from './components/map'; export default function Home() { return ( diff --git a/app/components/map.tsx b/components/Map/map.tsx similarity index 100% rename from app/components/map.tsx rename to components/Map/map.tsx