-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmockup.html
165 lines (159 loc) · 5.41 KB
/
mockup.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=yes"
/>
<title>Header Mockup</title>
<link rel="stylesheet" href="./css/mockup.css"/>
<!-- universal header/footer files start -->
<link
id="ukl-header-styles"
rel="stylesheet"
href="./css/global_header_footer.css"
media="all"
/>
<script
id="ukl-header-script"
type="module"
<script
id="ukl-header-script"
type="module"
src="./js/universalHeader.js"
data-base_path="libcal"
onerror="
(() => {
this_script = document.querySelector('#ukl-header-script');
// Use the fallback css
const styles = document.querySelector('#ukl-header-styles');
styles.href='https://cdn.jsdelivr.net/gh/uklibraries/UKL_HeaderFooter@main/css/global_header_footer.css'
// Create a new script and use fallback js
const script = document.createElement('script');
script.id = 'ukl-header-script';
script.type = 'module';
script.src = 'https://cdn.jsdelivr.net/gh/uklibraries/UKL_HeaderFooter@main/js/universalHeader.js';
script.dataset.base_path = this_script.dataset.base_path;
document.head.appendChild(script);
// Remove footer script and footer
const old_footer=document.querySelector('#ukl-footer');
if (old_footer) old_footer.remove();
const old_footer_script=document.querySelector('#ukl-footer-script');
if (old_footer_script) old_footer_script.remove();
// Create a new footer script and use fallback js
const footer_script = document.createElement('script');
footer_script.src='https://cdn.jsdelivr.net/gh/uklibraries/UKL_HeaderFooter@main/js/comboFooterShared.js';
document.body.appendChild(footer_script);
console.warn('The fallback needed to be deployed');
if (this_script) this_script.remove();
})();
"
></script>
<!-- universal header/footer files end -->
</head>
<body id="home">
<main>
<div class="main-section">
<div class="main-story">
<h1>Example article section</h1>
<img
class="image-large"
src="./mockup-assets/fallMemorial.jpg"
alt="image of William T. Young"
/>
<caption>The Example image is Memorial Hall at the University of Kentucky</caption>
<time>May 21st, 2024</time>
<p>
Nestled in the heart of the University of Kentucky, the Example
Library stands as a beacon of knowledge and discovery. With its
vast collection of resources and state-of-the-art facilities, it
offers an unparalleled environment for students, researchers, and
visitors alike. Whether you are delving into historical archives,
exploring cutting-edge scientific publications, or simply seeking
a quiet place to study, the Example Library provides a welcoming
and intellectually stimulating atmosphere. Embracing both
tradition and innovation, it is a cornerstone of the academic
community, fostering learning and growth for all who enter its
doors.
</p>
</div>
<div class="example-articles">
<div class="small-section">
<img
class="image-small"
src="./mockup-assets/willyT.jpg"
alt="willyt"
/>
<div class="text-section">
<div>
<h3>Some example content</h3>
<time>May 20th, 2024</time>
<p>
Nestled in the heart of the University of Kentucky, the
Example Library stands as a beacon of knowledge...
</p>
</div>
<span class="read-more">more</span>
</div>
</div>
<div class="small-section">
<img
class="image-small"
src="./mockup-assets/willyT.jpg"
alt="willyt"
/>
<div class="text-section">
<div>
<h3>An example highlighting some example content</h3>
<time>> May 20th, 2024</time>
<p>
Nestled in the heart of the University of Kentucky, the
Example Library stands as a beacon of knowledge...
</p>
</div>
<span class="read-more">more</span>
</div>
</div>
<div class="all-stories">
Read All Stories
</div>
</div>
</div>
<div>
<div class="last-section">
<div class="image-section">
<img
class="image-small"
src="./mockup-assets/dramaticSquirrel.JPG"
alt="A rather dramatic image of a squirrel"
/>
<h3>We have the most dramatic wildlife</h3>
<span>> Come see the animals</span>
</div>
<div class="image-section">
<img
class="image-small"
src="./mockup-assets/musicalCat.JPG"
alt="A rather dramatic image of a squirrel"
/>
<h3>We have the most musical mascots</h3>
<span>> Learn to play piano</span>
</div>
<div class="image-section">
<img
class="image-small"
src="./mockup-assets/festiveDog.JPG"
alt="A rather dramatic image of a squirrel"
/>
<h3>We have the most festive pets</h3>
<span>> Play with bunnies</span>
</div>
</div>
</div>
</main>
<!-- universal header/footer file part 2 start -->
<script id="ukl-footer-script" src="./js/comboFooterShared.js"></script>
<!-- universal header/footer files part 2 end -->
</body>
</html>