mindscribe-pro / index.html
mansoor2275's picture
Create a Notes App, with a notes section, and a history section.
6831332 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MindScribe Pro - Notes App</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></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>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
* {
font-family: 'Inter', sans-serif;
}
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.glass-effect {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.note-card {
transition: all 0.3s ease;
}
.note-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);
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
</style>
</head>
<body class="min-h-screen gradient-bg" id="vanta-bg">
<div class="container mx-auto px-4 py-8">
<!-- Header -->
<header class="text-center mb-12 fade-in">
<h1 class="text-4xl md:text-5xl font-bold text-white mb-4">MindScribe Pro</h1>
<p class="text-xl text-white/80 max-w-2xl mx-auto">Your intelligent notes companion with seamless organization and history tracking</p>
</header>
<!-- Main Content -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Sidebar -->
<div class="lg:col-span-1">
<div class="glass-effect rounded-2xl p-6 text-white mb-6">
<h2 class="text-2xl font-semibold mb-6 flex items-center">
<i data-feather="menu" class="mr-3"></i>
Navigation
</h2>
<nav>
<ul class="space-y-4">
<li>
<button id="notes-tab" class="w-full text-left py-3 px-4 rounded-xl bg-white/20 hover:bg-white/30 transition-all duration-300 flex items-center">
<i data-feather="edit-3" class="mr-3"></i>
Notes
</button>
</li>
<li>
<button id="history-tab" class="w-full text-left py-3 px-4 rounded-xl hover:bg-white/20 transition-all duration-300 flex items-center">
<i data-feather="clock" class="mr-3"></i>
History
</button>
</li>
</ul>
</nav>
</div>
<!-- Quick Stats -->
<div class="glass-effect rounded-2xl p-6 text-white">
<h3 class="text-xl font-semibold mb-4 flex items-center">
<i data-feather="bar-chart-2" class="mr-3"></i>
Quick Stats
</h3>
<div class="space-y-3">
<div class="flex justify-between items-center">
<span>Total Notes:</span>
<span id="total-notes" class="font-semibold">0</span>
</div>
<div class="flex justify-between items-center">
<span>Today's Notes:</span>
<span id="today-notes" class="font-semibold">0</span>
</div>
<div class="flex justify-between items-center">
<span>History Items:</span>
<span id="history-items" class="font-semibold">0</span>
</div>
</div>
</div>
</div>
<!-- Main Content Area -->
<div class="lg:col-span-2">
<!-- Notes Section -->
<div id="notes-section" class="space-y-6">
<!-- New Note Form -->
<div class="glass-effect rounded-2xl p-6 text-white">
<h2 class="text-2xl font-semibold mb-4 flex items-center">
<i data-feather="plus" class="mr-3"></i>
Create New Note
</h2>
<form id="note-form" class="space-y-4">
<div>
<input type="text" id="note-title" placeholder="Note Title"
class="w-full bg-white/10 border border-white/20 rounded-xl px-4 py-3 text-white placeholder-white/60 focus:outline-none focus:ring-2 focus:ring-white/50">
</div>
<div>
<textarea id="note-content" placeholder="Start typing your note here..." rows="6"
class="w-full bg-white/10 border border-white/20 rounded-xl px-4 py-3 text-white placeholder-white/60 focus:outline-none focus:ring-2 focus:ring-white/50"></textarea>
</div>
<button type="submit"
class="bg-white text-purple-600 px-6 py-3 rounded-xl font-semibold hover:bg-white/90 transition-all duration-300 flex items-center">
<i data-feather="save" class="mr-2"></i>
Save Note
</button>
</form>
</div>
<!-- Notes List -->
<div class="glass-effect rounded-2xl p-6 text-white">
<h2 class="text-2xl font-semibold mb-4 flex items-center">
<i data-feather="file-text" class="mr-3"></i>
Your Notes
</h2>
<div id="notes-list" class="space-y-4">
<!-- Notes will be dynamically added here -->
<div class="text-center py-8 text-white/60">
<i data-feather="file" class="w-12 h-12 mx-auto mb-3"></i>
<p>No notes yet. Create your first note above!</p>
</div>
</div>
</div>
</div>
<!-- History Section (Hidden by default) -->
<div id="history-section" class="hidden space-y-6">
<div class="glass-effect rounded-2xl p-6 text-white">
<h2 class="text-2xl font-semibold mb-4 flex items-center">
<i data-feather="clock" class="mr-3"></i>
Note History
</h2>
<div id="history-list" class="space-y-4">
<!-- History items will be dynamically added here -->
<div class="text-center py-8 text-white/60">
<i data-feather="clock" class="w-12 h-12 mx-auto mb-3"></i>
<p>No history yet. Your note activities will appear here.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
// Initialize Vanta.js background
VANTA.GLOBE({
el:{"ok":false,"message":"terminated"}
</body>
</html>