import { useState } from "react";
import { motion } from "framer-motion";
import { Card, CardContent } from "@/components/ui/card";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { Badge } from "@/components/ui/badge";
/* ----------------------
SIMPLE ROUTE SYSTEM (SPA)
Clean + SEO-ready structure simulation
---------------------- */
function Header({ setPage, page }) {
const navItem = (name, key) => (
setPage(key)}
className={`hover:text-white transition ${page === key ? "text-white" : "text-white/70"}`}
>
{name}
);
return (
automationteammember
{navItem("Home", "home")}
{navItem("Pricing", "pricing")}
{navItem("Blog", "blog")}
{navItem("About", "about")}
{navItem("Contact", "contact")}
);
}
function ContactPage() {
return (
Contact Us
We usually reply within 24 hours.
);
}
function PricingPage() {
const plans = [
{ name: "Free", price: "$0", features: ["1 audit per day"] },
{ name: "Pro", price: "$19", features: ["Unlimited audits", "PDF export"] },
{ name: "Agency", price: "$49", features: ["White label reports", "Client dashboard"] },
];
return (
Simple Pricing
{plans.map((p, i) => (
{p.name}
{p.price}
{p.features.map((f, j) => (
• {f}
))}
))}
);
}
function BlogPage() {
const posts = Array.from({ length: 10 }).map((_, i) => ({
title: `AI Automation Guide ${i + 1}`,
desc: "Learn automation, AI tools, and SaaS growth strategies",
}));
return (
AI Automation Blog
Clean insights for scaling with AI
{posts.map((p, i) => (
AI
{p.title}
{p.desc}
Read
))}
);
}
function AboutPage() {
return (
About Us
automationteammember is a modern AI SaaS platform that helps users audit websites,
improve SEO, and increase conversions using automation and AI insights.
);
}
function HomePage({ url, setUrl, email, setEmail, auditType, setAuditType }) {
return (
);
}
export default function App() {
const [page, setPage] = useState("home");
const [url, setUrl] = useState("");
const [email, setEmail] = useState("");
const [auditType, setAuditType] = useState("landing");
const renderPage = () => {
switch (page) {
case "pricing": return ;
case "blog": return ;
case "about": return ;
case "contact": return ;
default:
return (
);
}
};
return (
{renderPage()}
);
}