-
Notifications
You must be signed in to change notification settings - Fork 2
/
events.html
177 lines (156 loc) · 5.82 KB
/
events.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculate</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="NativeStyle.css">
<link rel="stylesheet" href="Contents/Footer.css">
<style>
/* Styles for the event section */
.event-section {
background-color: #f8f4f4;
padding: 40px 20px;
text-align: center;
}
.event-title {
font-size: 32px;
font-weight: bold;
color: #333;
margin-bottom: 30px;
}
.event-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.event-card {
width: 300px;
margin: 20px 10px;
padding: 15px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.event-card:hover {
transform: translateY(-5px);
}
.event-image {
width: 100%;
max-height: 200px;
object-fit: cover;
border-radius: 8px;
margin-bottom: 10px;
}
.event-description {
color: #555;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/boxicons.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
// Initial text
document.querySelector('.banner_text').innerText = "To know about your payment";
// Array of messages to loop through
const messages = [
"To know about university",
"To know about all events",
"To know about all degrees"
];
let index = 0;
// Set interval to change text every 5 seconds
const intervalId = setInterval(function() {
document.querySelector('.banner_text').innerText = messages[index];
index = (index + 1) % messages.length; // Move to the next message, loop back to the start if at the end
}, 2000);
});
</script>
</head>
<body>
<div class="top">
<div class="banner">
<img src="Source/Open sesame.png" alt="banner">
<div class="banner_text">To know about your full payment</div>
</div>
</div>
<div class="middle">
General Inquiries: (+94) 011 2881 000
Exams/Certificates: (+94) 11-2881461 | (+94) 11-2881040
</div>
<header class="header">
<nav class="navbar">
<a href="Home.html" style="--i:0;">Home</a>
<a href="Calculate.html" style="--i:1;">Calculate</a>
<a href="article.html" style="--i:2;">Article</a>
<a href="events.html" style="--i:3;">Events</a>
<a href="aboutus.html" style="--i:4;">About Us</a>
</nav>
</header>
<!-- Event Section -->
<div class="event-section">
<div class="event-title">Latest Event Highlights</div>
<div class="event-container">
<!-- Event 1 -->
<div class="event-card">
<img src="Source/SoftFest.jpg" alt="Event 1" class="event-image">
<h3>SOFTFEST</h3>
<p class="event-description"><a href="softfest.html">Click to know more..</a></p>
</div>
<!-- Event 2 -->
<div class="event-card">
<img src="Source/Artgallery.jpg" class="event-image">
<h3>ART GALLERY</h3>
<p class="event-description"><a href="art.html">Click to know more..</a></p>
</div>
<div class="event-card">
<img src="event2.jpg" class="event-image">
<h3>ART GALLERY</h3>
<p class="event-description"><a href="event1-details.html">Click to know more..</a></p>
</div>
<!-- Add more events as needed -->
</div>
</div>
<br>
<br>
<br>
<div class="event-title">Stay tuned for our upcoming events!</div>
<!-- End of Event Section -->
<footer class="footer">
<div class="footer-container">
<div class="footer-column">
<h3>Contact Us</h3>
<p>Email: [email protected]</p>
<p>Phone: (+94) 011 2881 000</p>
</div>
<div class="footer-column">
<h3>Follow Us</h3>
<div class="social-icons">
<a href="#" class="fa fa-facebook"></a>
<a href="#" class="fa fa-twitter"></a>
<a href="#" class="fa fa-instagram"></a>
<a href="#" class="fa fa-linkedin"></a>
</div>
</div>
<div class="footer-column">
<h3>Quick Links</h3>
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="Calculate.html">Calculate</a></li>
<li><a href="article.html">Article</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="aboutus.html">About Us</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>© 2024 Open Sesame. All rights reserved.</p>
</div>
</footer>
</body>
</html>