turash/bugulma/frontend/pages/LandingPage.tsx
Damir Mukimov 6347f42e20
Consolidate repositories: Remove nested frontend .git and merge into main repository
- Remove nested git repository from bugulma/frontend/.git
- Add all frontend files to main repository tracking
- Convert from separate frontend/backend repos to unified monorepo
- Preserve all frontend code and development history as tracked files
- Eliminate nested repository complexity for simpler development workflow

This creates a proper monorepo structure with frontend and backend
coexisting in the same repository for easier development and deployment.
2025-11-25 06:02:57 +01:00

67 lines
2.2 KiB
TypeScript

import React from 'react';
import TopBar from '@/components/layout/TopBar.tsx';
import Hero from '@/components/landing/Hero.tsx';
import Sectors from '@/components/landing/Sectors.tsx';
import LiveActivity from '@/components/landing/LiveActivity.tsx';
import AdminPanel from '@/components/landing/AdminPanel.tsx';
import Footer from '@/components/layout/Footer.tsx';
import { useLandingPage } from '@/hooks/features/useLandingPage.ts';
import AnimatedSection from '@/components/layout/AnimatedSection.tsx';
import SymbiosisDemo from '@/components/landing/SymbiosisDemo.tsx';
import HowItWorksSection from '@/components/landing/HowItWorksSection.tsx';
import HeritageSection from '@/components/landing/HeritageSection.tsx';
const LandingPage = () => {
const {
addOrgButtonRef,
onNavigateToMap,
onAddOrganizationClick,
onViewOrganization,
onNavigateToAdmin,
organizations,
searchTerm,
setSearchTerm,
onSearchSubmit,
onNavigate,
} = useLandingPage();
return (
<div className="bg-background text-foreground">
<TopBar
showSearch
searchTerm={searchTerm}
onSearchChange={setSearchTerm}
onSearchSubmit={onSearchSubmit}
/>
<main className="scroll-smooth">
<Hero
onNavigateToMap={() => onNavigateToMap('map')}
onAddOrganizationClick={onAddOrganizationClick}
addOrgButtonRef={addOrgButtonRef}
/>
<AnimatedSection>
<Sectors onNavigateToMap={onNavigateToMap} />
</AnimatedSection>
<AnimatedSection>
<HeritageSection onNavigate={() => onNavigate('heritage')} />
</AnimatedSection>
<AnimatedSection>
<HowItWorksSection />
</AnimatedSection>
<AnimatedSection>
<LiveActivity onViewOrganization={onViewOrganization} organizations={organizations} />
</AnimatedSection>
<AnimatedSection>
<SymbiosisDemo onNavigateToMap={() => onNavigateToMap('map')} />
</AnimatedSection>
<AnimatedSection>
<AdminPanel onNavigateToAdmin={onNavigateToAdmin} />
</AnimatedSection>
</main>
<Footer onNavigate={onNavigate} />
</div>
);
};
export default LandingPage;