-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvsflrvkn.html
197 lines (169 loc) · 4.42 KB
/
vsflrvkn.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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IJSE Contact</title>
</head>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
}
.container {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 90vh;
width: 90vw;
padding: 20px;
background-color: #4aa4ff;
/*background-image: url(*/
background-repeat: repeat;
background-size: 200px;
margin: auto;
border-radius: 10px;
box-shadow:0 0 10px rgb(0, 0, 0);
transform: translateY(10px);
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
}
.logo {
font-size: 24px;
font-weight: bold;
}
.social-icons {
display: flex;
gap: 10px;
}
.social-icons a {
text-decoration: none;
color: #333;
font-size: 20px;
}
.content {
display: flex;
gap: 40px;
justify-content: center;
align-items: flex-start;
padding: 20px;
flex-wrap: wrap;
}
.contact-info {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.contact-info h2 {
font-size: 20px;
margin-bottom: 10px;
}
.contact-info p {
margin-bottom: 5px;
}
.resources {
display: flex;
flex-direction: column;
}
.resources h2 {
font-size: 20px;
margin-bottom: 10px;
}
.resources ul {
list-style: none;
padding: 0;
}
.resources li {
margin-bottom: 5px;
}
.footer {
background-color: transparent;
border-top: black 1px solid;
padding: 10px 0;
text-align: center;
}
.footer p {
margin: 0;
font-size: 14px;
}
#Stay-connect-btn{
background: #f0f0f0;
border: transparent;
border-radius: 10px;
font-size: 20px;
width: 10vw;
height: 5vh;
}
/* Responsive styles */
@media (max-width: 768px) {
.content {
flex-direction: column;
}
.contact-info, .resources {
margin-bottom: 20px;
}
}
</style>
<body>
<div class="container">
<div class="header">
<div class="logo"><button id="Stay-connect-btn">Stay Connect</button></div>
<div class="social-icons">
<a href="#" target="_blank">❤️<i class="fab fa-instagram"></i></a>
<a href="#" target="_blank">❤️<i class="fab fa-twitter"></i></a>
<a href="#" target="_blank">❤️<i class="fab fa-facebook-f"></i></a>
<a href="#" target="_blank">❤️<i class="fab fa-youtube"></i></a>
<a href="#" target="_blank">❤️<i class="fab fa-tiktok"></i></a>
</div>
</div>
<div class="content">
<div class="contact-info">
<h2>PHONE</h2>
<p>+94 711 202 202</p>
<h2>ADDRESS</h2>
<p>#50B, Grace Peiris Road, Panadura.</p>
<h2>E-mail</h2>
<p>[email protected]</p>
</div>
<div class="resources">
<h2>Resources</h2>
<ul>
<li><a href="#">Blog</a></li>
<li><a href="#">Guides & tutorials</a></li>
<li><a href="#">Help center</a></li>
</ul>
</div>
</div>
<div class="footer">
<p>Copyright © 2024 - SE10 - IJSE All Right Reserved</p>
<p>Developed by: GDSE 67 of IJSE</p>
</div>
</div>
<a href="#" class="back-to-top">
<i class="fas fa-arrow-up"></i>
</a>
<script>
// Back to top button functionality
const backToTopButton = document.querySelector('.back-to-top');
// Add event listener to show/hide button based on scroll position
window.addEventListener('scroll', () => {
if (window.pageYOffset > 100) {
backToTopButton.style.display = 'block';
} else {
backToTopButton.style.display = 'none';
}
});
// Add event listener to scroll to top when button is clicked
backToTopButton.addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
</script>
</body>
</html>