tanerror commited on
Commit
e6cedc0
·
verified ·
1 Parent(s): 4834697

make this application in react js and make the backend of this application too - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +816 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Jolt Ai
3
- emoji: 📉
4
- colorFrom: gray
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: jolt-ai
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: yellow
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,816 @@
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
+
2
+ // src/pages/Home.jsx
3
+ import React from 'react';
4
+ import Header from '../components/Header/Header';
5
+ import Hero from '../components/Hero/Hero';
6
+ import Features from '../components/Features/Features';
7
+ import HowItWorks from '../components/HowItWorks/HowItWorks';
8
+ import Pricing from '../components/Pricing/Pricing';
9
+ import Testimonials from '../components/Testimonials/Testimonials';
10
+ import CTA from '../components/CTA/CTA';
11
+ import Footer from '../components/Footer/Footer';
12
+
13
+ const Home = () => {
14
+ return (
15
+ <div className="home">
16
+ <Header />
17
+ <main>
18
+ <Hero />
19
+ <Features />
20
+ <HowItWorks />
21
+ <Pricing />
22
+ <Testimonials />
23
+ <CTA />
24
+ </main>
25
+ <Footer />
26
+ </div>
27
+ );
28
+ };
29
+
30
+ export default Home;
31
+
32
+
33
+ // backend/controllers/authController.js
34
+ const jwt = require('jsonwebtoken');
35
+ const User = require('../models/User');
36
+
37
+ exports.register = async (req, res) => {
38
+ try {
39
+ const { name, email, password } = req.body;
40
+
41
+ // Check if user exists
42
+ let user = await User.findOne({ email });
43
+ if (user) {
44
+ return res.status(400).json({ message: 'User already exists' });
45
+ }
46
+
47
+ // Create new user
48
+ user = new User({ name, email, password });
49
+ await user.save();
50
+
51
+ // Generate token
52
+ const token = jwt.sign(
53
+ { userId: user._id },
54
+ process.env.JWT_SECRET,
55
+ { expiresIn: '7d' }
56
+ );
57
+
58
+ res.status(201).json({ token, user: { id: user._id, name: user.name, email: user.email } });
59
+ } catch (err) {
60
+ res.status(500).json({ message: 'Server error' });
61
+ }
62
+ };
63
+
64
+ exports.login = async (req, res) => {
65
+ try {
66
+ const { email, password } = req.body;
67
+
68
+ // Check if user exists
69
+ const user = await User.findOne({ email });
70
+ if (!user) {
71
+ return res.status(400).json({ message: 'Invalid credentials' });
72
+ }
73
+
74
+ // Check password
75
+ const isMatch = await user.comparePassword(password);
76
+ if (!isMatch) {
77
+ return res.status(400).json({ message: 'Invalid credentials' });
78
+ }
79
+
80
+ // Generate token
81
+ const token = jwt.sign(
82
+ { userId: user._id },
83
+ process.env.JWT_SECRET,
84
+ { expiresIn: '7d' }
85
+ );
86
+
87
+ res.json({ token, user: { id: user._id, name: user.name, email: user.email } });
88
+ } catch (err) {
89
+ res.status(500).json({ message: 'Server error' });
90
+ }
91
+ };
92
+
93
+
94
+ // backend/models/User.js
95
+ const mongoose = require('mongoose');
96
+ const bcrypt = require('bcrypt');
97
+
98
+ const userSchema = new mongoose.Schema({
99
+ name: { type: String, required: true },
100
+ email: { type: String, required: true, unique: true },
101
+ password: { type: String, required: true },
102
+ plan: {
103
+ type: String,
104
+ enum: ['free', 'pro', 'enterprise'],
105
+ default: 'free'
106
+ },
107
+ aiTasksUsed: { type: Number, default: 0 },
108
+ lastActive: { type: Date, default: Date.now }
109
+ }, { timestamps: true });
110
+
111
+ // Password hashing middleware
112
+ userSchema.pre('save', async function(next) {
113
+ if (!this.isModified('password')) return next();
114
+ this.password = await bcrypt.hash(this.password, 10);
115
+ next();
116
+ });
117
+
118
+ // Password verification method
119
+ userSchema.methods.comparePassword = async function(candidatePassword) {
120
+ return await bcrypt.compare(candidatePassword, this.password);
121
+ };
122
+
123
+ module.exports = mongoose.model('User', userSchema);
124
+
125
+
126
+ // backend/server.js
127
+ require('dotenv').config();
128
+ const express = require('express');
129
+ const mongoose = require('mongoose');
130
+ const cors = require('cors');
131
+ const authRoutes = require('./routes/authRoutes');
132
+ const userRoutes = require('./routes/userRoutes');
133
+ const aiRoutes = require('./routes/aiRoutes');
134
+
135
+ const app = express();
136
+
137
+ // Middleware
138
+ app.use(cors());
139
+ app.use(express.json());
140
+
141
+ // Database connection
142
+ mongoose.connect(process.env.MONGO_URI)
143
+ .then(() => console.log('Connected to MongoDB'))
144
+ .catch(err => console.error('MongoDB connection error:', err));
145
+
146
+ // Routes
147
+ app.use('/api/auth', authRoutes);
148
+ app.use('/api/users', userRoutes);
149
+ app.use('/api/ai', aiRoutes);
150
+
151
+ const PORT = process.env.PORT || 5000;
152
+ app.listen(PORT, () => console.log(`Server running on port ${PORT}`));
153
+
154
+
155
+ // src/components/Header/Header.jsx
156
+ import React from 'react';
157
+ import './Header.css';
158
+ import { FaBolt, FaBars } from 'react-icons/fa';
159
+
160
+ const Header = () => {
161
+ return (
162
+ <header className="header">
163
+ <div className="container">
164
+ <div className="logo">
165
+ <div className="logo-icon">
166
+ <FaBolt />
167
+ </div>
168
+ <span>Jolt<span>AI</span></span>
169
+ </div>
170
+
171
+ <nav className="nav">
172
+ <a href="#features">Features</a>
173
+ <a href="#how-it-works">How It Works</a>
174
+ <a href="#pricing">Pricing</a>
175
+ <a href="#testimonials">Testimonials</a>
176
+ </nav>
177
+
178
+ <div className="auth-buttons">
179
+ <button className="sign-in">Sign In</button>
180
+ <button className="get-started">Get Started</button>
181
+ <button className="mobile-menu">
182
+ <FaBars />
183
+ </button>
184
+ </div>
185
+ </div>
186
+ </header>
187
+ );
188
+ };
189
+
190
+ export default Header;
191
+
192
+ <!DOCTYPE html>
193
+ <html lang="en">
194
+ <head>
195
+ <meta charset="UTF-8">
196
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
197
+ <title>JoltAI - AI-Powered Productivity</title>
198
+ <script src="https://cdn.tailwindcss.com"></script>
199
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
200
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
201
+ <script>
202
+ tailwind.config = {
203
+ theme: {
204
+ extend: {
205
+ colors: {
206
+ primary: '#6366f1',
207
+ secondary: '#8b5cf6',
208
+ dark: '#0f172a',
209
+ light: '#f8fafc'
210
+ },
211
+ fontFamily: {
212
+ sans: ['Inter', 'sans-serif']
213
+ }
214
+ }
215
+ }
216
+ }
217
+ </script>
218
+ <style>
219
+ .gradient-bg {
220
+ background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
221
+ }
222
+ .card-hover {
223
+ transition: all 0.3s ease;
224
+ }
225
+ .card-hover:hover {
226
+ transform: translateY(-5px);
227
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
228
+ }
229
+ .feature-icon {
230
+ transition: all 0.3s ease;
231
+ }
232
+ .feature-card:hover .feature-icon {
233
+ transform: scale(1.1);
234
+ }
235
+ .animate-pulse-slow {
236
+ animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
237
+ }
238
+ @keyframes pulse {
239
+ 0%, 100% { opacity: 1; }
240
+ 50% { opacity: 0.7; }
241
+ }
242
+ .glow {
243
+ box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
244
+ }
245
+ </style>
246
+ </head>
247
+ <body class="bg-light font-sans text-dark">
248
+ <!-- Header -->
249
+ <header class="sticky top-0 z-50 bg-white shadow-sm">
250
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
251
+ <div class="flex items-center">
252
+ <div class="w-10 h-10 rounded-full gradient-bg flex items-center justify-center mr-3">
253
+ <i class="fas fa-bolt text-white text-xl"></i>
254
+ </div>
255
+ <span class="text-2xl font-bold text-primary">Jolt<span class="text-secondary">AI</span></span>
256
+ </div>
257
+
258
+ <nav class="hidden md:flex space-x-8">
259
+ <a href="#features" class="font-medium hover:text-primary transition">Features</a>
260
+ <a href="#how-it-works" class="font-medium hover:text-primary transition">How It Works</a>
261
+ <a href="#pricing" class="font-medium hover:text-primary transition">Pricing</a>
262
+ <a href="#testimonials" class="font-medium hover:text-primary transition">Testimonials</a>
263
+ </nav>
264
+
265
+ <div class="flex items-center space-x-4">
266
+ <button class="hidden md:block px-4 py-2 font-medium rounded-lg hover:text-primary transition">Sign In</button>
267
+ <button class="px-5 py-2.5 bg-primary text-white font-medium rounded-lg hover:bg-indigo-700 transition transform hover:-translate-y-0.5">
268
+ Get Started
269
+ </button>
270
+ <button class="md:hidden text-2xl">
271
+ <i class="fas fa-bars"></i>
272
+ </button>
273
+ </div>
274
+ </div>
275
+ </header>
276
+
277
+ <!-- Hero Section -->
278
+ <section class="py-16 md:py-24">
279
+ <div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
280
+ <div class="md:w-1/2 mb-12 md:mb-0">
281
+ <h1 class="text-4xl md:text-5xl lg:text-6xl font-bold leading-tight mb-6">
282
+ Supercharge Your Productivity with <span class="text-primary">AI</span>
283
+ </h1>
284
+ <p class="text-lg text-gray-600 mb-8 max-w-lg">
285
+ JoltAI transforms how you work by automating repetitive tasks, generating content, and providing intelligent insights - all powered by cutting-edge artificial intelligence.
286
+ </p>
287
+ <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
288
+ <button class="px-8 py-4 bg-primary text-white font-medium rounded-lg hover:bg-indigo-700 transition transform hover:-translate-y-0.5 shadow-lg">
289
+ Start Free Trial
290
+ </button>
291
+ <button class="px-8 py-4 bg-white text-primary font-medium rounded-lg border border-primary hover:bg-indigo-50 transition">
292
+ <i class="fas fa-play-circle mr-2"></i> Watch Demo
293
+ </button>
294
+ </div>
295
+ </div>
296
+ <div class="md:w-1/2 relative">
297
+ <div class="relative">
298
+ <div class="absolute top-0 left-0 w-64 h-64 bg-purple-200 rounded-full mix-blend-multiply filter blur-xl opacity-30 animate-pulse-slow"></div>
299
+ <div class="absolute top-20 right-10 w-48 h-48 bg-indigo-200 rounded-full mix-blend-multiply filter blur-xl opacity-30 animate-pulse-slow"></div>
300
+ <div class="relative bg-white rounded-2xl shadow-xl p-6 border border-gray-100">
301
+ <div class="flex justify-between items-center mb-4">
302
+ <div class="flex space-x-2">
303
+ <div class="w-3 h-3 rounded-full bg-red-400"></div>
304
+ <div class="w-3 h-3 rounded-full bg-yellow-400"></div>
305
+ <div class="w-3 h-3 rounded-full bg-green-400"></div>
306
+ </div>
307
+ <div class="text-sm font-medium text-gray-500">JoltAI Assistant</div>
308
+ </div>
309
+
310
+ <div class="mb-4">
311
+ <div class="bg-indigo-50 rounded-lg p-4 mb-3 w-3/4">
312
+ <p class="text-gray-700">Can you help me draft a professional email to a client about delaying our project deadline?</p>
313
+ </div>
314
+ <div class="bg-white border border-gray-200 rounded-lg p-4 ml-auto w-4/5">
315
+ <p class="text-gray-700">Certainly! Here's a professional draft:</p>
316
+ <p class="mt-2 text-gray-600 italic">"Dear [Client Name], I hope this message finds you well. Due to unforeseen technical challenges, we'll need to extend the deadline for [Project Name] to [New Date]. We appreciate your understanding..."</p>
317
+ </div>
318
+ </div>
319
+
320
+ <div class="flex items-center mt-6">
321
+ <input type="text" placeholder="Ask JoltAI anything..." class="flex-1 border border-gray-300 rounded-l-lg py-3 px-4 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent">
322
+ <button class="bg-primary text-white px-5 py-3 rounded-r-lg hover:bg-indigo-700 transition">
323
+ <i class="fas fa-paper-plane"></i>
324
+ </button>
325
+ </div>
326
+ </div>
327
+ </div>
328
+ </div>
329
+ </div>
330
+ </section>
331
+
332
+ <!-- Features Section -->
333
+ <section id="features" class="py-16 bg-gray-50">
334
+ <div class="container mx-auto px-4">
335
+ <div class="text-center max-w-2xl mx-auto mb-16">
336
+ <h2 class="text-3xl md:text-4xl font-bold mb-4">Powerful Features</h2>
337
+ <p class="text-gray-600">Discover how JoltAI can transform your workflow with these advanced capabilities</p>
338
+ </div>
339
+
340
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
341
+ <!-- Feature 1 -->
342
+ <div class="feature-card bg-white rounded-2xl p-6 shadow-md card-hover">
343
+ <div class="w-16 h-16 gradient-bg rounded-xl flex items-center justify-center mb-6">
344
+ <i class="feature-icon fas fa-comment-dots text-white text-2xl"></i>
345
+ </div>
346
+ <h3 class="text-xl font-bold mb-3">Smart Content Generation</h3>
347
+ <p class="text-gray-600 mb-4">Create high-quality content in seconds - emails, reports, articles, and more with AI-powered writing assistance.</p>
348
+ <a href="#" class="text-primary font-medium flex items-center">
349
+ Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i>
350
+ </a>
351
+ </div>
352
+
353
+ <!-- Feature 2 -->
354
+ <div class="feature-card bg-white rounded-2xl p-6 shadow-md card-hover">
355
+ <div class="w-16 h-16 gradient-bg rounded-xl flex items-center justify-center mb-6">
356
+ <i class="feature-icon fas fa-robot text-white text-2xl"></i>
357
+ </div>
358
+ <h3 class="text-xl font-bold mb-3">Task Automation</h3>
359
+ <p class="text-gray-600 mb-4">Automate repetitive tasks and workflows to save hours each week and focus on what matters most.</p>
360
+ <a href="#" class="text-primary font-medium flex items-center">
361
+ Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i>
362
+ </a>
363
+ </div>
364
+
365
+ <!-- Feature 3 -->
366
+ <div class="feature-card bg-white rounded-2xl p-6 shadow-md card-hover">
367
+ <div class="w-16 h-16 gradient-bg rounded-xl flex items-center justify-center mb-6">
368
+ <i class="feature-icon fas fa-chart-line text-white text-2xl"></i>
369
+ </div>
370
+ <h3 class="text-xl font-bold mb-3">Data Insights</h3>
371
+ <p class="text-gray-600 mb-4">Transform raw data into actionable insights with AI-powered analytics and visualization tools.</p>
372
+ <a href="#" class="text-primary font-medium flex items-center">
373
+ Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i>
374
+ </a>
375
+ </div>
376
+
377
+ <!-- Feature 4 -->
378
+ <div class="feature-card bg-white rounded-2xl p-6 shadow-md card-hover">
379
+ <div class="w-16 h-16 gradient-bg rounded-xl flex items-center justify-center mb-6">
380
+ <i class="feature-icon fas fa-code text-white text-2xl"></i>
381
+ </div>
382
+ <h3 class="text-xl font-bold mb-3">Code Assistance</h3>
383
+ <p class="text-gray-600 mb-4">Generate, debug, and optimize code faster with AI-powered suggestions across multiple languages.</p>
384
+ <a href="#" class="text-primary font-medium flex items-center">
385
+ Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i>
386
+ </a>
387
+ </div>
388
+
389
+ <!-- Feature 5 -->
390
+ <div class="feature-card bg-white rounded-2xl p-6 shadow-md card-hover">
391
+ <div class="w-16 h-16 gradient-bg rounded-xl flex items-center justify-center mb-6">
392
+ <i class="feature-icon fas fa-language text-white text-2xl"></i>
393
+ </div>
394
+ <h3 class="text-xl font-bold mb-3">Multilingual Support</h3>
395
+ <p class="text-gray-600 mb-4">Work seamlessly across languages with real-time translation and localization capabilities.</p>
396
+ <a href="#" class="text-primary font-medium flex items-center">
397
+ Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i>
398
+ </a>
399
+ </div>
400
+
401
+ <!-- Feature 6 -->
402
+ <div class="feature-card bg-white rounded-2xl p-6 shadow-md card-hover">
403
+ <div class="w-16 h-16 gradient-bg rounded-xl flex items-center justify-center mb-6">
404
+ <i class="feature-icon fas fa-shield-alt text-white text-2xl"></i>
405
+ </div>
406
+ <h3 class="text-xl font-bold mb-3">Enterprise Security</h3>
407
+ <p class="text-gray-600 mb-4">Military-grade encryption and compliance standards to keep your data safe and secure.</p>
408
+ <a href="#" class="text-primary font-medium flex items-center">
409
+ Learn more <i class="fas fa-arrow-right ml-2 text-sm"></i>
410
+ </a>
411
+ </div>
412
+ </div>
413
+ </div>
414
+ </section>
415
+
416
+ <!-- How It Works -->
417
+ <section id="how-it-works" class="py-16">
418
+ <div class="container mx-auto px-4">
419
+ <div class="text-center max-w-2xl mx-auto mb-16">
420
+ <h2 class="text-3xl md:text-4xl font-bold mb-4">How JoltAI Works</h2>
421
+ <p class="text-gray-600">Integrate AI into your workflow in just three simple steps</p>
422
+ </div>
423
+
424
+ <div class="flex flex-col md:flex-row items-center justify-between">
425
+ <div class="md:w-1/3 mb-10 md:mb-0 text-center px-6">
426
+ <div class="w-24 h-24 gradient-bg rounded-full flex items-center justify-center mx-auto mb-6">
427
+ <span class="text-white text-3xl font-bold">1</span>
428
+ </div>
429
+ <h3 class="text-xl font-bold mb-3">Connect Your Tools</h3>
430
+ <p class="text-gray-600">Integrate JoltAI with your favorite apps and services in just a few clicks.</p>
431
+ </div>
432
+
433
+ <div class="md:w-1/3 mb-10 md:mb-0 text-center px-6">
434
+ <div class="w-24 h-24 gradient-bg rounded-full flex items-center justify-center mx-auto mb-6">
435
+ <span class="text-white text-3xl font-bold">2</span>
436
+ </div>
437
+ <h3 class="text-xl font-bold mb-3">Define Your Tasks</h3>
438
+ <p class="text-gray-600">Tell JoltAI what you need help with using simple commands or templates.</p>
439
+ </div>
440
+
441
+ <div class="md:w-1/3 text-center px-6">
442
+ <div class="w-24 h-24 gradient-bg rounded-full flex items-center justify-center mx-auto mb-6">
443
+ <span class="text-white text-3xl font-bold">3</span>
444
+ </div>
445
+ <h3 class="text-xl font-bold mb-3">Get AI-Powered Results</h3>
446
+ <p class="text-gray-600">Receive high-quality outputs instantly, ready to use or customize.</p>
447
+ </div>
448
+ </div>
449
+
450
+ <div class="mt-16 text-center">
451
+ <button class="px-8 py-3 bg-white text-primary font-medium rounded-lg border border-primary hover:bg-indigo-50 transition flex items-center mx-auto">
452
+ <i class="fas fa-play mr-2"></i> See Full Demo
453
+ </button>
454
+ </div>
455
+ </div>
456
+ </section>
457
+
458
+ <!-- Pricing Section -->
459
+ <section id="pricing" class="py-16 bg-gray-50">
460
+ <div class="container mx-auto px-4">
461
+ <div class="text-center max-w-2xl mx-auto mb-16">
462
+ <h2 class="text-3xl md:text-4xl font-bold mb-4">Simple, Transparent Pricing</h2>
463
+ <p class="text-gray-600">Choose the plan that works best for you or your team</p>
464
+ </div>
465
+
466
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-5xl mx-auto">
467
+ <!-- Free Tier -->
468
+ <div class="bg-white rounded-2xl shadow-md overflow-hidden card-hover">
469
+ <div class="p-6 border-b border-gray-200">
470
+ <h3 class="text-xl font-bold mb-2">Starter</h3>
471
+ <div class="mb-4">
472
+ <span class="text-3xl font-bold">Free</span>
473
+ <span class="text-gray-600">forever</span>
474
+ </div>
475
+ <p class="text-gray-600">Perfect for individuals getting started with AI</p>
476
+ </div>
477
+ <div class="p-6">
478
+ <ul class="space-y-3 mb-8">
479
+ <li class="flex items-center">
480
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
481
+ <span>100 AI tasks per month</span>
482
+ </li>
483
+ <li class="flex items-center">
484
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
485
+ <span>Basic content generation</span>
486
+ </li>
487
+ <li class="flex items-center">
488
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
489
+ <span>Email support</span>
490
+ </li>
491
+ <li class="flex items-center text-gray-400">
492
+ <i class="fas fa-times-circle mr-2"></i>
493
+ <span>Advanced features</span>
494
+ </li>
495
+ <li class="flex items-center text-gray-400">
496
+ <i class="fas fa-times-circle mr-2"></i>
497
+ <span>Team collaboration</span>
498
+ </li>
499
+ </ul>
500
+ <button class="w-full py-3 border border-primary text-primary font-medium rounded-lg hover:bg-indigo-50 transition">
501
+ Get Started
502
+ </button>
503
+ </div>
504
+ </div>
505
+
506
+ <!-- Pro Tier -->
507
+ <div class="bg-white rounded-2xl shadow-xl overflow-hidden card-hover relative border-2 border-primary">
508
+ <div class="absolute top-4 right-4 bg-primary text-white text-xs font-bold px-3 py-1 rounded-full">
509
+ MOST POPULAR
510
+ </div>
511
+ <div class="p-6 border-b border-gray-200">
512
+ <h3 class="text-xl font-bold mb-2">Professional</h3>
513
+ <div class="mb-4">
514
+ <span class="text-3xl font-bold">$29</span>
515
+ <span class="text-gray-600">/month</span>
516
+ </div>
517
+ <p class="text-gray-600">For professionals and small teams</p>
518
+ </div>
519
+ <div class="p-6">
520
+ <ul class="space-y-3 mb-8">
521
+ <li class="flex items-center">
522
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
523
+ <span>2,000 AI tasks per month</span>
524
+ </li>
525
+ <li class="flex items-center">
526
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
527
+ <span>Advanced content generation</span>
528
+ </li>
529
+ <li class="flex items-center">
530
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
531
+ <span>Priority support</span>
532
+ </li>
533
+ <li class="flex items-center">
534
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
535
+ <span>Code assistance</span>
536
+ </li>
537
+ <li class="flex items-center">
538
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
539
+ <span>Team collaboration (up to 5)</span>
540
+ </li>
541
+ </ul>
542
+ <button class="w-full py-3 bg-primary text-white font-medium rounded-lg hover:bg-indigo-700 transition">
543
+ Start Free Trial
544
+ </button>
545
+ </div>
546
+ </div>
547
+
548
+ <!-- Enterprise Tier -->
549
+ <div class="bg-white rounded-2xl shadow-md overflow-hidden card-hover">
550
+ <div class="p-6 border-b border-gray-200">
551
+ <h3 class="text-xl font-bold mb-2">Enterprise</h3>
552
+ <div class="mb-4">
553
+ <span class="text-3xl font-bold">Custom</span>
554
+ </div>
555
+ <p class="text-gray-600">For large organizations with custom needs</p>
556
+ </div>
557
+ <div class="p-6">
558
+ <ul class="space-y-3 mb-8">
559
+ <li class="flex items-center">
560
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
561
+ <span>Unlimited AI tasks</span>
562
+ </li>
563
+ <li class="flex items-center">
564
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
565
+ <span>All advanced features</span>
566
+ </li>
567
+ <li class="flex items-center">
568
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
569
+ <span>Dedicated support</span>
570
+ </li>
571
+ <li class="flex items-center">
572
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
573
+ <span>Custom integrations</span>
574
+ </li>
575
+ <li class="flex items-center">
576
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
577
+ <span>Unlimited team members</span>
578
+ </li>
579
+ </ul>
580
+ <button class="w-full py-3 border border-primary text-primary font-medium rounded-lg hover:bg-indigo-50 transition">
581
+ Contact Sales
582
+ </button>
583
+ </div>
584
+ </div>
585
+ </div>
586
+ </div>
587
+ </section>
588
+
589
+ <!-- Testimonials -->
590
+ <section id="testimonials" class="py-16">
591
+ <div class="container mx-auto px-4">
592
+ <div class="text-center max-w-2xl mx-auto mb-16">
593
+ <h2 class="text-3xl md:text-4xl font-bold mb-4">Trusted by Thousands</h2>
594
+ <p class="text-gray-600">Hear what our users say about their experience with JoltAI</p>
595
+ </div>
596
+
597
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-8 max-w-5xl mx-auto">
598
+ <!-- Testimonial 1 -->
599
+ <div class="bg-white rounded-2xl p-6 shadow-md">
600
+ <div class="flex items-center mb-4">
601
+ <div class="w-12 h-12 rounded-full bg-gray-200 flex items-center justify-center mr-4">
602
+ <span class="text-lg font-bold">SJ</span>
603
+ </div>
604
+ <div>
605
+ <h4 class="font-bold">Sarah Johnson</h4>
606
+ <p class="text-gray-600 text-sm">Marketing Director</p>
607
+ </div>
608
+ </div>
609
+ <p class="text-gray-700 mb-4">
610
+ "JoltAI has transformed how our marketing team works. We're producing twice as much content in half the time, and the quality is exceptional."
611
+ </p>
612
+ <div class="flex text-yellow-400">
613
+ <i class="fas fa-star"></i>
614
+ <i class="fas fa-star"></i>
615
+ <i class="fas fa-star"></i>
616
+ <i class="fas fa-star"></i>
617
+ <i class="fas fa-star"></i>
618
+ </div>
619
+ </div>
620
+
621
+ <!-- Testimonial 2 -->
622
+ <div class="bg-white rounded-2xl p-6 shadow-md">
623
+ <div class="flex items-center mb-4">
624
+ <div class="w-12 h-12 rounded-full bg-gray-200 flex items-center justify-center mr-4">
625
+ <span class="text-lg font-bold">DR</span>
626
+ </div>
627
+ <div>
628
+ <h4 class="font-bold">David Rodriguez</h4>
629
+ <p class="text-gray-600 text-sm">Software Engineer</p>
630
+ </div>
631
+ </div>
632
+ <p class="text-gray-700 mb-4">
633
+ "The code assistance feature is a game-changer. It helps me debug faster and suggests optimizations I wouldn't have thought of."
634
+ </p>
635
+ <div class="flex text-yellow-400">
636
+ <i class="fas fa-star"></i>
637
+ <i class="fas fa-star"></i>
638
+ <i class="fas fa-star"></i>
639
+ <i class="fas fa-star"></i>
640
+ <i class="fas fa-star"></i>
641
+ </div>
642
+ </div>
643
+
644
+ <!-- Testimonial 3 -->
645
+ <div class="bg-white rounded-2xl p-6 shadow-md">
646
+ <div class="flex items-center mb-4">
647
+ <div class="w-12 h-12 rounded-full bg-gray-200 flex items-center justify-center mr-4">
648
+ <span class="text-lg font-bold">MC</span>
649
+ </div>
650
+ <div>
651
+ <h4 class="font-bold">Maya Chen</h4>
652
+ <p class="text-gray-600 text-sm">Startup Founder</p>
653
+ </div>
654
+ </div>
655
+ <p class="text-gray-700 mb-4">
656
+ "As a solo founder, JoltAI feels like having an extra team member. It handles everything from investor emails to data analysis."
657
+ </p>
658
+ <div class="flex text-yellow-400">
659
+ <i class="fas fa-star"></i>
660
+ <i class="fas fa-star"></i>
661
+ <i class="fas fa-star"></i>
662
+ <i class="fas fa-star"></i>
663
+ <i class="fas fa-star"></i>
664
+ </div>
665
+ </div>
666
+
667
+ <!-- Testimonial 4 -->
668
+ <div class="bg-white rounded-2xl p-6 shadow-md">
669
+ <div class="flex items-center mb-4">
670
+ <div class="w-12 h-12 rounded-full bg-gray-200 flex items-center justify-center mr-4">
671
+ <span class="text-lg font-bold">TK</span>
672
+ </div>
673
+ <div>
674
+ <h4 class="font-bold">Thomas Kim</h4>
675
+ <p class="text-gray-600 text-sm">Product Manager</p>
676
+ </div>
677
+ </div>
678
+ <p class="text-gray-700 mb-4">
679
+ "The automation features have saved our team at least 10 hours per week. The ROI is incredible for such an affordable tool."
680
+ </p>
681
+ <div class="flex text-yellow-400">
682
+ <i class="fas fa-star"></i>
683
+ <i class="fas fa-star"></i>
684
+ <i class="fas fa-star"></i>
685
+ <i class="fas fa-star"></i>
686
+ <i class="fas fa-star"></i>
687
+ </div>
688
+ </div>
689
+ </div>
690
+ </div>
691
+ </section>
692
+
693
+ <!-- CTA Section -->
694
+ <section class="py-16 gradient-bg">
695
+ <div class="container mx-auto px-4 text-center">
696
+ <h2 class="text-3xl md:text-4xl font-bold text-white mb-6">Ready to Transform Your Workflow?</h2>
697
+ <p class="text-indigo-100 max-w-2xl mx-auto mb-10">
698
+ Join thousands of professionals and teams who are already boosting their productivity with JoltAI
699
+ </p>
700
+ <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
701
+ <button class="px-8 py-4 bg-white text-primary font-bold rounded-lg hover:bg-gray-100 transition shadow-lg">
702
+ Start Free Trial
703
+ </button>
704
+ <button class="px-8 py-4 bg-transparent border-2 border-white text-white font-bold rounded-lg hover:bg-white hover:text-primary transition">
705
+ Schedule a Demo
706
+ </button>
707
+ </div>
708
+ </div>
709
+ </section>
710
+
711
+ <!-- Footer -->
712
+ <footer class="bg-dark text-white py-12">
713
+ <div class="container mx-auto px-4">
714
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
715
+ <div>
716
+ <div class="flex items-center mb-6">
717
+ <div class="w-10 h-10 rounded-full gradient-bg flex items-center justify-center mr-3">
718
+ <i class="fas fa-bolt text-white text-xl"></i>
719
+ </div>
720
+ <span class="text-2xl font-bold text-white">Jolt<span class="text-secondary">AI</span></span>
721
+ </div>
722
+ <p class="text-gray-400 mb-6">
723
+ The AI-powered productivity platform that helps you work smarter, not harder.
724
+ </p>
725
+ <div class="flex space-x-4">
726
+ <a href="#" class="text-gray-400 hover:text-white transition">
727
+ <i class="fab fa-twitter"></i>
728
+ </a>
729
+ <a href="#" class="text-gray-400 hover:text-white transition">
730
+ <i class="fab fa-linkedin"></i>
731
+ </a>
732
+ <a href="#" class="text-gray-400 hover:text-white transition">
733
+ <i class="fab fa-facebook"></i>
734
+ </a>
735
+ <a href="#" class="text-gray-400 hover:text-white transition">
736
+ <i class="fab fa-github"></i>
737
+ </a>
738
+ </div>
739
+ </div>
740
+
741
+ <div>
742
+ <h4 class="text-lg font-bold mb-6">Product</h4>
743
+ <ul class="space-y-3">
744
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Features</a></li>
745
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Solutions</a></li>
746
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Pricing</a></li>
747
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Demo</a></li>
748
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Roadmap</a></li>
749
+ </ul>
750
+ </div>
751
+
752
+ <div>
753
+ <h4 class="text-lg font-bold mb-6">Resources</h4>
754
+ <ul class="space-y-3">
755
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Documentation</a></li>
756
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
757
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Tutorials</a></li>
758
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Support</a></li>
759
+ <li><a href="#" class="text-gray-400 hover:text-white transition">API</a></li>
760
+ </ul>
761
+ </div>
762
+
763
+ <div>
764
+ <h4 class="text-lg font-bold mb-6">Company</h4>
765
+ <ul class="space-y-3">
766
+ <li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
767
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
768
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
769
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Partners</a></li>
770
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Legal</a></li>
771
+ </ul>
772
+ </div>
773
+ </div>
774
+
775
+ <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500">
776
+ <p>&copy; 2023 JoltAI. All rights reserved.</p>
777
+ </div>
778
+ </div>
779
+ </footer>
780
+
781
+ <script>
782
+ // Simple animation for demo purposes
783
+ document.addEventListener('DOMContentLoaded', function() {
784
+ // Add animation to hero section
785
+ const heroHeading = document.querySelector('h1');
786
+ heroHeading.classList.add('opacity-0');
787
+
788
+ setTimeout(() => {
789
+ heroHeading.classList.remove('opacity-0');
790
+ heroHeading.classList.add('transition-opacity', 'duration-1000', 'opacity-100');
791
+ }, 100);
792
+
793
+ // Add hover effect to cards
794
+ const cards = document.querySelectorAll('.card-hover');
795
+ cards.forEach(card => {
796
+ card.addEventListener('mouseenter', () => {
797
+ card.classList.add('glow');
798
+ });
799
+ card.addEventListener('mouseleave', () => {
800
+ card.classList.remove('glow');
801
+ });
802
+ });
803
+
804
+ // Smooth scrolling for anchor links
805
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
806
+ anchor.addEventListener('click', function (e) {
807
+ e.preventDefault();
808
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
809
+ behavior: 'smooth'
810
+ });
811
+ });
812
+ });
813
+ });
814
+ </script>
815
+ <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=tanerror/jolt-ai" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
816
+ </html>