-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
114 lines (106 loc) · 3.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SADAS'24</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header >
<nav class="head">
<div class="logo">
<a href="index.html">SADAS'24</a>
</div>
<div class="nav-links">
<a href="event.html">Events</a>
<a href="about.html">About</a>
<a href="contact.html">Contact</a>
</div>
<div>
</div>
</nav>
</header>
<main>
<section class="hero">
<div class="hero-content">
<h1>SADAS'24</h1>
<p>A National Level Conference Conducted by<br>Department of CSE At SKP Engineering College<br><span class="red"> on 25th April </span></p>
<div id="countdown">
<div class="countdown-item">
<span id="days">00</span>
<p>Days</p>
</div>
<div class="countdown-item">
<span id="hours">00</span>
<p>Hours</p>
</div>
<div class="countdown-item">
<span id="minutes">00</span>
<p>Minutes</p>
</div>
<div class="countdown-item">
<span id="seconds">00</span>
<p>Seconds</p>
</div>
</div>
<a href="#"><button>Register Now</button></a>
<br> <br> <br> <br>
</div>
<div class="background-video">
<video autoplay loop muted>
<source src="vid.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
</section>
<section class="news-section">
<div class="news-card">
<div class="news-content">
<div>
<span class="red-text">Registration Fee - ₹200</span>
</div>
</div>
<div>
<p>Last Date of Registration is on 24-04-2024 - 23:59pm</p>
</div>
</div>
</section>
</main>
<footer>
<div class="social-media">
<a href="#"><img src="img/fb.png" alt="Facebook"></a>
<a href="#"><img src="img/x.png" alt="Twitter"></a>
<a href="#"><img src="img/insta.png" alt="Instagram"></a>
<!-- Add more social media icons and links as needed -->
</div>
<p>© Dev by Ezhil</p>
</footer>
<script>
// Set the date we're counting down to (April 25, 2024)
var countDownDate = new Date("jun 10, 2028 00:00:00").getTime();
// Update the count down every 1 second
var x = setInterval(function() {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Output the result in an element with id="countdown"
document.getElementById("days").innerHTML = days;
document.getElementById("hours").innerHTML = hours;
document.getElementById("minutes").innerHTML = minutes;
document.getElementById("seconds").innerHTML = seconds;
// If the count down is over, write some text
if (distance < 0) {
clearInterval(x);
document.getElementById("countdown").innerHTML = "Symposium is Live!";
}
}, 1000);
</script>
</body>
</html>