-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
38 lines (38 loc) · 1.43 KB
/
index.php
File metadata and controls
38 lines (38 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
require __DIR__ . '/config/db.php';
require __DIR__ . '/includes/auth.php';
if (isLoggedIn()) {
header('Location: /pages/dashboard.php');
exit;
}
include __DIR__ . '/includes/header.php';
?>
<div class="min-h-screen flex flex-col app-bg">
<?php include __DIR__ . '/includes/navbar.php'; ?>
<main class="flex-1">
<section class="max-w-7xl mx-auto px-6 pt-16 pb-24">
<div class="grid md:grid-cols-2 gap-10 items-center">
<div>
<h1 class="text-4xl md:text-5xl font-bold leading-tight">
Futuristic Library Management
<span class="text-highlight">for Everyone</span>
</h1>
<p class="mt-4 text-gray-600 dark:text-gray-300">Manage books, students, issues, returns, and analytics in a minimal, modern interface.</p>
<div class="mt-8 flex gap-3">
<a href="/pages/login.php" class="btn btn-primary">Login</a>
<a href="#features" class="btn btn-outline">Explore</a>
</div>
</div>
<div class="glass card p-6 border border-gray-200 dark:border-gray-800">
<ul class="space-y-3">
<li>Role-based access (Admin / Student)</li>
<li>Issue/Return with auto fines</li>
<li>Charts, notifications, exports</li>
<li>Dark/Light themes with smooth UI</li>
</ul>
</div>
</div>
</section>
</main>
<?php include __DIR__ . '/includes/footer.php'; ?>
</div>