[5496375] | 1 | <!DOCTYPE html>
|
---|
| 2 | <html lang="en">
|
---|
| 3 | <head>
|
---|
| 4 | <meta charset="UTF-8">
|
---|
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
---|
| 6 | <title>Home - School Management System</title>
|
---|
| 7 | <style>
|
---|
| 8 | body {
|
---|
| 9 | font-family: 'Arial', sans-serif;
|
---|
| 10 | margin: 0;
|
---|
| 11 | padding: 0;
|
---|
| 12 | background-color: #f8f9fa;
|
---|
| 13 | color: #333;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | header {
|
---|
| 17 | background-color: #007bff;
|
---|
| 18 | color: white;
|
---|
| 19 | padding: 60px 20px;
|
---|
| 20 | text-align: center;
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | header h1 {
|
---|
| 24 | font-size: 3rem;
|
---|
| 25 | margin: 0;
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 | header p {
|
---|
| 29 | font-size: 1.2rem;
|
---|
| 30 | margin: 10px 0 0;
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | .container {
|
---|
| 34 | width: 90%;
|
---|
| 35 | max-width: 1200px;
|
---|
| 36 | margin: 40px auto;
|
---|
| 37 | padding: 20px;
|
---|
| 38 | }
|
---|
| 39 |
|
---|
| 40 | .cards {
|
---|
| 41 | display: flex;
|
---|
| 42 | justify-content: space-around;
|
---|
| 43 | flex-wrap: wrap;
|
---|
| 44 | gap: 20px;
|
---|
| 45 | }
|
---|
| 46 |
|
---|
| 47 | .card {
|
---|
| 48 | background-color: white;
|
---|
| 49 | border-radius: 10px;
|
---|
| 50 | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
---|
| 51 | padding: 20px;
|
---|
| 52 | width: 30%;
|
---|
| 53 | min-width: 250px;
|
---|
| 54 | text-align: center;
|
---|
| 55 | transition: transform 0.3s ease, box-shadow 0.3s ease;
|
---|
| 56 | }
|
---|
| 57 |
|
---|
| 58 | .card:hover {
|
---|
| 59 | transform: translateY(-10px);
|
---|
| 60 | box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
|
---|
| 61 | }
|
---|
| 62 |
|
---|
| 63 | .card h2 {
|
---|
| 64 | font-size: 1.5rem;
|
---|
| 65 | margin: 0 0 10px;
|
---|
| 66 | color: #007bff;
|
---|
| 67 | }
|
---|
| 68 |
|
---|
| 69 | .card p {
|
---|
| 70 | font-size: 1rem;
|
---|
| 71 | color: #666;
|
---|
| 72 | }
|
---|
| 73 |
|
---|
| 74 | .card a {
|
---|
| 75 | display: inline-block;
|
---|
| 76 | margin-top: 15px;
|
---|
| 77 | padding: 10px 20px;
|
---|
| 78 | background-color: #28a745;
|
---|
| 79 | color: white;
|
---|
| 80 | text-decoration: none;
|
---|
| 81 | border-radius: 5px;
|
---|
| 82 | font-size: 1rem;
|
---|
| 83 | transition: background-color 0.3s ease;
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | .card a:hover {
|
---|
| 87 | background-color: #218838;
|
---|
| 88 | }
|
---|
| 89 |
|
---|
| 90 | footer {
|
---|
| 91 | background-color: #343a40;
|
---|
| 92 | color: white;
|
---|
| 93 | text-align: center;
|
---|
| 94 | padding: 20px 0;
|
---|
| 95 | margin-top: 40px;
|
---|
| 96 | }
|
---|
| 97 |
|
---|
| 98 | footer p {
|
---|
| 99 | margin: 0;
|
---|
| 100 | }
|
---|
| 101 |
|
---|
| 102 | @media (max-width: 768px) {
|
---|
| 103 | .card {
|
---|
| 104 | width: 45%;
|
---|
| 105 | }
|
---|
| 106 | }
|
---|
| 107 |
|
---|
| 108 | @media (max-width: 480px) {
|
---|
| 109 | .card {
|
---|
| 110 | width: 100%;
|
---|
| 111 | }
|
---|
| 112 | }
|
---|
| 113 | </style>
|
---|
| 114 | </head>
|
---|
| 115 | <body>
|
---|
| 116 | <header>
|
---|
| 117 | <h1>Welcome to the School Management System</h1>
|
---|
| 118 | <p>Your one-stop solution for managing students, teachers, and subjects.</p>
|
---|
| 119 | </header>
|
---|
| 120 |
|
---|
| 121 | <div class="container">
|
---|
| 122 | <div class="cards">
|
---|
| 123 | <div class="card">
|
---|
| 124 | <h2>Subjects</h2>
|
---|
| 125 | <p>Explore and manage all subjects offered in the school.</p>
|
---|
| 126 | <a href="/subjects">View Subjects</a>
|
---|
| 127 | </div>
|
---|
| 128 | <div class="card">
|
---|
| 129 | <h2>Teachers</h2>
|
---|
| 130 | <p>View and manage the list of teachers and their details.</p>
|
---|
| 131 | <a href="/teachers">View Teachers</a>
|
---|
| 132 | </div>
|
---|
| 133 | <div class="card">
|
---|
| 134 | <h2>Users</h2>
|
---|
| 135 | <p>Manage all users and their roles in the system.</p>
|
---|
| 136 | <a href="/users">View Users</a>
|
---|
| 137 | </div>
|
---|
| 138 | </div>
|
---|
| 139 | </div>
|
---|
| 140 |
|
---|
| 141 | <footer>
|
---|
| 142 | <p>© 2023 School Management System. All rights reserved.</p>
|
---|
| 143 | </footer>
|
---|
| 144 | </body>
|
---|
| 145 | </html> |
---|