shazzar00ni commited on
Commit
db6fc9e
·
verified ·
1 Parent(s): 76b8e0f

# Simple Scribbles - Waitlist & Demo Application A comprehensive waitlist system and product demo for Simple Scribbles, an intuitive, simple and minimal note-taking application for busy professionals and students. ## Features ### Landing Page - **Modern, responsive design** with gradient backgrounds and smooth animations - **Hero section** with compelling headline and call-to-action buttons - **Feature showcase** highlighting key product benefits - **Social proof section** with testimonials and user statistics - **Waitlist signup modal** with form validation - **Professional navigation** and footer ### Product Demo - **Interactive writing canvas** with real-time saving and auto-updating. - **Multiple writing tools** (pen, typography, fonts) with customizable brush sizes - **Color palette** with 20+ preset colors plus custom color picker - **Canvas controls** (clear, download/save functionality) - **Responsive toolbar** with intuitive tool selection - **Touch-friendly interface** for mobile and tablet use ### Waitlist System - **Email capture form** with validation and error handling - **Data persistence** using localStorage (easily replaceable with database) - **Duplicate email prevention** - **Thank you page** with confirmation and bonus offer - **Confetti animation** for successful signups ### Admin Dashboard - **Comprehensive analytics** showing total signups, daily/weekly metrics - **Searchable user list** with filtering and sorting options - **CSV export functionality** for data backup and email marketing - **Responsive data table** with user details and timestamps - **Real-time statistics** and visual indicators ## Technology Stack - **Frontend**: React 18 with TypeScript - **Routing**: React Router DOM - **Styling**: Tailwind CSS with custom gradients and animations - **Icons**: Lucide React - **Canvas Drawing**: Native HTML5 Canvas API - **Data Storage**: localStorage (production-ready for database integration) - **Build Tool**: Vite - **Animations**: Canvas Confetti for celebration effects ## Getting Started ### Prerequisites - Node.js 16+ and npm ### Installation 1. **Clone and install dependencies**: ```bash npm install ``` 2. **Start development server**: ```bash npm run dev ``` 3. **Build for production**: ```bash npm run build ``` ### Project Structure ``` src/ ├── components/          # Reusable UI components │   ├── Header.tsx      # Navigation header │   ├── Footer.tsx      # Site footer │   └── WaitlistForm.tsx # Modal signup form ├── pages/              # Main application pages │   ├── LandingPage.tsx # Marketing landing page │   ├── DemoPage.tsx    # Interactive drawing demo │   ├── AdminPage.tsx   # Waitlist management │   └── ThankYouPage.tsx # Post-signup confirmation ├── types/              # TypeScript type definitions ├── utils/              # Utility functions and storage └── App.tsx            # Main application router ``` ## Key Features Implementation ### Waitlist Form Validation - Real-time email format validation - Required field checking - Duplicate email prevention - User-friendly error messages - Loading states and success feedback ### Drawing and writing Canvas Features - Pressure-sensitive drawing (simulated) - Smooth line rendering with rounded caps - Multiple brush sizes (1-50px) - Color selection with both presets and custom picker - Eraser tool with destination-out blending - Canvas export as PNG images and download documents as PDF/DOCX - Responsive canvas sizing ### Admin Analytics - Real-time signup tracking - Filterable and sortable user data - Search functionality across names and emails - CSV export with formatted timestamps - Mobile-responsive data tables ### Data Management - localStorage-based persistence (easily replaceable) - JSON data structure for easy database migration - Error handling and data validation - Export functionality for marketing tools ## Database Integration Guide To integrate with a real database (recommended for production): 1. **Replace storage utilities** in `src/utils/storage.ts`:    - Replace localStorage calls with API endpoints    - Add authentication for admin functions    - Implement proper error handling 2. **Add environment variables**: ```env VITE_API_BASE_URL=your-backend-url VITE_SUPABASE_URL=your-supabase-url VITE_SUPABASE_ANON_KEY=your-key ``` 3. **Recommended database schema**: ```sql CREATE TABLE waitlist_entries (   id UUID PRIMARY KEY DEFAULT gen_random_uuid(),   name VARCHAR(255) NOT NULL,   email VARCHAR(255) UNIQUE NOT NULL,   interest VARCHAR(100) NOT NULL,   created_at TIMESTAMP DEFAULT NOW(),   updated_at TIMESTAMP DEFAULT NOW() ); ``` ## Deployment ### Netlify (Recommended) 1. Connect your GitHub repository 2. Set build command: `npm run build` 3. Set publish directory: `dist` 4. Deploy with automatic deployments on push ### Vercel ```bash npm install -g vercel vercel --prod ``` ### Traditional Hosting ```bash npm run build # Upload dist/ contents to your web server ``` ## Analytics Integration Add tracking to key user interactions: ```javascript // Example: Google Analytics 4 gtag('event', 'waitlist_signup', {   event_category: 'engagement',   event_label: formData.interest }); gtag('event', 'demo_interaction', {   event_category: 'product_demo',   event_label: 'canvas_draw' }); ``` ## Email Marketing Integration The admin panel exports CSV data compatible with: - Mailchimp - ConvertKit - SendGrid - Custom email services Export includes all necessary fields for segmentation and personalization. ## Security Considerations For production deployment: 1. **Add rate limiting** to prevent spam signups 2. **Implement CAPTCHA** for form submission 3. **Use HTTPS** for all communications 4. **Sanitize user inputs** before database storage 5. **Add admin authentication** for dashboard access 6. **Enable CORS protection** for API endpoints ## Performance Optimizations - **Code splitting** with React.lazy for pages - **Image optimization** with modern formats - **CDN integration** for static assets - **Service worker** for offline functionality - **Database indexing** on email and timestamp fields ## Customization Options ### Branding - Update colors in `tailwind.config.js` - Replace logo and icons in components - Modify gradients and animations - Update copy and messaging ### Features - Add more drawing tools (shapes, text, layers) - Implement user accounts and saved documents/notes - Add collaboration features - Include advanced brush settings This application provides a solid foundation for launching a digital product with proper user acquisition, engagement tracking, and management tools. - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +839 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Simple Scribbles New
3
- emoji: 👀
4
- colorFrom: green
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: simple-scribbles-new
3
+ emoji: 🐳
4
+ colorFrom: red
5
+ colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,839 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Simple Scribbles - Minimal Note Taking</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script>
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Inter', sans-serif;
14
+ overflow-x: hidden;
15
+ }
16
+
17
+ .gradient-bg {
18
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
19
+ }
20
+
21
+ .hero-gradient {
22
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
23
+ }
24
+
25
+ .feature-card:hover {
26
+ transform: translateY(-5px);
27
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
28
+ }
29
+
30
+ .tool-btn.active {
31
+ background-color: #4f46e5;
32
+ color: white;
33
+ }
34
+
35
+ .drawing-canvas {
36
+ touch-action: none;
37
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
38
+ }
39
+
40
+ .modal {
41
+ transition: opacity 0.3s ease, visibility 0.3s ease;
42
+ }
43
+
44
+ .modal.show {
45
+ opacity: 1;
46
+ visibility: visible;
47
+ }
48
+
49
+ .color-option {
50
+ width: 28px;
51
+ height: 28px;
52
+ cursor: pointer;
53
+ transition: transform 0.2s;
54
+ }
55
+
56
+ .color-option:hover {
57
+ transform: scale(1.1);
58
+ }
59
+
60
+ .color-option.selected {
61
+ outline: 2px solid #4f46e5;
62
+ outline-offset: 2px;
63
+ }
64
+
65
+ .confetti {
66
+ position: fixed;
67
+ width: 100%;
68
+ height: 100%;
69
+ top: 0;
70
+ left: 0;
71
+ pointer-events: none;
72
+ z-index: 1000;
73
+ }
74
+
75
+ .fade-in {
76
+ animation: fadeIn 0.5s ease-in;
77
+ }
78
+
79
+ @keyframes fadeIn {
80
+ from { opacity: 0; }
81
+ to { opacity: 1; }
82
+ }
83
+ </style>
84
+ </head>
85
+ <body class="gradient-bg min-h-screen">
86
+ <!-- Navigation -->
87
+ <nav class="bg-white shadow-sm">
88
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
89
+ <div class="flex justify-between h-16">
90
+ <div class="flex items-center">
91
+ <div class="flex-shrink-0 flex items-center">
92
+ <svg class="h-8 w-8 text-indigo-600" fill="currentColor" viewBox="0 0 20 20">
93
+ <path d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z" />
94
+ </svg>
95
+ <span class="ml-2 text-xl font-bold text-gray-900">Simple Scribbles</span>
96
+ </div>
97
+ </div>
98
+ <div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
99
+ <a href="#features" class="text-gray-700 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Features</a>
100
+ <a href="#testimonials" class="text-gray-700 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Testimonials</a>
101
+ <a href="#demo" class="text-gray-700 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Demo</a>
102
+ <button onclick="openWaitlistModal()" class="ml-8 inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
103
+ Join Waitlist
104
+ </button>
105
+ </div>
106
+ <div class="-mr-2 flex items-center md:hidden">
107
+ <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" aria-controls="mobile-menu" aria-expanded="false" id="mobile-menu-button">
108
+ <span class="sr-only">Open main menu</span>
109
+ <svg class="block h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
110
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
111
+ </svg>
112
+ <svg class="hidden h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
113
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
114
+ </svg>
115
+ </button>
116
+ </div>
117
+ </div>
118
+ </div>
119
+
120
+ <!-- Mobile menu -->
121
+ <div class="hidden md:hidden" id="mobile-menu">
122
+ <div class="pt-2 pb-3 space-y-1">
123
+ <a href="#features" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-indigo-600 hover:bg-gray-50">Features</a>
124
+ <a href="#testimonials" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-indigo-600 hover:bg-gray-50">Testimonials</a>
125
+ <a href="#demo" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-indigo-600 hover:bg-gray-50">Demo</a>
126
+ <button onclick="openWaitlistModal()" class="block w-full text-left px-3 py-2 rounded-md text-base font-medium text-indigo-600 hover:text-indigo-800 hover:bg-gray-50">
127
+ Join Waitlist
128
+ </button>
129
+ </div>
130
+ </div>
131
+ </nav>
132
+
133
+ <!-- Hero Section -->
134
+ <div class="hero-gradient text-white">
135
+ <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
136
+ <div class="text-center">
137
+ <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl">
138
+ Focus on your thoughts, not the formatting
139
+ </h1>
140
+ <p class="mt-6 max-w-lg mx-auto text-xl text-indigo-100">
141
+ Simple Scribbles is the minimalist note-taking app that helps busy professionals and students capture ideas without distraction.
142
+ </p>
143
+ <div class="mt-10 flex justify-center space-x-4">
144
+ <button onclick="openWaitlistModal()" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-indigo-700 bg-white hover:bg-indigo-50">
145
+ Join Waitlist
146
+ </button>
147
+ <a href="#demo" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-indigo-500 bg-opacity-60 hover:bg-opacity-70">
148
+ Try Demo
149
+ </a>
150
+ </div>
151
+ </div>
152
+ </div>
153
+ </div>
154
+
155
+ <!-- Features Section -->
156
+ <div id="features" class="py-12 bg-white">
157
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
158
+ <div class="lg:text-center">
159
+ <h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Features</h2>
160
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
161
+ Designed for clarity and simplicity
162
+ </p>
163
+ <p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
164
+ Everything you need to capture ideas quickly, without unnecessary complexity.
165
+ </p>
166
+ </div>
167
+
168
+ <div class="mt-10">
169
+ <div class="grid grid-cols-1 gap-10 sm:grid-cols-2 lg:grid-cols-3">
170
+ <!-- Feature 1 -->
171
+ <div class="feature-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden p-6">
172
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
173
+ <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
174
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
175
+ </svg>
176
+ </div>
177
+ <h3 class="mt-4 text-lg font-medium text-gray-900">Minimalist Interface</h3>
178
+ <p class="mt-2 text-base text-gray-500">
179
+ A clean, distraction-free workspace that keeps your focus on what matters - your thoughts.
180
+ </p>
181
+ </div>
182
+
183
+ <!-- Feature 2 -->
184
+ <div class="feature-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden p-6">
185
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
186
+ <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
187
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z" />
188
+ </svg>
189
+ </div>
190
+ <h3 class="mt-4 text-lg font-medium text-gray-900">Cloud Sync</h3>
191
+ <p class="mt-2 text-base text-gray-500">
192
+ Your notes are automatically saved and synced across all your devices, available wherever you are.
193
+ </p>
194
+ </div>
195
+
196
+ <!-- Feature 3 -->
197
+ <div class="feature-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden p-6">
198
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
199
+ <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
200
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" />
201
+ </svg>
202
+ </div>
203
+ <h3 class="mt-4 text-lg font-medium text-gray-900">Smart Organization</h3>
204
+ <p class="mt-2 text-base text-gray-500">
205
+ Automatic tagging and smart search help you find notes instantly, without manual filing.
206
+ </p>
207
+ </div>
208
+
209
+ <!-- Feature 4 -->
210
+ <div class="feature-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden p-6">
211
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
212
+ <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
213
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z" />
214
+ </svg>
215
+ </div>
216
+ <h3 class="mt-4 text-lg font-medium text-gray-900">End-to-End Encryption</h3>
217
+ <p class="mt-2 text-base text-gray-500">
218
+ Your notes are private by default, with military-grade encryption protecting your thoughts.
219
+ </p>
220
+ </div>
221
+
222
+ <!-- Feature 5 -->
223
+ <div class="feature-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden p-6">
224
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
225
+ <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
226
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01" />
227
+ </svg>
228
+ </div>
229
+ <h3 class="mt-4 text-lg font-medium text-gray-900">Flexible Formatting</h3>
230
+ <p class="mt-2 text-base text-gray-500">
231
+ Handwriting, typing, or sketching - choose the method that matches your thinking style.
232
+ </p>
233
+ </div>
234
+
235
+ <!-- Feature 6 -->
236
+ <div class="feature-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden p-6">
237
+ <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
238
+ <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
239
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2" />
240
+ </svg>
241
+ </div>
242
+ <h3 class="mt-4 text-lg font-medium text-gray-900">Export Options</h3>
243
+ <p class="mt-2 text-base text-gray-500">
244
+ Share your notes as PDFs, images, or text files with a single click.
245
+ </p>
246
+ </div>
247
+ </div>
248
+ </div>
249
+ </div>
250
+ </div>
251
+
252
+ <!-- Testimonials Section -->
253
+ <div id="testimonials" class="py-12 bg-gray-50">
254
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
255
+ <div class="lg:text-center mb-12">
256
+ <h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Testimonials</h2>
257
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
258
+ Loved by professionals and students
259
+ </p>
260
+ </div>
261
+
262
+ <div class="grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-3">
263
+ <!-- Testimonial 1 -->
264
+ <div class="bg-white p-6 rounded-lg shadow-md">
265
+ <div class="flex items-center mb-4">
266
+ <div class="h-12 w-12 rounded-full bg-indigo-100 flex items-center justify-center">
267
+ <span class="text-indigo-600 font-bold">JD</span>
268
+ </div>
269
+ <div class="ml-4">
270
+ <h4 class="text-lg font-medium text-gray-900">Jane Doe</h4>
271
+ <p class="text-gray-500">Product Manager</p>
272
+ </div>
273
+ </div>
274
+ <p class="text-gray-600 italic">
275
+ "Simple Scribbles has completely changed how I take meeting notes. The minimalist interface helps me focus on what's important without getting distracted by formatting options."
276
+ </p>
277
+ <div class="mt-4 flex text-yellow-400">
278
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
279
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
280
+ </svg>
281
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
282
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
283
+ </svg>
284
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
285
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
286
+ </svg>
287
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
288
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
289
+ </svg>
290
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
291
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
292
+ </svg>
293
+ </div>
294
+ </div>
295
+
296
+ <!-- Testimonial 2 -->
297
+ <div class="bg-white p-6 rounded-lg shadow-md">
298
+ <div class="flex items-center mb-4">
299
+ <div class="h-12 w-12 rounded-full bg-indigo-100 flex items-center justify-center">
300
+ <span class="text-indigo-600 font-bold">JS</span>
301
+ </div>
302
+ <div class="ml-4">
303
+ <h4 class="text-lg font-medium text-gray-900">John Smith</h4>
304
+ <p class="text-gray-500">Medical Student</p>
305
+ </div>
306
+ </div>
307
+ <p class="text-gray-600 italic">
308
+ "As a student, I need to take notes quickly during lectures. Simple Scribbles is perfect - I can switch between typing and handwriting seamlessly, and everything is organized automatically."
309
+ </p>
310
+ <div class="mt-4 flex text-yellow-400">
311
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
312
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
313
+ </svg>
314
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
315
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
316
+ </svg>
317
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
318
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
319
+ </svg>
320
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
321
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
322
+ </svg>
323
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
324
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
325
+ </svg>
326
+ </div>
327
+ </div>
328
+
329
+ <!-- Testimonial 3 -->
330
+ <div class="bg-white p-6 rounded-lg shadow-md">
331
+ <div class="flex items-center mb-4">
332
+ <div class="h-12 w-12 rounded-full bg-indigo-100 flex items-center justify-center">
333
+ <span class="text-indigo-600 font-bold">AD</span>
334
+ </div>
335
+ <div class="ml-4">
336
+ <h4 class="text-lg font-medium text-gray-900">Alex Doe</h4>
337
+ <p class="text-gray-500">UX Designer</p>
338
+ </div>
339
+ </div>
340
+ <p class="text-gray-600 italic">
341
+ "I've tried every note-taking app out there, but Simple Scribbles is the only one that gets out of my way and lets me think. The design is so intuitive that I never have to think about how to use it."
342
+ </p>
343
+ <div class="mt-4 flex text-yellow-400">
344
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
345
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
346
+ </svg>
347
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
348
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
349
+ </svg>
350
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
351
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
352
+ </svg>
353
+ <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
354
+ <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
355
+ </svg>
356
+ <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
357
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z" />
358
+ </svg>
359
+ </div>
360
+ </div>
361
+ </div>
362
+
363
+ <div class="mt-12 text-center">
364
+ <div class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700">
365
+ <svg class="-ml-1 mr-3 h-5 w-5" fill="currentColor" viewBox="0 0 20 20">
366
+ <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V7z" clip-rule="evenodd" />
367
+ </svg>
368
+ <span>Join 5,000+ happy users</span>
369
+ </div>
370
+ </div>
371
+ </div>
372
+ </div>
373
+
374
+ <!-- Demo Section -->
375
+ <div id="demo" class="py-12 bg-white">
376
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
377
+ <div class="lg:text-center mb-12">
378
+ <h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Interactive Demo</h2>
379
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
380
+ Try Simple Scribbles right now
381
+ </p>
382
+ <p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
383
+ Experience the simplicity of our note-taking canvas.
384
+ </p>
385
+ </div>
386
+
387
+ <div class="mt-8 bg-gray-50 rounded-lg p-6 shadow-inner">
388
+ <div class="flex flex-col md:flex-row gap-6">
389
+ <!-- Tools Panel -->
390
+ <div class="w-full md:w-48 flex-shrink-0 bg-white rounded-lg shadow p-4">
391
+ <h3 class="text-lg font-medium text-gray-900 mb-4">Tools</h3>
392
+
393
+ <div class="space-y-3">
394
+ <button id="pen-tool" class="tool-btn active w-full flex items-center justify-center px-4 py-2 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
395
+ <svg class="h-5 w-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
396
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
397
+ </svg>
398
+ Pen
399
+ </button>
400
+
401
+ <button id="text-tool" class="tool-btn w-full flex items-center justify-center px-4 py-2 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
402
+ <svg class="h-5 w-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
403
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
404
+ </svg>
405
+ Text
406
+ </button>
407
+
408
+ <button id="eraser-tool" class="tool-btn w-full flex items-center justify-center px-4 py-2 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
409
+ <svg class="h-5 w-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
410
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
411
+ </svg>
412
+ Eraser
413
+ </button>
414
+
415
+ <div class="pt-2">
416
+ <label for="brush-size" class="block text-sm font-medium text-gray-700">Brush Size</label>
417
+ <input type="range" id="brush-size" min="1" max="50" value="5" class="mt-1 w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer">
418
+ <div class="text-xs text-gray-500 text-center" id="brush-size-value">5px</div>
419
+ </div>
420
+
421
+ <div class="pt-2">
422
+ <label class="block text-sm font-medium text-gray-700">Colors</label>
423
+ <div class="grid grid-cols-5 gap-2 mt-2">
424
+ <div class="color-option selected rounded-full bg-black" data-color="#000000"></div>
425
+ <div class="color-option rounded-full bg-red-500" data-color="#ef4444"></div>
426
+ <div class="color-option rounded-full bg-blue-500" data-color="#3b82f6"></div>
427
+ <div class="color-option rounded-full bg-green-500" data-color="#10b981"></div>
428
+ <div class="color-option rounded-full bg-yellow-500" data-color="#f59e0b"></div>
429
+ <div class="color-option rounded-full bg-purple-500" data-color="#8b5cf6"></div>
430
+ <div class="color-option rounded-full bg-pink-500" data-color="#ec4899"></div>
431
+ <div class="color-option rounded-full bg-indigo-500" data-color="#6366f1"></div>
432
+ <div class="color-option rounded-full bg-gray-500" data-color="#6b7280"></div>
433
+ <div class="color-option rounded-full bg-white border border-gray-300" data-color="#ffffff"></div>
434
+ </div>
435
+ <div class="mt-2">
436
+ <input type="color" id="custom-color" value="#000000" class="w-full h-8 cursor-pointer">
437
+ </div>
438
+ </div>
439
+ </div>
440
+
441
+ <div class="mt-6 space-y-2">
442
+ <button id="clear-canvas" class="w-full flex items-center justify-center px-4 py-2 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
443
+ <svg class="h-5 w-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
444
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
445
+ </svg>
446
+ Clear Canvas
447
+ </button>
448
+
449
+ <button id="download-canvas" class="w-full flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700">
450
+ <svg class="h-5 w-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
451
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4" />
452
+ </svg>
453
+ Download
454
+ </button>
455
+ </div>
456
+ </div>
457
+
458
+ <!-- Canvas Area -->
459
+ <div class="flex-1">
460
+ <div class="bg-white rounded-lg shadow p-4">
461
+ <canvas id="drawing-canvas" class="drawing-canvas w-full h-96 bg-white border border-gray-200 rounded-md"></canvas>
462
+ </div>
463
+ <div class="mt-4 text-sm text-gray-500">
464
+ <p>Tip: Draw, write, or sketch on the canvas above. Try different tools and colors!</p>
465
+ </div>
466
+ </div>
467
+ </div>
468
+ </div>
469
+ </div>
470
+ </div>
471
+
472
+ <!-- Waitlist CTA Section -->
473
+ <div class="bg-indigo-700">
474
+ <div class="max-w-2xl mx-auto text-center py-16 px-4 sm:py-20 sm:px-6 lg:px-8">
475
+ <h2 class="text-3xl font-extrabold text-white sm:text-4xl">
476
+ <span class="block">Ready to simplify your note-taking?</span>
477
+ <span class="block">Join our waitlist today.</span>
478
+ </h2>
479
+ <p class="mt-4 text-lg leading-6 text-indigo-200">
480
+ Be the first to know when we launch and get exclusive early access offers.
481
+ </p>
482
+ <button onclick="openWaitlistModal()" class="mt-8 w-full inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-indigo-600 bg-white hover:bg-indigo-50 sm:w-auto">
483
+ Join Waitlist
484
+ </button>
485
+ </div>
486
+ </div>
487
+
488
+ <!-- Footer -->
489
+ <footer class="bg-white">
490
+ <div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8">
491
+ <nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer">
492
+ <div class="px-5 py-2">
493
+ <a href="#features" class="text-base text-gray-500 hover:text-gray-900">Features</a>
494
+ </div>
495
+ <div class="px-5 py-2">
496
+ <a href="#testimonials" class="text-base text-gray-500 hover:text-gray-900">Testimonials</a>
497
+ </div>
498
+ <div class="px-5 py-2">
499
+ <a href="#demo" class="text-base text-gray-500 hover:text-gray-900">Demo</a>
500
+ </div>
501
+ <div class="px-5 py-2">
502
+ <a href="#" class="text-base text-gray-500 hover:text-gray-900">Privacy</a>
503
+ </div>
504
+ <div class="px-5 py-2">
505
+ <a href="#" class="text-base text-gray-500 hover:text-gray-900">Terms</a>
506
+ </div>
507
+ </nav>
508
+ <div class="mt-8 flex justify-center space-x-6">
509
+ <a href="#" class="text-gray-400 hover:text-gray-500">
510
+ <span class="sr-only">Facebook</span>
511
+ <svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
512
+ <path fill-rule="evenodd" d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z" clip-rule="evenodd" />
513
+ </svg>
514
+ </a>
515
+ <a href="#" class="text-gray-400 hover:text-gray-500">
516
+ <span class="sr-only">Twitter</span>
517
+ <svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
518
+ <path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84" />
519
+ </svg>
520
+ </a>
521
+ <a href="#" class="text-gray-400 hover:text-gray-500">
522
+ <span class="sr-only">GitHub</span>
523
+ <svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
524
+ <path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd" />
525
+ </svg>
526
+ </a>
527
+ </div>
528
+ <p class="mt-8 text-center text-base text-gray-400">
529
+ &copy; 2023 Simple Scribbles. All rights reserved.
530
+ </p>
531
+ </div>
532
+ </footer>
533
+
534
+ <!-- Waitlist Modal -->
535
+ <div id="waitlist-modal" class="modal fixed z-50 inset-0 overflow-y-auto opacity-0 invisible transition-all duration-300 ease-in-out">
536
+ <div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
537
+ <div class="fixed inset-0 transition-opacity" aria-hidden="true">
538
+ <div class="absolute inset-0 bg-gray-500 opacity-75" onclick="closeWaitlistModal()"></div>
539
+ </div>
540
+
541
+ <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
542
+
543
+ <div class="inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:p-6">
544
+ <div>
545
+ <div class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-indigo-100">
546
+ <svg class="h-6 w-6 text-indigo-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
547
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207" />
548
+ </svg>
549
+ </div>
550
+ <div class="mt-3 text-center sm:mt-5">
551
+ <h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
552
+ Join the Simple Scribbles Waitlist
553
+ </h3>
554
+ <div class="mt-2">
555
+ <p class="text-sm text-gray-500">
556
+ Be the first to know when we launch and get exclusive early access offers.
557
+ </p>
558
+ </div>
559
+ </div>
560
+ </div>
561
+
562
+ <form id="waitlist-form" class="mt-5 sm:mt-6">
563
+ <div class="space-y-4">
564
+ <div>
565
+ <label for="name" class="block text-sm font-medium text-gray-700">Full Name</label>
566
+ <input type="text" name="name" id="name" required class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md">
567
+ <p id="name-error" class="mt-1 text-sm text-red-600 hidden">Please enter your name</p>
568
+ </div>
569
+
570
+ <div>
571
+ <label for="email" class="block text-sm font-medium text-gray-700">Email Address</label>
572
+ <input type="email" name="email" id="email" required class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm sm:text-sm border-gray-300 rounded-md">
573
+ <p id="email-error" class="mt-1 text-sm text-red-600 hidden">Please enter a valid email address</p>
574
+ </div>
575
+
576
+ <div>
577
+ <label for="interest" class="block text-sm font-medium text-gray-700">How do you plan to use Simple Scribbles?</label>
578
+ <select id="interest" name="interest" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md">
579
+ <option>For work</option>
580
+ <option>For school</option>
581
+ <option>Personal notes</option>
582
+ <option>Creative projects</option>
583
+ <option>Other</option>
584
+ </select>
585
+ </div>
586
+ </div>
587
+
588
+ <div class="mt-5 sm:mt-6 sm:grid sm:grid-cols-2 sm:gap-3 sm:grid-flow-row-dense">
589
+ <button type="submit" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-indigo-600 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:col-start-2 sm:text-sm">
590
+ Join Waitlist
591
+ </button>
592
+ <button type="button" onclick="closeWaitlistModal()" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:col-start-1 sm:text-sm">
593
+ Cancel
594
+ </button>
595
+ </div>
596
+ </form>
597
+ </div>
598
+ </div>
599
+ </div>
600
+
601
+ <!-- Thank You Modal -->
602
+ <div id="thankyou-modal" class="modal fixed z-50 inset-0 overflow-y-auto opacity-0 invisible transition-all duration-300 ease-in-out">
603
+ <div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
604
+ <div class="fixed inset-0 transition-opacity" aria-hidden="true">
605
+ <div class="absolute inset-0 bg-gray-500 opacity-75"></div>
606
+ </div>
607
+
608
+ <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
609
+
610
+ <div class="inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:p-6">
611
+ <div>
612
+ <div class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-green-100">
613
+ <svg class="h-6 w-6 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
614
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
615
+ </svg>
616
+ </div>
617
+ <div class="mt-3 text-center sm:mt-5">
618
+ <h3 class="text-lg leading-6 font-medium text-gray-900">
619
+ You're on the list!
620
+ </h3>
621
+ <div class="mt-2">
622
+ <p class="text-sm text-gray-500">
623
+ Thanks for joining the Simple Scribbles waitlist. We'll be in touch soon with early access details.
624
+ </p>
625
+ <p class="mt-2 text-sm text-gray-500">
626
+ As a thank you, we'll give you 3 months free when we launch.
627
+ </p>
628
+ </div>
629
+ </div>
630
+ </div>
631
+ <div class="mt-5 sm:mt-6">
632
+ <button type="button" onclick="closeThankYouModal()" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-indigo-600 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:text-sm">
633
+ Got it, thanks!
634
+ </button>
635
+ </div>
636
+ </div>
637
+ </div>
638
+ </div>
639
+
640
+ <!-- Confetti Canvas -->
641
+ <canvas id="confetti-canvas" class="confetti"></canvas>
642
+
643
+ <script>
644
+ // Mobile menu toggle
645
+ document.getElementById('mobile-menu-button').addEventListener('click', function() {
646
+ const menu = document.getElementById('mobile-menu');
647
+ const isOpen = menu.classList.contains('hidden');
648
+
649
+ // Toggle menu icon
650
+ const svgOpen = this.querySelector('svg.block');
651
+ const svgClose = this.querySelector('svg.hidden');
652
+
653
+ if (isOpen) {
654
+ menu.classList.remove('hidden');
655
+ svgOpen.classList.add('hidden');
656
+ svgClose.classList.remove('hidden');
657
+ } else {
658
+ menu.classList.add('hidden');
659
+ svgOpen.classList.remove('hidden');
660
+ svgClose.classList.add('hidden');
661
+ }
662
+ });
663
+
664
+ // Waitlist modal functions
665
+ function openWaitlistModal() {
666
+ document.getElementById('waitlist-modal').classList.remove('opacity-0', 'invisible');
667
+ document.getElementById('waitlist-modal').classList.add('opacity-100', 'visible');
668
+ document.body.classList.add('overflow-hidden');
669
+ }
670
+
671
+ function closeWaitlistModal() {
672
+ document.getElementById('waitlist-modal').classList.remove('opacity-100', 'visible');
673
+ document.getElementById('waitlist-modal').classList.add('opacity-0', 'invisible');
674
+ document.body.classList.remove('overflow-hidden');
675
+ }
676
+
677
+ function openThankYouModal() {
678
+ document.getElementById('thankyou-modal').classList.remove('opacity-0', 'invisible');
679
+ document.getElementById('thankyou-modal').classList.add('opacity-100', 'visible');
680
+ document.body.classList.add('overflow-hidden');
681
+
682
+ // Trigger confetti
683
+ triggerConfetti();
684
+ }
685
+
686
+ function closeThankYouModal() {
687
+ document.getElementById('thankyou-modal').classList.remove('opacity-100', 'visible');
688
+ document.getElementById('thankyou-modal').classList.add('opacity-0', 'invisible');
689
+ document.body.classList.remove('overflow-hidden');
690
+ }
691
+
692
+ // Waitlist form validation and submission
693
+ document.getElementById('waitlist-form').addEventListener('submit', function(e) {
694
+ e.preventDefault();
695
+
696
+ const nameInput = document.getElementById('name');
697
+ const emailInput = document.getElementById('email');
698
+ const nameError = document.getElementById('name-error');
699
+ const emailError = document.getElementById('email-error');
700
+
701
+ let isValid = true;
702
+
703
+ // Validate name
704
+ if (!nameInput.value.trim()) {
705
+ nameError.classList.remove('hidden');
706
+ isValid = false;
707
+ } else {
708
+ nameError.classList.add('hidden');
709
+ }
710
+
711
+ // Validate email
712
+ const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
713
+ if (!emailRegex.test(emailInput.value)) {
714
+ emailError.classList.remove('hidden');
715
+ isValid = false;
716
+ } else {
717
+ emailError.classList.add('hidden');
718
+ }
719
+
720
+ if (isValid) {
721
+ // Save to localStorage (simulating database)
722
+ const waitlistEntry = {
723
+ name: nameInput.value.trim(),
724
+ email: emailInput.value.trim(),
725
+ interest: document.getElementById('interest').value,
726
+ timestamp: new Date().toISOString()
727
+ };
728
+
729
+ // Get existing entries or create new array
730
+ const existingEntries = JSON.parse(localStorage.getItem('waitlistEntries') || '[]');
731
+
732
+ // Check for duplicate email
733
+ const isDuplicate = existingEntries.some(entry => entry.email === waitlistEntry.email);
734
+
735
+ if (!isDuplicate) {
736
+ existingEntries.push(waitlistEntry);
737
+ localStorage.setItem('waitlistEntries', JSON.stringify(existingEntries));
738
+
739
+ // Close waitlist modal and show thank you
740
+ closeWaitlistModal();
741
+ openThankYouModal();
742
+
743
+ // Reset form
744
+ this.reset();
745
+ } else {
746
+ emailError.textContent = 'This email is already on the waitlist';
747
+ emailError.classList.remove('hidden');
748
+ }
749
+ }
750
+ });
751
+
752
+ // Confetti animation
753
+ function triggerConfetti() {
754
+ const canvas = document.getElementById('confetti-canvas');
755
+ const myConfetti = confetti.create(canvas, {
756
+ resize: true,
757
+ useWorker: true
758
+ });
759
+
760
+ myConfetti({
761
+ particleCount: 150,
762
+ spread: 70,
763
+ origin: { y: 0.6 }
764
+ });
765
+ }
766
+
767
+ // Drawing Canvas Implementation
768
+ document.addEventListener('DOMContentLoaded', function() {
769
+ const canvas = document.getElementById('drawing-canvas');
770
+ const ctx = canvas.getContext('2d');
771
+
772
+ // Set canvas size
773
+ function resizeCanvas() {
774
+ const container = canvas.parentElement;
775
+ canvas.width = container.clientWidth;
776
+ canvas.height = container.clientHeight;
777
+
778
+ // Redraw existing content if needed
779
+ // (In a real app, you'd save and restore the drawing)
780
+ }
781
+
782
+ // Initial resize
783
+ resizeCanvas();
784
+ window.addEventListener('resize', resizeCanvas);
785
+
786
+ // Drawing state
787
+ let isDrawing = false;
788
+ let lastX = 0;
789
+ let lastY = 0;
790
+ let currentTool = 'pen';
791
+ let currentColor = '#000000';
792
+ let brushSize = 5;
793
+
794
+ // Set up drawing tools
795
+ document.getElementById('pen-tool').addEventListener('click', function() {
796
+ currentTool = 'pen';
797
+ updateToolButtons();
798
+ });
799
+
800
+ document.getElementById('text-tool').addEventListener('click', function() {
801
+ currentTool = 'text';
802
+ updateToolButtons();
803
+ });
804
+
805
+ document.getElementById('eraser-tool').addEventListener('click', function() {
806
+ currentTool = 'eraser';
807
+ updateToolButtons();
808
+ });
809
+
810
+ function updateToolButtons() {
811
+ document.querySelectorAll('.tool-btn').forEach(btn => {
812
+ btn.classList.remove('active');
813
+ });
814
+
815
+ document.getElementById(`${currentTool}-tool`).classList.add('active');
816
+ }
817
+
818
+ // Color selection
819
+ document.querySelectorAll('.color-option').forEach(option => {
820
+ option.addEventListener('click', function() {
821
+ document.querySelectorAll('.color-option').forEach(opt => {
822
+ opt.classList.remove('selected');
823
+ });
824
+
825
+ this.classList.add('selected');
826
+ currentColor = this.dataset.color;
827
+ document.getElementById('custom-color').value = currentColor;
828
+ });
829
+ });
830
+
831
+ document.getElementById('custom-color').addEventListener('input', function() {
832
+ currentColor = this.value;
833
+
834
+ // Update selected color option if it matches a preset
835
+ document.querySelectorAll('.color-option').forEach(opt => {
836
+ opt.classList.remove('selected');
837
+ if (opt.dat
838
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=shazzar00ni/simple-scribbles-new" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
839
+ </html>