Repository navigation
Expand file tree
/
Copy pathother.html
More file actions
163 lines (155 loc) · 7.84 KB
/
Copy pathother.html
File metadata and controls
163 lines (155 loc) · 7.84 KB
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
<!doctype html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=1, minimum-scale=0.5">
<style>
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
</style>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
body: ['Varela Round']
}
}
}
}
</script>
<style>
.closed-indicator{
position: relative; left: -0.6rem;
}
.img-wrap {
mask-image: linear-gradient(to left, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 1) 75%);
-webkit-mask-image: linear-gradient(to left, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 75%);
background-size: cover;
background-position: -3em -2.45em;
background-repeat: no-repeat;
}
.img-text {
text-shadow: 1px 1px 2px black;
}
</style>
</head>
<body>
<div class="text-5xl text-center font-body my-10">
<p>Other Facilities</p>
</div>
<div class="flex flex-col items-center gap-10 pb-20 text-4xl font-body text-white">
<!-- Button 1 with background image -->
<button class="bg-[#06b6d4] hover:shadow-2xl rounded-lg w-96 h-32 overflow-hidden relative flex items-center justify-between p-4">
<!-- Background Image -->
<div class="img-wrap absolute inset-0" style="background-image: url(images/admissions.jpg);"></div>
<!-- Flex container to divide the text -->
<div class="relative z-10 flex w-full justify-between items-center">
<!-- Library name on the left (65% width) -->
<div class="w-2/3 text-left">
<h2 class="img-text text-3xl font-bold text-white">
Office of Undergraduate Admissions
</h2>
</div>
<!-- Opening and closing times on the right (35% width) -->
<div class="w-1/3 text-right">
<p class="text-xl text-white" id="admission-times">
9am-<br>9pm
</p>
</div>
</div>
<!-- Status icon for open/closed -->
<div class="opacity-80 text-base w-10 h-4 right-7 bottom-2 space-x-15 flex gap-1 absolute">
<p class="open-indicator text-emerald-200">Open</p>
<img class="open-indicator" src="images/check.svg"></img>
<p class="closed-indicator hidden text-neutral-300">Closed</p>
<img class="closed-indicator hidden" src="images/x.svg" style="transform: translateY(2.5px) scale(0.9);"></img>
</div>
</button>
<!-- Button 2 with background image -->
<button onclick="openWindow('health');" class="bg-[#06b6d4] hover:shadow-2xl rounded-lg w-96 h-32 overflow-hidden relative flex items-center justify-between p-4">
<!-- Background Image -->
<div class="img-wrap absolute inset-0" style="background-image: url(images/healthandwellness.jpg);"></div>
<!-- Flex container to divide the text -->
<div class="relative z-10 flex w-full justify-between items-center">
<!-- Library name on the left (65% width) -->
<div class="w-2/3 text-left">
<h2 class="img-text text-3xl font-bold text-white">
Student Health and Wellness Center
</h2>
</div>
<!-- Opening and closing times on the right (35% width) -->
<div class="w-1/3 text-right">
<p class="text-xl text-white" id="health-times">
9am-<br>5pm
</p>
</div>
</div>
<!-- Status icon for open/closed -->
<div class="opacity-80 text-base w-10 h-4 right-7 bottom-2 space-x-15 flex gap-1 absolute">
<p class="open-indicator text-emerald-200">Open</p>
<img class="open-indicator" src="images/check.svg"></img>
<p class="closed-indicator hidden text-neutral-300">Closed</p>
<img class="closed-indicator hidden" src="images/x.svg" style="transform: translateY(2.5px) scale(0.9);"></img>
</div>
</button>
<!-- Button 3 with background image -->
<button onclick="openWindow('monroe');" class="bg-[#06b6d4] hover:shadow-2xl rounded-lg w-96 h-32 overflow-hidden relative flex items-center justify-between p-4">
<!-- Background Image -->
<div class="img-wrap absolute inset-0" style="background-image: url(images/monroe.jpg);"></div>
<!-- Flex container to divide the text -->
<div class="relative z-10 flex w-full justify-between items-center">
<!-- Library name on the left (65% width) -->
<div class="w-2/3 text-left">
<h2 class="img-text text-3xl font-bold text-white">
Monroe Hall
</h2>
</div>
<!-- Opening and closing times on the right (35% width) -->
<div class="w-1/3 text-right">
<p class="text-xl text-white" id="monroe-times">
9am-<br>5pm
</p>
</div>
</div>
<!-- Status icon for open/closed -->
<div class="opacity-80 text-base w-10 h-4 right-7 bottom-2 space-x-15 flex gap-1 absolute">
<p class="open-indicator text-emerald-200">Open</p>
<img class="open-indicator" src="images/check.svg"></img>
<p class="closed-indicator hidden text-neutral-300">Closed</p>
<img class="closed-indicator hidden" src="images/x.svg" style="transform: translateY(2.5px) scale(0.9);"></img>
</div>
</button>
<!-- Button 4 with background image -->
<button onclick="openWindow('afc');" class="bg-[#06b6d4] hover:shadow-2xl rounded-lg w-96 h-32 overflow-hidden relative flex items-center justify-between p-4">
<!-- Background Image -->
<div class="img-wrap absolute inset-0" style="background-image: url(images/afc.jpg);"></div>
<!-- Flex container to divide the text -->
<div class="relative z-10 flex w-full justify-between items-center">
<!-- Library name on the left (65% width) -->
<div class="w-2/3 text-left">
<h2 class="img-text text-3xl font-bold text-white">
UVA Recreation Center (AFC)
</h2>
</div>
<!-- Opening and closing times on the right (35% width) -->
<div class="w-1/3 text-right">
<p class="text-xl text-white" id="afc-times">
9am-<br>5pm
</p>
</div>
</div>
<!-- Status icon for open/closed -->
<div class="opacity-80 text-base w-10 h-4 right-7 bottom-2 space-x-15 flex gap-1 absolute">
<p class="open-indicator text-emerald-200">Open</p>
<img class="open-indicator" src="images/check.svg"></img>
<p class="closed-indicator hidden text-neutral-300">Closed</p>
<img class="closed-indicator hidden" src="images/x.svg" style="transform: translateY(2.5px) scale(0.9);"></img>
</div>
</button>
<button onclick="location.href='index.html';" id="backbutton" class="bg-zinc-500 hover:bg-zinc-400 text-black font-bold py-3 px-8 rounded-lg shadow-lg transition-all duration-900 ease-in-out transform hover:scale-105">
Back
</button>
</div>
<script src="other1.js"></script>
<script src="sortopen2.js"></script>
</body>
</html>