This repository has been archived by the owner on Dec 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
169 lines (146 loc) · 4.92 KB
/
index.html
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home Page</title>
<link rel="stylesheet" href="styles.css">
<!-- Bootstrap 5 CDN -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</head>
<!-- jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Custom CSS file -->
<link rel="stylesheet" href="assets/style.css">
<!-- Firebase Reference -->
<script src="https://www.gstatic.com/firebasejs/4.8.1/firebase.js"></script>
<!-- Moment.js Reference! -->
<script src="https://cdn.jsdelivr.net/momentjs/2.12.0/moment.min.js"></script>
<script
src="https://kit.fontawesome.com/64d58efce2.js"
crossorigin="anonymous"
></script>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<div class="container"> <!-- Use container to limit width -->
<!-- Project Name -->
<a class="navbar-brand" href="index.html">Train Planner</a>
<!-- Mobile Toggle Button -->
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Navigation Links -->
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto"> <!-- Push links to the right -->
<li class="nav-item">
<a class="nav-link active" href="index.html">Начало</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Контакти</a>
</li>
<li class="nav-item">
<a class="nav-link" href="auth.php">Sign Up</a>
</li>
</ul>
</div>
</div>
</nav>
<main class="hero">
<section class="intro">
<h2>Бъдещето на пътуванията започва с точност.</h2>
<p>
Нашата платформа за графици на влакове предлага бърза и точна информация, за да планирате пътуванията си лесно и удобно. Резервирайте билети и пътувайте безпроблемно!
</p>
<a href="auth.php" class="button">Започни Пътешествието!</a>
</section>
</main>
<footer class="footer">
<p>© 2024 Train Planner. All rights reserved.</p>
</footer>
<!-- Link to the external JavaScript -->
<script type="text/javascript" src="assets/app.js"></script>
<style>
nav {
position: absolute !important;
z-index: 100;
left: 20%;
}
body{
background-color: #e4f0fd;
}
.hero {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
position: relative;
background-image: url('assets/images/hero.webp'); /* Replace with the path to your image */
background-size: cover;
background-position: center;
color: white;
}
.hero::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
z-index: 1;
}
.intro {
position: relative;
z-index: 2;
max-width: 600px;
}
.intro h2 {
font-size: 2.5rem;
color: var(--chocolate-cosmos);
margin-bottom: 1rem;
font-weight: bold;
}
.intro p {
font-size: 1.2rem;
line-height: 1.6;
margin-top: 40px;
margin-bottom: 20px;
}
.button {
display: inline-block;
padding: 0.75rem 1.5rem;
color: var(--dark-slate-gray);
background-color: rgba(200, 200, 200, 0.4); /* Light background for visibility */
border-radius: 5px;
font-size: 1rem;
text-decoration: none;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.button:hover {
background-color: var(--rosy-brown);
color: var(--off-white);
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Slightly stronger shadow on hover */
}
.footer {
z-index: 200;
position: absolute;
top: 92%;
left: 39%;
padding: 1rem;
background-color: var(--dark-slate-gray);
color: gray;
text-align: center;
font-size: 0.9rem;
}
.footer p {
margin: 0.5rem 0;
}
</style>
</body>
</html>