smartexpensetracker / index.html
harsh-77's picture
it does not make dark at all it is light theme only - Initial Deployment
fa88502 verified
Raw
History Blame Contribute Delete
23.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Smart Expense Tracker | AI-Powered Finance</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com?plugins=forms,typography,aspect-ratio"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<style>
.hero-gradient {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.dark .hero-gradient {
background: linear-gradient(135deg, #4c51bf 0%, #5b21b6 100%);
}
.dark body {
@apply bg-gray-900 text-gray-100;
}
.dark .bg-white {
@apply bg-gray-800;
}
.dark .text-gray-800 {
@apply text-gray-200;
}
.dark .text-gray-600 {
@apply text-gray-400;
}
.dark .bg-gray-50 {
@apply bg-gray-800;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.dashboard-preview {
border-radius: 16px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
</style>
</head>
<body class="font-sans antialiased text-gray-800">
<!-- Navigation -->
<nav class="bg-white shadow-sm fixed w-full z-10">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<i data-feather="dollar-sign" class="text-indigo-600 mr-2"></i>
<span class="text-xl font-bold text-indigo-600">SmartExpense</span>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#features" class="text-gray-700 hover:text-indigo-600 transition">Features</a>
<a href="#how-it-works" class="text-gray-700 hover:text-indigo-600 transition">How It Works</a>
<a href="#testimonials" class="text-gray-700 hover:text-indigo-600 transition">Testimonials</a>
<button id="theme-toggle" class="p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700 transition">
<i data-feather="moon" class="hidden dark:block"></i>
<i data-feather="sun" class="dark:hidden"></i>
</button>
<button class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition">
Get Started
</button>
</div>
<button class="md:hidden">
<i data-feather="menu"></i>
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="hero" class="hero-gradient pt-24 pb-20 md:pt-32 md:pb-28">
<div id="vanta-globe" class="absolute inset-0"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="lg:grid lg:grid-cols-2 lg:gap-12 items-center">
<div class="text-center lg:text-left" data-aos="fade-right">
<h1 class="text-4xl md:text-5xl font-bold text-white mb-6">
Smarter Spending with AI Insights
</h1>
<p class="text-xl text-indigo-100 mb-8 max-w-lg mx-auto lg:mx-0">
The intelligent expense tracker that learns your habits and helps you save effortlessly.
</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center lg:justify-start">
<button class="bg-white text-indigo-600 px-6 py-3 rounded-lg font-medium hover:bg-gray-100 transition">
Try for Free
</button>
<button class="bg-transparent border-2 border-white text-white px-6 py-3 rounded-lg font-medium hover:bg-white hover:text-indigo-600 transition">
See Demo
</button>
</div>
</div>
<div class="mt-12 lg:mt-0" data-aos="fade-left">
<img src="http://static.photos/finance/1024x576/42" alt="Dashboard Preview" class="dashboard-preview w-full">
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="py-20 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16" data-aos="fade-up">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Powerful Features</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">
Our AI-powered platform helps you take control of your finances with smart automation.
</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="bg-white p-8 rounded-xl feature-card transition duration-300" data-aos="fade-up" data-aos-delay="100">
<div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
<i data-feather="cpu" class="text-indigo-600 w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">AI Auto-Categorization</h3>
<p class="text-gray-600">
Our machine learning engine automatically categorizes your expenses with 95% accuracy, learning from your patterns.
</p>
</div>
<!-- Feature 2 -->
<div class="bg-white p-8 rounded-xl feature-card transition duration-300" data-aos="fade-up" data-aos-delay="200">
<div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
<i data-feather="trending-up" class="text-indigo-600 w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Smart Insights</h3>
<p class="text-gray-600">
Get personalized recommendations to optimize your spending and increase savings based on your financial behavior.
</p>
</div>
<!-- Feature 3 -->
<div class="bg-white p-8 rounded-xl feature-card transition duration-300" data-aos="fade-up" data-aos-delay="300">
<div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
<i data-feather="refresh-cw" class="text-indigo-600 w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Real-Time Sync</h3>
<p class="text-gray-600">
Cloud-backed storage ensures your data is always up-to-date across all your devices, securely and reliably.
</p>
</div>
<!-- Feature 4 -->
<div class="bg-white p-8 rounded-xl feature-card transition duration-300" data-aos="fade-up" data-aos-delay="400">
<div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
<i data-feather="pie-chart" class="text-indigo-600 w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Interactive Dashboards</h3>
<p class="text-gray-600">
Visualize your financial data with beautiful, interactive charts that make understanding your finances effortless.
</p>
</div>
<!-- Feature 5 -->
<div class="bg-white p-8 rounded-xl feature-card transition duration-300" data-aos="fade-up" data-aos-delay="500">
<div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
<i data-feather="shield" class="text-indigo-600 w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Bank-Level Security</h3>
<p class="text-gray-600">
Your data is protected with end-to-end encryption and multi-factor authentication for peace of mind.
</p>
</div>
<!-- Feature 6 -->
<div class="bg-white p-8 rounded-xl feature-card transition duration-300" data-aos="fade-up" data-aos-delay="600">
<div class="bg-indigo-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
<i data-feather="smartphone" class="text-indigo-600 w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Cross-Platform</h3>
<p class="text-gray-600">
Access your financial data anywhere with our web and mobile apps that work seamlessly together.
</p>
</div>
</div>
</div>
</section>
<!-- How It Works Section -->
<section id="how-it-works" class="py-20 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16" data-aos="fade-up">
<h2 class="text-3xl font-bold text-gray-900 mb-4">How It Works</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">
Three simple steps to financial clarity and smarter spending habits.
</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<!-- Step 1 -->
<div class="text-center" data-aos="fade-up" data-aos-delay="100">
<div class="bg-indigo-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-6">
<span class="text-indigo-600 text-2xl font-bold">1</span>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Connect Your Accounts</h3>
<p class="text-gray-600">
Securely link your bank accounts or manually enter transactions. Our system works with all major banks.
</p>
</div>
<!-- Step 2 -->
<div class="text-center" data-aos="fade-up" data-aos-delay="200">
<div class="bg-indigo-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-6">
<span class="text-indigo-600 text-2xl font-bold">2</span>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">AI Analyzes Your Spending</h3>
<p class="text-gray-600">
Our machine learning engine categorizes transactions and identifies spending patterns automatically.
</p>
</div>
<!-- Step 3 -->
<div class="text-center" data-aos="fade-up" data-aos-delay="300">
<div class="bg-indigo-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-6">
<span class="text-indigo-600 text-2xl font-bold">3</span>
</div>
<h3 class="text-xl font-bold text-gray-900 mb-3">Get Actionable Insights</h3>
<p class="text-gray-600">
Receive personalized recommendations to optimize your budget and increase your savings rate.
</p>
</div>
</div>
<div class="mt-16 text-center" data-aos="fade-up">
<img src="http://static.photos/technology/1024x576/15" alt="App Screens" class="rounded-xl mx-auto w-full max-w-4xl">
</div>
</div>
</section>
<!-- Testimonials Section -->
<section id="testimonials" class="py-20 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16" data-aos="fade-up">
<h2 class="text-3xl font-bold text-gray-900 mb-4">What Our Users Say</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">
Join thousands of users who have transformed their financial lives.
</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Testimonial 1 -->
<div class="bg-white p-8 rounded-xl" data-aos="fade-up" data-aos-delay="100">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/1" alt="Sarah J." class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-bold text-gray-900">Sarah J.</h4>
<p class="text-indigo-600">Marketing Director</p>
</div>
</div>
<p class="text-gray-600 italic">
"This app has completely changed how I manage my finances. The AI categorization saves me hours each month!"
</p>
<div class="flex mt-4">
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
</div>
</div>
<!-- Testimonial 2 -->
<div class="bg-white p-8 rounded-xl" data-aos="fade-up" data-aos-delay="200">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/2" alt="Michael T." class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-bold text-gray-900">Michael T.</h4>
<p class="text-indigo-600">Software Engineer</p>
</div>
</div>
<p class="text-gray-600 italic">
"The insights helped me identify $300/month in unnecessary subscriptions I'd forgotten about. Game changer!"
</p>
<div class="flex mt-4">
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
</div>
</div>
<!-- Testimonial 3 -->
<div class="bg-white p-8 rounded-xl" data-aos="fade-up" data-aos-delay="300">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/3" alt="Priya K." class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-bold text-gray-900">Priya K.</h4>
<p class="text-indigo-600">Small Business Owner</p>
</div>
</div>
<p class="text-gray-600 italic">
"As someone who hates budgeting, this app makes it painless. The automatic tracking is magical."
</p>
<div class="flex mt-4">
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
<i data-feather="star" class="text-yellow-400 w-5 h-5"></i>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-20 hero-gradient">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 class="text-3xl md:text-4xl font-bold text-white mb-6" data-aos="fade-up">
Ready to Transform Your Finances?
</h2>
<p class="text-xl text-indigo-100 mb-8 max-w-3xl mx-auto" data-aos="fade-up" data-aos-delay="100">
Join thousands of users who have taken control of their financial future.
</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center" data-aos="fade-up" data-aos-delay="200">
<button class="bg-white text-indigo-600 px-8 py-4 rounded-lg font-medium hover:bg-gray-100 transition text-lg">
Start Free Trial
</button>
<button class="bg-transparent border-2 border-white text-white px-8 py-4 rounded-lg font-medium hover:bg-white hover:text-indigo-600 transition text-lg">
Watch Demo
</button>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center mb-4">
<i data-feather="dollar-sign" class="text-indigo-400 mr-2"></i>
<span class="text-xl font-bold text-white">SmartExpense</span>
</div>
<p class="text-gray-400">
AI-powered financial insights to help you spend smarter and save more.
</p>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Product</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Features</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Pricing</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Apps</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Integrations</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Resources</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Guides</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Help Center</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">API Docs</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Company</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Privacy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Terms</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 mb-4 md:mb-0">
© 2023 SmartExpense. All rights reserved.
</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="facebook"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="instagram"></i>
</a>
</div>
</div>
</div>
</footer>
<script>
// Theme toggle functionality
const themeToggle = document.getElementById('theme-toggle');
const prefersDarkScheme = window.matchMedia('(prefers-color-scheme: dark)');
const currentTheme = localStorage.getItem('theme');
function applyTheme(theme) {
if (theme === 'dark' || (!theme && prefersDarkScheme.matches)) {
document.documentElement.classList.add('dark');
localStorage.setItem('theme', 'dark');
} else {
document.documentElement.classList.remove('dark');
localStorage.setItem('theme', 'light');
}
feather.replace();
}
applyTheme(currentTheme);
themeToggle.addEventListener('click', () => {
const isDark = document.documentElement.classList.contains('dark');
applyTheme(isDark ? 'light' : 'dark');
});
// Initialize animations
AOS.init({
duration: 800,
easing: 'ease-in-out',
once: true
});
// Initialize Vanta.js globe
VANTA.GLOBE({
el: "#vanta-globe",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x667eea,
backgroundColor: 0x764ba2,
size: 0.8
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>