import { useState } from "react"; import { Button } from "../components/ui/button"; import { FiBook, FiPackage, FiGithub, FiExternalLink } from "react-icons/fi"; import "./index.css"; // Vite Logo SVG const ViteLogo = () => ( ); // React Logo SVG const ReactLogo = () => ( ); // Domo Logo SVG const DomoLogo = () => ( DOMO {/* */} ); // Tailwind Logo SVG const TailwindLogo = () => ( ); // Shadcn Logo SVG const ShadcnLogo = () => ( ); interface DocLink { title: string; url: string; description: string; Icon: React.ComponentType<{ className?: string }>; } const DefaultPage = () => { const [count, setCount] = useState(0); const docLinks: DocLink[] = [ { title: "DOMO APIs", url: "https://developer.domo.com/portal/8ba9aedad3679-ap-is", description: "Explore the API documentation", Icon: FiBook, }, { title: "Domo Starter Kit", url: "https://developer.domo.com/portal/u8w475o2245yp-starter-kits", description: "Get started quickly", Icon: FiPackage, }, { title: "GitHub Repository", url: "https://github.com/Ajay-Balu/create-dovite", description: "View source code", Icon: FiGithub, }, ]; return (
{/* Main Content Area */}
{/* Left Side - Hero Section */}
{/* Logo Container */}
+ + + +
{/* Title */}

Dovite

Vite + React + DOMO + Tailwind + Shadcn/UI

Build beautiful DOMO apps with modern web technologies

{/* Interactive Demo Section */}

Edit{" "} src/pages/index.tsx {" "} and save to test HMR

{/* Right Side - Documentation Links */}

Resources

{docLinks.map((link, index) => (
{link.title} {link.description}
))}

Click on the logos to learn more

{/* Footer */}
); }; export default DefaultPage;