forked from nst-sdc/DevClub-Site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
161 lines (159 loc) · 4.99 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NST-SDC</title>
<link rel="stylesheet" href="/home.css">
</head>
<body>
<div class="body">
<!-------------header------------>
<header>
<h1>NST-SDC</h1>
<h3>Code, Create, Connect!</h3>
<div id="date-time"></div>
</header>
<hr>
<div class="nav">
<div class="nav-item">
<a href="/home.html">Home</a>
</div>
<div class="nav-item">
<a href="/about.html">About</a>
</div>
<div class="nav-item">
<a href="/events.html">Events</a>
</div>
<div class="nav-item">
<a href="/gallery.html">Gallery</a>
</div>
<div class="nav-item">
<a href="/contact.html">Contact</a>
</div>
</div>
<!-------------/header/------------>
<hr>
<!-------------Hero Section------------>
<h3 style="margin-left: 30px;"><u>Our Club</h3>
<div class="herosection">
<div class="slider">
<div class="slides">
<div class="container">
<img src="/photos/heroimg1.jpeg" class="img">
<div class="button-container">
<button class="load-more">Load more</button>
<button class="learn-more">Learn more</button>
</div>
</div>
<div class="container">
<img src="/photos/heroimg2.jpeg" class="img">
<div class="button-container">
<button class="load-more">Load more</button>
<button class="learn-more">Learn more</button>
</div>
</div>
<div class="container">
<img src="/photos/heroimg3.jpeg" class="img">
<div class="button-container">
<button class="load-more">Load more</button>
<button class="learn-more">Learn more</button>
</div>
</div>
</div>
</div>
</div>
<!-------------/Hero Section----------->
<hr>
<hr>
<!-------------events------------>
<h3 style="margin-left: 30px;"><u>Upcoming Events</h3>
<div class="events">
<div class="slider">
<div class="slides">
<div>
<img src="/photos/event1.jpeg" class="img">
<p>•Event:Lorem Ipsum<br>•Date: xx.xx.xxxx<br>•Details:this is our 1st event held by NST-SDC</p>
</div>
<div>
<img src="/photos/event2.jpeg" class="img">
<p>•Event:Lorem Ipsum<br>•Date: xx.xx.xxxx<br>•Details:this is our 2nd event held by NST-SDC</p>
</div>
<div>
<img src="/photos/event3.jpeg" class="img">
<p>•Event:Lorem Ipsum<br>•Date: xx.xx.xxxx<br>•Details:this is our 3rd event held by NST-SDC</p>
</div>
<div>
<img src="/photos/event4.jpeg" class="img">
<p>•Event:Lorem Ipsum<br>•Date: xx.xx.xxxx<br>•Details:this is our 4th event held by NST-SDC</p>
</div>
</div>
</div>
</div>
<!-------------/events------------>
<hr>
<hr>
<!-- News -->
<h3 style="margin-left: 30px;"><u>News</h3>
<div class="news">
<div>
<h4>News</h4>
<p>lorem Ipsum iugwuidgvbdacuobjeougadjfbadfgouahf hwdgiugadugfeqfuoeqhfu</p>
<button><a href="#">Read More</a></button>
</div>
<div>
<h4>News</h4>
<p> lorem Ipsum iugwuidgvbdacuobjeougadjfbadfgouahf hwdgiugadugfeqfuoeqhfu</p>
<button><a href="#">Read More</a></button>
</div>
<div>
<h4>News</h4>
<p>l orem Ipsum iugwuidgvbdacuobjeougadjfbadfgouahf hwdgiugadugfeqfuoeqhfu</p>
<button><a href="#">Read More</a></button>
</div>
<div>
<h4>News</h4>
<p>lorem Ipsum iugwuidgvbdacuobjeougadjfbadfgouahf hwdgiugadugfeqfuoeqhfu</p>
<button><a href="#">Read More</a></button>
</div>
</div>
<!-- /events -->
<hr>
<hr>
<!-- footer -->
<div class="footer">
<footer>
<div class="footer-content">
<p>© 2024 NST-SDC: All rights reserved</p>
<div class="social-icons">
<img src="/photos/github.png" alt="GitHub" class="img">
<img src="/photos/instagram.png" alt="Instagram" class="img">
<img src="/photos/discord.png" alt="Discord" class="img">
<img src="/photos/youtube.png" alt="YouTube" class="img">
</div>
</div>
</footer>
</div>
<!-- /footer -->
</div>
</body>
<script>
// Function to update date and time
function updateDateTime() {
const now = new Date();
const options = {
weekday: 'long',
year: 'numeric',
month: 'long',
day: 'numeric',
hour: '2-digit',
minute: '2-digit',
second: '2-digit'
};
document.getElementById('date-time').textContent = now.toLocaleDateString('en-US', options);
}
// Initial call to set the date and time
updateDateTime();
setInterval(updateDateTime, 1000);
</script>
</html>