"use client"; import React, { useState } from 'react'; import Luca from './Luca'; import Patrick from './Patrick'; import Yasin from './Yasin'; 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' &&

Welcome to our site! Choose a programmer's space above.

} {currentView === 'luca' && } {currentView === 'patrick' && } {currentView === 'yasin' && }
); } export default MyApp;