-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathindex.html
124 lines (113 loc) · 5.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
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="en">
<head>
<title>TXST.EXE</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="style.css">
<script>
document.addEventListener('DOMContentLoaded', function(){
fetch('events.json')
.then(response => response.json())
.then(events => {
const eventList = document.getElementById('event-list');
for(let i = 0; i < 3; i++){
const event = events[i];
console.log(event);
const eventListItem = document.createElement('li');
eventListItem.innerHTML = `
<strong>${event.title}: </strong>${event.date}, ${event.location}
`;
eventList.appendChild(eventListItem);
}
});
});
</script>
</head>
<body>
<nav class="navbar">
<div class="container-fluid">
<div class="navbar-header">
<a href="index.html"><img src="images/exelogo.jpg" alt="logo" width="50" height="50"></a>
</div>
<ul class="nav navbar-nav">
<li class="active"><a href="about.html">About Us</a></li>
<li class="active"><a href="events.html">Events</a></li>
<li class="active"><a href="membership.html">Membership</a></li>
<li class="active"><a href="contact.html">Contact Us</a></li>
<li class="active"><a href="https://github.com/TXSTDOTEXE" target="_blank">GitHub</a></li>
</ul>
</div>
</div>
</nav>
<div class="jumbotron">
<div class="container text-center">
<h1>TXST<b>.EXE</b></h1>
<h4><i>Texas State's oldest Computer Science Club.</i></h4>
</div>
</div>
<div class="container">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<img src="images/meeting.png" alt=".EXE Meeting" style="width:100%;">
</div>
<div class="item">
<img src="images/whiteboard.png" alt="Chicago" style="width:100%">
</div>
<div class="item">
<img src="images/code.PNG" alt="New york" style="width:100%">
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<br>
<div class="container">
<p class="lead">
Welcome to the .EXE Computer Science Club, Texas State's oldest and greatest CS club on campus.
We are a community of students dedicated to learning, collaboration, and career growth. Whether you
are a seasoned coder or just starting out, our club offers something for everyone.
</p>
<a role="button" class="btn btn-primary btn-lg" href="membership.html">Join Now</a>
<a role="button" class="btn btn-primary btn-lg" href="events.html">Events</a>
<a role="button" class="btn btn-primary btn-lg" href="about.html">Learn More</a>
</div>
<br>
<div class="container">
<div class="event-teaser">
<h2 class="event-title">Join us for our next event!</h2>
<ul class="list-unstyled" id="event-list">
</ul>
<a href="events.html" class="btn btn-primary view-all-btn">View All Events</a>
</div>
</div>
<div class="container-fluid footer">
<p>Connect with us!</p>
<div id="links">
<a href="https://www.instagram.com/txst.exe/" target="_blank"><img src="images/insta.png"></a>
<a href="https://twitter.com/txstateEXE" target="_blank"><img src="images/twitter.png"></a>
<a href="https://github.com/TXSTDOTEXE" target="_blank"><img src="images/github.png"></a>
<a href="https://discord.gg/ZsCY2quZJr" target="_blank"><img src="images/discord.png"></a>
</div>
</div>
</body>
</html>