430fb9d089
✅ Pages Created: 1. index-new.html - Hero landing page with feature showcase 2. dashboard-control-center-new.html - Dashboard with stats, charts, activity feed 3. auth-login-new.html - Modern login form with social auth options 4. forms-inputs-new.html - Comprehensive form components & validation 5. tables-basic-new.html - Various table styles (simple, striped, hover, bordered) 🎨 Features: ✅ All pages use modular CSS files (base, components, forms, tables, etc.) ✅ Dark mode support with localStorage persistence ✅ Theme toggle button on each page ✅ Fully responsive design (mobile-first) ✅ Bootstrap 5 conventions & utilities ✅ FontAwesome 6 icons integration ✅ Professional styling & UX patterns ✅ Card-based layouts ✅ Status badges & indicators ✅ Form validation states 📱 Responsive Breakpoints: - Mobile: < 576px - Tablet (sm): ≥ 576px - Tablet (md): ≥ 768px - Desktop (lg): ≥ 992px - Desktop (xl): ≥ 1200px - Desktop (xxl): ≥ 1400px 🔗 Page Links: - index-new.html → dashboard-control-center-new.html (Launch Dashboard) - All pages link to components-showcase.html - All pages have theme toggle & navigation ✨ These 5 pages demonstrate all major Bootstrap 5 components: - Navigation & headers - Stats cards - Charts (placeholder) - Forms (inputs, selects, textarea, validation) - Tables (multiple variants) - Badges & status indicators - Buttons & actions - Modal dialogs (ready for implementation) - Dark mode themes Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
331 lines
11 KiB
HTML
331 lines
11 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" data-bs-theme="light">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Home | SmartAdmin - Enterprise Admin Dashboard</title>
|
|
<meta name="description" content="SmartAdmin Bootstrap 5 - Enterprise Admin Dashboard">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=5">
|
|
|
|
<link rel="icon" href="img/favicon-32x32.png" type="image/png" sizes="32x32">
|
|
<link rel="apple-touch-icon" href="img/apple-touch-icon.png" sizes="180x180">
|
|
|
|
<!-- SmartAdmin Bootstrap 5 - Modular CSS -->
|
|
<link rel="stylesheet" media="screen, print" href="css/base.css">
|
|
<link rel="stylesheet" media="screen, print" href="css/components.css">
|
|
<link rel="stylesheet" media="screen, print" href="css/forms.css">
|
|
<link rel="stylesheet" media="screen, print" href="css/tables.css">
|
|
<link rel="stylesheet" media="screen, print" href="css/layout.css">
|
|
<link rel="stylesheet" media="screen, print" href="css/darkmode.css">
|
|
<link rel="stylesheet" media="screen, print" href="css/responsive.css">
|
|
<link rel="stylesheet" media="screen, print" href="css/utilities.css">
|
|
|
|
<!-- Vendor CSS -->
|
|
<link rel="stylesheet" media="screen, print" href="plugins/waves/waves.min.css">
|
|
<link rel="stylesheet" media="screen, print" href="css/smartapp.min.css">
|
|
|
|
<!-- Icons -->
|
|
<link rel="stylesheet" media="screen, print" href="webfonts/smartadmin/sa-icons.css">
|
|
<link rel="stylesheet" media="screen, print" href="webfonts/fontawesome/fontawesome.css">
|
|
|
|
<style>
|
|
.app-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.app-header {
|
|
background-color: var(--bs-body-bg);
|
|
border-bottom: 1px solid var(--bs-gray-200);
|
|
padding: 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
box-shadow: var(--bs-box-shadow);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.app-logo {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--bs-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: flex;
|
|
gap: 2rem;
|
|
margin-left: auto;
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.nav-menu a {
|
|
color: var(--bs-body-color);
|
|
text-decoration: none;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.nav-menu a:hover {
|
|
color: var(--bs-primary);
|
|
}
|
|
|
|
.theme-toggle {
|
|
background: none;
|
|
border: none;
|
|
color: var(--bs-body-color);
|
|
cursor: pointer;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.hero-section {
|
|
background: linear-gradient(135deg, var(--bs-primary) 0%, #1565c0 100%);
|
|
color: white;
|
|
padding: 6rem 2rem;
|
|
text-align: center;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.hero-section h1 {
|
|
font-size: 3rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1rem;
|
|
color: white;
|
|
}
|
|
|
|
.hero-section p {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 2rem;
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.btn-group-center {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.features {
|
|
padding: 4rem 2rem;
|
|
background-color: var(--bs-gray-50);
|
|
}
|
|
|
|
[data-bs-theme="dark"] .features {
|
|
background-color: var(--bs-gray-900);
|
|
}
|
|
|
|
.feature-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 2rem;
|
|
max-width: 1320px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.feature-card {
|
|
background-color: var(--bs-body-bg);
|
|
padding: 2rem;
|
|
border-radius: var(--bs-border-radius-lg);
|
|
border: 1px solid var(--bs-gray-200);
|
|
text-align: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.feature-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: var(--bs-box-shadow-lg);
|
|
}
|
|
|
|
.feature-icon {
|
|
font-size: 2.5rem;
|
|
color: var(--bs-primary);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.feature-card h3 {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.feature-card p {
|
|
color: var(--bs-gray-600);
|
|
margin: 0;
|
|
}
|
|
|
|
footer {
|
|
background-color: var(--bs-gray-100);
|
|
border-top: 1px solid var(--bs-gray-200);
|
|
padding: 2rem;
|
|
text-align: center;
|
|
color: var(--bs-gray-600);
|
|
margin-top: auto;
|
|
}
|
|
|
|
[data-bs-theme="dark"] footer {
|
|
background-color: var(--bs-gray-800);
|
|
border-top-color: var(--bs-gray-700);
|
|
color: var(--bs-gray-400);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero-section h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.hero-section p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.nav-menu {
|
|
gap: 1rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.hero-section {
|
|
padding: 4rem 1rem;
|
|
}
|
|
|
|
.features {
|
|
padding: 2rem 1rem;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="app-wrap">
|
|
<!-- Header -->
|
|
<header class="app-header">
|
|
<a href="index-new.html" class="app-logo">
|
|
<i class="fa-solid fa-chart-line me-2"></i>SmartAdmin
|
|
</a>
|
|
<ul class="nav-menu">
|
|
<li><a href="components-showcase.html">Components</a></li>
|
|
<li><a href="dashboard-control-center-new.html">Dashboard</a></li>
|
|
<li><a href="auth-login-new.html">Login</a></li>
|
|
<li><a href="STYLE_GUIDE.md">Guide</a></li>
|
|
</ul>
|
|
<button class="theme-toggle" id="themeToggle" title="Toggle Dark Mode">
|
|
<i class="fa-solid fa-moon"></i>
|
|
</button>
|
|
</header>
|
|
|
|
<!-- Hero Section -->
|
|
<section class="hero-section">
|
|
<div>
|
|
<h1>SmartAdmin Bootstrap 5</h1>
|
|
<p>Enterprise Admin Dashboard Template</p>
|
|
<p style="font-size: 1rem; opacity: 0.8;">Modern, Responsive, Feature-Rich</p>
|
|
<div class="btn-group-center">
|
|
<a href="dashboard-control-center-new.html" class="btn btn-light btn-lg">
|
|
<i class="fa-solid fa-rocket me-2"></i>Launch Dashboard
|
|
</a>
|
|
<a href="components-showcase.html" class="btn btn-outline-light btn-lg">
|
|
<i class="fa-solid fa-palette me-2"></i>View Components
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Features Section -->
|
|
<section class="features">
|
|
<div class="container-xxl">
|
|
<div style="text-align: center; margin-bottom: 3rem;">
|
|
<h2 style="color: var(--bs-body-color);">Key Features</h2>
|
|
<p style="color: var(--bs-gray-600); font-size: 1.1rem;">Everything you need for a modern admin dashboard</p>
|
|
</div>
|
|
|
|
<div class="feature-grid">
|
|
<div class="feature-card">
|
|
<div class="feature-icon">
|
|
<i class="fa-solid fa-palette"></i>
|
|
</div>
|
|
<h3>Modern Design</h3>
|
|
<p>Beautiful, clean interface based on Bootstrap 5</p>
|
|
</div>
|
|
<div class="feature-card">
|
|
<div class="feature-icon">
|
|
<i class="fa-solid fa-mobile"></i>
|
|
</div>
|
|
<h3>Fully Responsive</h3>
|
|
<p>Perfect on mobile, tablet, and desktop screens</p>
|
|
</div>
|
|
<div class="feature-card">
|
|
<div class="feature-icon">
|
|
<i class="fa-solid fa-moon"></i>
|
|
</div>
|
|
<h3>Dark Mode Support</h3>
|
|
<p>Toggle between light and dark themes</p>
|
|
</div>
|
|
<div class="feature-card">
|
|
<div class="feature-icon">
|
|
<i class="fa-solid fa-cube"></i>
|
|
</div>
|
|
<h3>Modular CSS</h3>
|
|
<p>8 organized CSS modules for easy customization</p>
|
|
</div>
|
|
<div class="feature-card">
|
|
<div class="feature-icon">
|
|
<i class="fa-solid fa-bolt"></i>
|
|
</div>
|
|
<h3>High Performance</h3>
|
|
<p>Optimized for speed and user experience</p>
|
|
</div>
|
|
<div class="feature-card">
|
|
<div class="feature-icon">
|
|
<i class="fa-solid fa-code"></i>
|
|
</div>
|
|
<h3>Well Documented</h3>
|
|
<p>Complete style guide and component library</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Footer -->
|
|
<footer>
|
|
<p>© 2026 SmartAdmin. All rights reserved.</p>
|
|
<p style="font-size: 0.9rem;">Built with Bootstrap 5 & Modern Web Standards</p>
|
|
</footer>
|
|
</div>
|
|
|
|
<script>
|
|
// Theme Toggle
|
|
const themeToggle = document.getElementById('themeToggle');
|
|
const html = document.documentElement;
|
|
|
|
// Load saved theme
|
|
const savedTheme = localStorage.getItem('theme') || 'light';
|
|
html.setAttribute('data-bs-theme', savedTheme);
|
|
updateThemeIcon();
|
|
|
|
themeToggle.addEventListener('click', () => {
|
|
const currentTheme = html.getAttribute('data-bs-theme');
|
|
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
|
|
html.setAttribute('data-bs-theme', newTheme);
|
|
localStorage.setItem('theme', newTheme);
|
|
updateThemeIcon();
|
|
});
|
|
|
|
function updateThemeIcon() {
|
|
const icon = themeToggle.querySelector('i');
|
|
const currentTheme = html.getAttribute('data-bs-theme');
|
|
if (currentTheme === 'dark') {
|
|
icon.classList.remove('fa-moon');
|
|
icon.classList.add('fa-sun');
|
|
} else {
|
|
icon.classList.add('fa-moon');
|
|
icon.classList.remove('fa-sun');
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|