-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
183 lines (172 loc) · 6.36 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome Page</title>
<!-- Bootstrap CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<style>
body {
font-family: Arial, sans-serif;
}
.navbar {
background-color: #fff;
padding: 10px 15px;
border-bottom: 2px solid #ccc;
}
.navbar-brand {
font-weight: bold;
}
.navbar-nav .nav-link {
font-size: 18px;
font-weight: bold;
}
.main-header {
text-align: center;
font-size: 32px;
font-weight: bold;
margin: 20px 0;
overflow: hidden;
border-right: 4px solid;
display: inline-block;
white-space: nowrap;
animation: typing 6s steps(40, end), blink-caret 0.75s step-end infinite;
}
/* Điều chỉnh độ rộng cho các màn hình nhỏ hơn */
@media screen and (max-width: 768px) {
.main-header {
font-size: 24px;
animation: typing 8s steps(40, end), blink-caret 0.75s step-end infinite;
}
}
/* Animation keyframes */
@keyframes typing {
from { width: 0; }
to { width: 100%; }
}
@keyframes blink-caret {
from, to { border-color: transparent; }
50% { border-color: black; }
}
.footer {
text-align: center;
font-weight: bold;
padding: 10px;
background-color: #fff;
border-top: 2px solid #ccc;
margin-top: 20px;
}
.event-banner {
background-color: #e0f7fa;
padding: 30px 15px;
text-align: center;
border-radius: 10px;
margin-bottom: 20px;
}
.event-banner h2 {
font-weight: bold;
}
.event-banner img {
max-width: 100%;
height: auto;
}
.social-icons img {
max-width: 50px;
margin: 0 10px;
}
.post-info {
display: flex;
align-items: center;
margin-top: 20px;
font-size: 14px;
color: #555;
}
.post-info img {
border-radius: 50%;
width: 40px;
height: 40px;
margin-right: 10px;
}
.post-info .author-info {
display: flex;
flex-direction: column;
}
.post-info .author-info .name {
font-weight: bold;
color: #333;
}
.post-info .author-info .date {
font-size: 12px;
color: #888;
}
.post-info .fas {
margin-left: 5px;
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-light">
<a class="navbar-brand" href="#">
<img src="https://drive.google.com/thumbnail?id=1tn1AIacso2dnDpkUvPPGWRmhRik3udP7" alt="Logo" width="30">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Điểm Danh</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
<i class="fas fa-moon"></i>
</a>
</li>
</ul>
</div>
</nav>
<!-- Main Content -->
<div class="container">
<div id="header-text" class="main-header">
CHÀO MỪNG BẠN ĐÃ ĐẾN VỚI KHOA CÔNG NGHỆ THÔNG TIN
</div>
<!-- Post Info -->
<div class="post-info">
<img src="https://drive.google.com/thumbnail?id=1AT7gSeql7qMJZk7FmXRkc3OPzbZmyLMW" alt="Google Drive Image">
<div class="author-info">
<div class="name">Đoàn - Hội khoa Công nghệ Thông tin - STU</div>
<div class="date">16 tháng 9 • <i class="fas fa-globe"></i></div>
</div>
</div>
<!-- Event Banner -->
<div class="event-banner">
<h2>Chào Mừng TÂN SINH VIÊN 2024</h2>
<img src="https://scontent.fsgn2-11.fna.fbcdn.net/v/t39.30808-6/441051183_1020527806264288_4874995398486091282_n.png?stp=dst-jpg&_nc_cat=105&ccb=1-7&_nc_sid=86c6b0&_nc_eui2=AeHGafEZWHim4-cia4-xsARQj0w_WYOxyjePTD9Zg7HKN0WtM_w6UJjHzldllwE_ev1MUd-Vs_QFkQBkw5bJy28B&_nc_ohc=4krso1FbaK4Q7kNvgEI02b4&_nc_ht=scontent.fsgn2-11.fna&oh=00_AYBZg8pPI7jTyJygxe4Ws6vn4lq477GpxjpKJpQ8aR7ZlQ&oe=66DCB2D7" alt="Event Banner">
<p>Tháng 9 Năm 2024</p>
</div>
<!-- Footer -->
<div class="footer">
ĐOÀN KHOA - LIÊN CHI HỘI KHOA<br>
CÔNG NGHỆ THÔNG TIN - TRƯỜNG ĐẠI HỌC CÔNG NGHỆ SÀI GÒN
<div class="social-icons mt-3">
<img src="stu-logo.png" alt="STU">
<img src="doan-logo.png" alt="Đoàn">
<img src="hoisv-logo.png" alt="Hội Sinh Viên">
<img src="it-logo.png" alt="CNTT">
</div>
</div>
</div>
<!-- Bootstrap JS and dependencies -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
</body>
</html>