-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
232 lines (196 loc) · 7.52 KB
/
index.php
File metadata and controls
232 lines (196 loc) · 7.52 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
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SETRAM - Home</title>
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #174282;
color: #fff;
text-align: center;
padding: 0 0;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
transition: background-color 0.3s ease-in-out;
}
#logo {
max-width: 100%;
height: auto;
}
main {
padding: 20px;
}
main h2 {
color: #174282;
font-size: 30px;
}
main p {
color: #444;
font-size: 20px;
}
.services {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.service {
flex: 1;
background-color: #d4fffd;
padding: 20px;
margin: 0 10px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease-in-out;
}
.service:hover {
transform: scale(1.05);
}
footer {
background-color: #174282;
color: #fff;
text-align: center;
padding: 1em 0;
}
footer p {
color: #fff;
margin: 5px;
}
footer a {
color: #d4fffd;
text-decoration: none;
}
.login-link {
font-size: 28px;
color: #d4fffd;
text-decoration: none;
padding: 8px 12px;
margin-right: 10px;
transition: color 0.1s ease-in-out;
}
.login-link:hover {
color: #05b4ac;
text-decoration: underline;
}
.signup-button {
color: #174282;
font-size: 28px;
background-color: #d4fffd;
border: none;
padding: 15px 30px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.1s ease-in-out, transform 0.1s ease-in-out;
}
.signup-button:hover {
background-color: #05b4ac;
transform: scale(1.05);
}
#first , #third {
padding: 0% 2%;
}
td * {
margin: 1%;
}
img {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease-in-out;
}
img.main:hover {
transform: scale(1.01);
}
</style>
</head>
<body>
<header>
<table style="width: 100%;">
<tr>
<td id="first" style="width: 20%; text-align: left;">
<a href="#" style="text-decoration: none; vertical-align: middle;"><h1 style="color: #05b4ac;">SETRAM</h1>
<h4 style="color: #d4fffd; transition: opacity 0.5s ease-in-out;">Acteur de modality</h4></a>
</td>
<td id="second" style="width: 60%; text-align: center;">
<h1 style="font-size: 38px;">Welcome to SETRAM</h1>
<h2>Serving Algeria's Transportation Needs</h2>
</td>
<td id="third" style="width: 20%; text-align: right;">
<a href="login.php" class="login-link">Login</a>
<button onclick="window.location.href='register.php'" class="signup-button">Sign Up</button>
</td>
</tr>
</table>
</header>
<main style="padding-top: 10%;">
<section class="about" style="display: inline-flex;">
<table>
<td class="text" style="width: 40%; vertical-align: top; padding: 1% 0;">
<h2 style="margin-bottom: 20px;">About SETRAM</h2>
<p>SETRAM (Société d'Exploitation des Transports Automobiles) is a leading transportation organization dedicated to providing efficient and reliable transportation solutions in Algeria. With a commitment to excellence and sustainability, SETRAM has been a cornerstone in connecting communities, businesses, and individuals across the country.</p>
</td><td style="width: 60%;">
<img class="main" src="pictures/slogan.jpg" width="100%">
</td></table>
</section>
<section class="services">
<div class="service">
<h2>Public Transportation</h2>
<p>Our extensive network of buses and tramways ensures seamless connectivity across major cities, making daily commutes convenient and eco-friendly.</p>
<img src="pictures/bus.jpg" width="100%">
</div>
<div class="service">
<h2>Cargo Transport</h2>
<p>SETRAM offers reliable cargo transport services, facilitating the movement of goods and supporting economic growth.<br><br></p>
<img src="pictures/metro.jpg" width="100%">
</div>
<div class="service">
<h2>Charter Services</h2>
<p>Whether for corporate events, school trips, or special occasions, our charter services provide safe and comfortable transportation solutions tailored to your needs.</p>
<img src="pictures/tram.jpg" width="100%">
</div>
</section>
<section>
<div class="text">
<h2>Commitment to Sustainability</h2>
<p>At SETRAM, we understand the importance of sustainable practices. Our fleet is constantly upgraded to meet the latest environmental standards, reducing our carbon footprint and contributing to a greener Algeria.</p>
</div>
</section>
<section>
<h2>Latest News and Updates</h2>
<p>Stay informed about SETRAM's latest developments, route expansions, and community initiatives through our news section. We believe in transparency and keeping our passengers and stakeholders updated.</p>
</section>
<section>
<h2>Join Our Team</h2>
<p>SETRAM is always looking for talented and passionate individuals to join our team. Explore career opportunities with us and be part of an organization that is driving positive change in Algerian transportation.</p>
</section>
</main>
<footer>
<p>all rights reserved © 2023 Zakaria, inc</p>
<p><a href="mailto:bouzara.zakaria.25@gmail.com">Contact Us!</a>
| Follow us on social media:
<a href="https://github.com/domenez25" target="_blank">Github</a></p>
</footer>
<script>
document.addEventListener("DOMContentLoaded", function () {
var header = document.querySelector("header");
window.addEventListener("scroll", function () {
var scrollPercentage = (window.scrollY / window.innerHeight) * 100;
// Adjust the threshold as needed
if (scrollPercentage >= 10) {
header.style.backgroundColor = "#174282ca";
header.style.backdropFilter = "blur(5px)";
} else {
header.style.backgroundColor = "";
header.style.backdropFilter = "none";
}
});
});
</script>
</body>
</html>