"use client"; import React, { useState } from 'react'; import Luca from './luca/Luca'; import Patrick from './patrick/Patrick'; import Yasin from './yasin/Yasin'; import Home from './LandingPage'; import './App.css'; // Import main styles function MyApp() { // State to track the current view const [currentView, setCurrentView] = useState('landing'); // Function to handle navigation const handleNavigation = (view: string) => { setCurrentView(view); }; return (
{/* Header with navigation buttons */}

Welcome to the Programmer Space

{/* Conditionally render the selected component */} {currentView === 'landing' && } {currentView === 'luca' && } {currentView === 'patrick' && } {currentView === 'yasin' && }
); } export default MyApp;