diff --git a/src/app/generator/page.tsx b/src/app/generator/page.tsx
index 1394ba0..4a4b7f3 100644
--- a/src/app/generator/page.tsx
+++ b/src/app/generator/page.tsx
@@ -6,9 +6,12 @@ import ReactLenis from "lenis/react";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import Textarea from '@/components/form/Textarea';
import ContactCTA from '@/components/sections/contact/ContactCTA';
+import { useRouter } from 'next/navigation';
export default function GeneratorPage() {
const [topic, setTopic] = useState("");
+ const router = useRouter();
+ const isLoggedIn = false; // Placeholder for actual auth check
return (
Create Presentation
-
Describe the topics you want for your presentation:
-
-
alert("Generating...: " + topic) }]}
- background={{ variant: "plain" }}
- useInvertedBackground={false}
- />
+ {isLoggedIn ? (
+ <>
+ Describe the topics you want for your presentation:
+
+ alert("Generating...: " + topic) }]}
+ background={{ variant: "plain" }}
+ useInvertedBackground={false}
+ />
+ >
+ ) : (
+
+
Login Required
+
Please log in to your account to access our AI presentation generation features.
+
+
+ )}
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 384d8e9..8a0e9e8 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -15,6 +15,10 @@ import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCa
import { CheckCircle, LayoutDashboard, Users, Zap, Edit, Download, BarChart, Share2 } from "lucide-react";
export default function LandingPage() {
+ const promoCodes = [
+ "SLIDE2025-A1", "SLIDE2025-B2", "SLIDE2025-C3", "SLIDE2025-D4", "SLIDE2025-E5", "SLIDE2025-F6", "SLIDE2025-G7", "SLIDE2025-H8", "SLIDE2025-I9", "SLIDE2025-J0", "SLIDE2025-K1", "SLIDE2025-L2", "SLIDE2025-M3", "SLIDE2025-N4", "SLIDE2025-O5", "SLIDE2025-P6", "SLIDE2025-Q7", "SLIDE2025-R8", "SLIDE2025-S9", "SLIDE2025-T0"
+ ];
+
return (