// App.jsx import React, { useState } from "react"; import { motion, AnimatePresence } from "framer-motion"; // CONFIGURATION & BRANDING - edit these to customize const BRAND_COLORS = { cyan: "#00BCD4", green: "#8BC34A", lightBrown: "#D7CCC8", }; const FONT_HEADINGS = "'Playfair Display', serif"; // Greek inscription vibe const FONT_BODY = "'Poppins', sans-serif"; // Rounded sans serif, modern const LOGO_URL = "/logo-transparent.png"; // replace with your transparent logo path const CALENDLY_URL = "https://calendly.com/yourusername"; // your calendly or tidycal link // Sample data - replace with your actual content const SERVICES = [ { id: 1, icon: "🏛️", title: "Greek-Inspired Design", desc: "Elegant website and branding inspired by ancient Greece and Mediterranean vibes.", }, { id: 2, icon: "🎨", title: "Custom Illustrations", desc: "Unique, hand-crafted illustrations with classic motifs and modern flair.", }, { id: 3, icon: "💻", title: "Interactive Websites", desc: "Responsive, interactive, and engaging user experiences that are easy to navigate.", }, ]; const PACKAGES = [ { id: 1, name: "Starter", price: "$500", features: ["Basic Website", "3 Pages", "Mobile Responsive"], }, { id: 2, name: "Professional", price: "$1200", features: ["Up to 7 Pages", "Advanced Animations", "Calendly Integration"], }, { id: 3, name: "Premium", price: "$2500", features: ["Custom Design", "Blog Setup", "Full Support & Maintenance"], popular: true, }, ]; const BLOG_POSTS = [ { id: 1, title: "The Charm of Greek-Inspired Design", snippet: "Explore how ancient Greek architecture influences modern web aesthetics with simplicity and elegance.", image: "https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=600&q=60", }, { id: 2, title: "Top Interactive Website Trends 2025", snippet: "Discover what makes websites engaging and how to keep visitors hooked with subtle animations and usability.", image: "https://images.unsplash.com/photo-1529333166437-7750a6dd5a70?auto=format&fit=crop&w=600&q=60", }, { id: 3, title: "Why White Space is Your Best Friend", snippet: "Learn how using white space improves readability, focus, and the overall elegance of your website design.", image: "https://images.unsplash.com/photo-1486308510493-cb7d0a83f47b?auto=format&fit=crop&w=600&q=60", }, ]; // Utility: Smooth scroll to top on page switch const scrollToTop = () => window.scrollTo({ top: 0, behavior: "smooth" }); // NAVIGATION function NavBar({ currentPage, setCurrentPage }) { const [servicesOpen, setServicesOpen] = useState(false); return ( { setCurrentPage("home"); scrollToTop(); }} > Your Brand { setCurrentPage("home"); scrollToTop(); }} > Home setServicesOpen(true)} onMouseLeave={() => setServicesOpen(false)} > Services ▾ {servicesOpen && ( { setCurrentPage("services"); scrollToTop(); setServicesOpen(false); }} > Services Overview { setCurrentPage("packages"); scrollToTop(); setServicesOpen(false); }} > Packages & Offers )} { setCurrentPage("schedule"); scrollToTop(); }} > Schedule { setCurrentPage("blog"); scrollToTop(); }} > Blog { setCurrentPage("contact"); scrollToTop(); }} > Contact ); } // Home Page function Home() { return ( {/* Hero Section */} {/* Left Text */} Welcome to Our Website Clean, elegant, and Greek-inspired websites that combine classical beauty with modern interactivity. Book Now View Services {/* Right Hero Image / Greek Columns */} {/* Greek Columns SVG or simple illustration */} ); } // Services Page function Services() { return ( Our Services {SERVICES.map(({ id, icon, title, desc }) => ( {icon} {title} {desc} ))} ); } // Packages Page function Packages() { return ( Our Packages {PACKAGES.map(({ id, name, price, features, popular }) => ( {popular && ( Most Popular )} {name} {price} {features.map((feat, i) => ( {feat} ))} window.open(CALENDLY_URL, "_blank")} > Book Now ))} ); } // Schedule Page (Calendly iframe embed) function Schedule() { return ( Schedule an Appointment ); } // Blog Page function Blog() { return ( Blog {BLOG_POSTS.map(({ id, title, snippet, image }) => ( {title} {snippet} ))} ); } // Contact Page function Contact() { return ( Contact Us { e.preventDefault(); alert("Thank you! Your message has been sent."); e.target.reset(); }} > Name Email Message Send Message ); } // Main App Component export default function App() { const [currentPage, setCurrentPage] = useState("home"); // For accessibility, set focus on main content on page change React.useEffect(() => { const mainEl = document.querySelector("main"); if (mainEl) mainEl.focus(); }, [currentPage]); return ( <> {currentPage === "home" && } {currentPage === "services" && } {currentPage === "packages" && } {currentPage === "schedule" && } {currentPage === "blog" && } {currentPage === "contact" && } > ); }
Clean, elegant, and Greek-inspired websites that combine classical beauty with modern interactivity.
{desc}
{price}
{snippet}