import React, { useState, useEffect } from 'react'; import { X, ChevronDown, ChevronUp } from 'lucide-react'; // This would normally go in your global CSS or head component // In a real implementation, you'd want to properly import these fonts using Next.js or your framework of choice // Add this to your HTML head or CSS file: // @import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Caveat:wght@400;500;600&display=swap'); const MnemosWebsite = () => { const [loading, setLoading] = useState(true); const [loadingPhase, setLoadingPhase] = useState(0); const [loggedIn, setLoggedIn] = useState(false); const [showFaq, setShowFaq] = useState(false); const [showDocs, setShowDocs] = useState(false); const [expandedFaqs, setExpandedFaqs] = useState({}); // FAQ items const faqItems = [ { question: "What is MNEMOS?", answer: "MNEMOS is a unique gaming experience on Solana where memories are preserved and reimagined in a digital landscape." }, { question: "How do I participate?", answer: "Join our community through our social channels, connect your wallet, and become part of the collective memory bank." }, { question: "When is the launch?", answer: "The official launch date will be announced soon. Stay tuned to our X account for the latest updates." }, { question: "What makes MNEMOS unique?", answer: "Our distinctive approach to memory preservation and the integration with Solana blockchain creates an experience that's not generated, not forgotten, just remembered differently." } ]; // Animated loading screen sequence useEffect(() => { if (loading) { const sequence = [ setTimeout(() => setLoadingPhase(1), 1000), setTimeout(() => setLoadingPhase(2), 2000), setTimeout(() => setLoadingPhase(3), 3000), setTimeout(() => setLoadingPhase(4), 4000), setTimeout(() => setLoading(false), 5000) ]; return () => sequence.forEach(timer => clearTimeout(timer)); } }, [loading]); const handleLogin = () => { setLoggedIn(true); }; const toggleFaq = () => { setShowFaq(!showFaq); setShowDocs(false); }; const toggleDocs = () => { setShowDocs(!showDocs); setShowFaq(false); }; const toggleFaqItem = (index) => { setExpandedFaqs(prev => ({ ...prev, [index]: !prev[index] })); }; // Pencil sketch style const pencilSketchStyle = { fontFamily: '"Permanent Marker", "Caveat", "Comic Sans MS", cursive, sans-serif', textRendering: 'geometricPrecision', WebkitFontSmoothing: 'antialiased', letterSpacing: '0.5px', fontWeight: '400', }; // Enhanced hand-drawn border style const sketchyBorder = { border: '2px solid #333', borderRadius: '2px', boxShadow: '3px 3px 0 rgba(0,0,0,0.2)', position: 'relative', transform: 'rotate(-0.2deg)', borderTopWidth: '2.5px', borderLeftWidth: '1.8px', borderRightWidth: '2.2px', borderBottomWidth: '2.3px', }; // Loading screen if (loading) { return (
{/* Animated Brain Cube Character */}
= 1 ? 'scale-100 opacity-100' : 'scale-0 opacity-0'}`}>
{loadingPhase >= 2 && (
)}
{/* Animated Text Sequence */}
{loadingPhase >= 3 && (
MNEMOS
)} {loadingPhase >= 4 && (
ON SOLANA
)}
{/* Loading Bar */}
); } // Login screen if (!loggedIn) { return (
MNEMOS
ON SOLANA
MNEMOS Character
); } // Main page return (
{/* Header with centered X and Docs buttons */}
X
{/* Tagline */}
Not generated. Not forgotten. Just remembered differently.
{/* Center FAQ button */} {/* Collapsible FAQ Section */}
{faqItems.map((item, index) => (

{item.answer}

))}
{/* Character image at bottom */} MNEMOS Character {/* FAQ Modal */} {showFaq && (

Who is MNEMOS?

MNEMOS is a unique character with a brain encased in a cube for a head. This character represents the fusion of intelligence and digital existence in the Solana blockchain ecosystem.

The character symbolizes the preservation of thoughts, memories, and ideas in the digital space, much like the mythological Mnemosyne, the Greek goddess of memory.

Join us on this journey as we explore the boundaries between consciousness and digital existence!

)} {/* Docs Modal */} {showDocs && (

Documentation

{/* Content to be added later */}

Documentation content will be provided later.

)}
); }; export default MnemosWebsite;