import React, { useState } from 'react'; import { Navigation } from './components/layout/Navigation'; import { HeroSection } from './components/sections/HeroSection'; import { ServicesSection } from './components/sections/ServicesSection'; import { TechFeaturesSection } from './components/sections/TechFeaturesSection'; import { AboutSection } from './components/sections/AboutSection'; import { Footer } from './components/layout/Footer'; import { Popup } from './components/ui/Popup'; import { ScrollToTopButton } from './components/ui/ScrollToTopButton'; import { ParallaxBackground } from './components/ui/ParallaxBackground'; import { LanguageSwitcher } from './components/ui/LanguageSwitcher'; import { useTranslation } from './hooks/useTranslation'; import type { Service } from './types/service'; const App: React.FC = () => { const { t, currentLanguage, changeLanguage, availableLanguages } = useTranslation(); const [selectedService, setSelectedService] = useState(null); const [openAccordion, setOpenAccordion] = useState(null); const toggleAccordion = (title: string) => { setOpenAccordion(openAccordion === title ? null : title); }; return (
{/* Background Effects */} {/* Main Content */}
{/* Navigation avec sélecteur de langue */} } />
{/* UI Components */} {selectedService && ( setSelectedService(null)} translations={t.common} /> )}
); }; export default App;