import React, { useState } from 'react'; import { motion, AnimatePresence } from 'motion/react'; import Navbar from './components/Navbar'; import Hero from './components/Hero'; import Features from './components/Features'; import TerminalSimulator from './components/TerminalSimulator'; import SetupGuide from './components/SetupGuide'; import KeycapGallery from './components/KeycapGallery'; import Footer from './components/Footer'; export default function App() { const [activeView, setActiveView] = useState<'home' | 'keycaps'>('home'); return (
{/* Dynamic Navigation bar */} {/* Main page content layout with view switcher transitions */}
{activeView === 'home' ? ( {/* Hero & Official Announcement Card */} {/* Core technical pillars section */} {/* Live Interactive Terminal Simulator VNI Engine */} {/* Step-by-step Linux System-Level Setup Guide */} ) : ( {/* Trang phụ: 3D Transparent Resin Keycap Customizer & Gallery */} )}
{/* Footer component with social repository links & author credits */}
); }