Improve project structure.
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
This commit is contained in:
16
frontend/components/Navbar/NavLogo.tsx
Normal file
16
frontend/components/Navbar/NavLogo.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
'use client';
|
||||
|
||||
interface NavLogoProps {
|
||||
onLogoClick: () => void;
|
||||
}
|
||||
|
||||
export const NavLogo = ({ onLogoClick }: NavLogoProps) => {
|
||||
return (
|
||||
<button
|
||||
onClick={onLogoClick}
|
||||
className="text-xl font-bold cursor-pointer"
|
||||
>
|
||||
<span className="text-pink-600">R</span>hein Software
|
||||
</button>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user