File size: 3,978 Bytes
052f6c9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
```php
<?php
session_start();
require_once 'includes/config.php';

// Check if user is logged in
$isLoggedIn = isset($_SESSION['user_id']);
$userRole = $isLoggedIn ? $_SESSION['user_role'] : '';
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>United Tagaligtas Eagles Club</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: {
                            500: '#6366f1',
                            600: '#4f46e5'
                        },
                        secondary: {
                            500: '#8b5cf6',
                            600: '#7c3aed'
                        }
                    }
                }
            }
        }
    </script>
</head>
<body class="bg-gray-50 min-h-screen flex flex-col">
    <custom-navbar></custom-navbar>
    
    <main class="flex-grow container mx-auto px-4 py-8">
        <div class="max-w-4xl mx-auto text-center">
            <h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-6">Welcome to United Tagaligtas Eagles Club</h1>
            <p class="text-xl text-gray-600 mb-8">Your centralized platform for brotherhood management, finances, and member engagement</p>
            <?php if (!$isLoggedIn): ?>
            <div class="flex flex-col md:flex-row justify-center gap-6">
                <a href="/login.php" class="bg-primary-500 hover:bg-primary-600 text-white font-semibold py-3 px-6 rounded-lg shadow-md transition duration-300 flex items-center justify-center gap-2">
                    <i data-feather="log-in"></i>
                    Login
                </a>
                <a href="/register.php" class="bg-secondary-500 hover:bg-secondary-600 text-white font-semibold py-3 px-6 rounded-lg shadow-md transition duration-300 flex items-center justify-center gap-2">
                    <i data-feather="user-plus"></i>
                    Register
                </a>
            </div>
            <?php endif; ?>
        </div>

        <div class="mt-16 grid grid-cols-1 md:grid-cols-3 gap-8">
            <div class="bg-white p-6 rounded-xl shadow-md">
                <div class="text-primary-500 mb-4">
                    <i data-feather="dollar-sign" class="w-8 h-8"></i>
                </div>
                <h3 class="text-xl font-semibold mb-2">Manage Finances</h3>
                <p class="text-gray-600">Track community expenses, donations, and member dues efficiently.</p>
            </div>
            
            <div class="bg-white p-6 rounded-xl shadow-md">
                <div class="text-primary-500 mb-4">
                    <i data-feather="users" class="w-8 h-8"></i>
                </div>
                <h3 class="text-xl font-semibold mb-2">Member Profiles</h3>
                <p class="text-gray-600">View and manage member information and payment history.</p>
            </div>
            
            <div class="bg-white p-6 rounded-xl shadow-md">
                <div class="text-primary-500 mb-4">
                    <i data-feather="pie-chart" class="w-8 h-8"></i>
                </div>
                <h3 class="text-xl font-semibold mb-2">Financial Reports</h3>
                <p class="text-gray-600">Generate detailed reports on community finances and balances.</p>
            </div>
        </div>
    </main>

    <custom-footer></custom-footer>
    
    <script src="components/navbar.js"></script>
    <script src="components/footer.js"></script>
    <script src="script.js"></script>
    <script>
        feather.replace();
    </script>
</body>
</html>
```