diff --git a/.env.example b/.env.example deleted file mode 100644 index 19336667..00000000 --- a/.env.example +++ /dev/null @@ -1,29 +0,0 @@ -# Database Connection -# Replace with your MongoDB connection string -DATABASE_URL="mongodb://localhost:27017/editron" - -# Authentication Secret -# Generate a random secret using: openssl rand -base64 32 -AUTH_SECRET="" - -# GitHub OAuth Credentials (Optional for local development) -AUTH_GITHUB_ID="" -AUTH_GITHUB_SECRET="" - -# Google OAuth Credentials (Optional for local development) -AUTH_GOOGLE_ID="" -AUTH_GOOGLE_SECRET="" - -# AI Provider API Keys (Optional fallbacks) -GEMINI_API_KEY="" -GROQ_API_KEY="" -MISTRAL_API_KEY="" - -# Collaboration Server Configuration -# If running the collab server separately, provide its URL here -# Example: NEXT_PUBLIC_COLLAB_SERVER_URL="http://localhost:3001" -NEXT_PUBLIC_COLLAB_SERVER_URL="" - -# Environment Validation -# Set to 'true' to skip validation of environment variables during build -# SKIP_ENV_VALIDATION=false diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..7a73a41b --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file diff --git a/app/(root)/page.tsx b/app/(root)/page.tsx index 2a39fe85..ff5b05b9 100644 --- a/app/(root)/page.tsx +++ b/app/(root)/page.tsx @@ -1,10 +1,25 @@ import { getPopularTemplateSummaries } from "@/lib/templates/actions"; import { HomePageClient } from "@/components/marketing/home-page-client"; +import { useState, useEffect } from "react"; +import { Button } from "@/components/ui/button"; +import { ArrowRight } from "lucide-react"; +import Link from "next/link"; +import { Features } from "@/modules/home/features"; +import { HeroCodeDemo } from "@/modules/home/hero-code"; +import dynamic from "next/dynamic"; + + +import { CommitsGrid } from "@/components/ui/commits-grid"; +import { cn } from "@/lib/utils"; +import { templates } from "@/lib/constants/templates"; +import { TemplateCard } from "@/components/marketing/template-card"; + +export default function Home() { + const [isLoading, setIsLoading] = useState(true); export default async function Home() { const popularTemplates = await getPopularTemplateSummaries(4); - // Schema Markup for AI SEO (Organization & SoftwareApplication) const schemaMarkup = { "@context": "https://schema.org", "@graph": [ @@ -24,18 +39,84 @@ export default async function Home() { { "@type": "Organization", name: "Editron", - url: "https://editron.vercel.app", // Replace with your domain once active + url: "https://editron.vercel.app", logo: "https://editron.vercel.app/logo.svg", }, ], }; + useEffect(() => { + const timer = setTimeout(() => { + setIsLoading(false); + }, 3200); + return () => clearTimeout(timer); + }, []); + return ( -
+