New Project Structure: - Created reusable UI components (ServiceCard, AnimatedSection, SectionTitle) - Split large components into smaller, focused ones - Extracted shared hooks for common functionality - Organized constants into separate files Key Improvements: - Hooks: useScrollNavigation, useScrollToSection, useCookieSettings - UI Components: Modular components for consistent styling and behavior - Constants: Centralized data management (ServicesData, NavigationData) - Component Split: Navbar, Hero, and Footer broken into logical sub-components
13 lines
349 B
TypeScript
13 lines
349 B
TypeScript
export interface NavLink {
|
|
id: string;
|
|
label: string;
|
|
}
|
|
|
|
export const navLinks: NavLink[] = [
|
|
{ id: 'services', label: 'Leistungen' },
|
|
{ id: 'about', label: 'Über uns' },
|
|
{ id: 'process', label: 'Ablauf' },
|
|
{ id: 'whyus', label: 'Warum wir' },
|
|
{ id: 'referral', label: 'Empfehlung' },
|
|
{ id: 'faq', label: 'FAQ' },
|
|
]; |