diff --git a/components/Footer.tsx b/components/Footer.tsx index bd696d1..4a5bb1c 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,5 +1,6 @@ import React from 'react'; import { Twitter } from 'lucide-react'; +import logo from '@/assets/images/icon.png'; interface FooterProps { onPrivacyClick?: (e: React.MouseEvent) => void; @@ -13,9 +14,9 @@ const Footer: React.FC = ({ onPrivacyClick }) => { {/* Brand Column */}
- Nemia Logo diff --git a/components/Navbar.tsx b/components/Navbar.tsx index dd0e80f..417c42f 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -1,5 +1,7 @@ import React, { useState } from 'react'; import { Menu, X } from 'lucide-react'; +import logo from '@/assets/images/icon.png'; +import WaitlistModal from './WaitlistModal'; interface NavbarProps { onLogoClick?: (e: React.MouseEvent) => void; @@ -7,62 +9,79 @@ interface NavbarProps { const Navbar: React.FC = ({ onLogoClick }) => { const [isOpen, setIsOpen] = useState(false); + const [isWaitlistOpen, setIsWaitlistOpen] = useState(false); return ( -
- {/* Mobile Menu */} - {isOpen && ( -
-
- Features - How it Works - Pricing - + {/* Desktop Nav */} +
+ Features + How it Works + Pricing + +
+ + {/* Mobile Menu Button */} +
+ +
- )} - + + {/* Mobile Menu */} + {isOpen && ( +
+
+ Features + How it Works + Pricing + +
+
+ )} + + + setIsWaitlistOpen(false)} + /> + ); }; diff --git a/components/WaitlistModal.tsx b/components/WaitlistModal.tsx new file mode 100644 index 0000000..39df8fb --- /dev/null +++ b/components/WaitlistModal.tsx @@ -0,0 +1,74 @@ +import React from 'react'; +import { X, Mail } from 'lucide-react'; + +interface WaitlistModalProps { + isOpen: boolean; + onClose: () => void; +} + +const WaitlistModal: React.FC = ({ isOpen, onClose }) => { + if (!isOpen) return null; + + return ( +
+ {/* Backdrop */} +
+ + {/* Modal Content */} +
+ + +
+
+ +
+

+ Join the Waitlist +

+

+ Be the first to experience focus-driven learning. We'll notify you when we launch! +

+
+ +
+
+ + +
+ + +
+ +

+ No credit card required. Unsubscribe at any time. +

+
+
+ ); +}; + +export default WaitlistModal; diff --git a/vite-env.d.ts b/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/vite-env.d.ts @@ -0,0 +1 @@ +///