-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
173 lines (145 loc) · 4.24 KB
/
Copy pathindex.html
File metadata and controls
173 lines (145 loc) · 4.24 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
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Skip the splash if home.html was visited in the last 20 minutes -->
<script>
(function () {
var STORAGE_KEY = "argefc:lastVisit";
var RECENT_VISIT_WINDOW = 20 * 60 * 1000; // 20 minutes
try {
var lastVisit = window.localStorage.getItem(STORAGE_KEY);
if (lastVisit && Date.now() - Number(lastVisit) < RECENT_VISIT_WINDOW) {
window.location.replace("/home.html");
}
} catch (error) {
// localStorage unavailable — fall back to showing the intro.
}
})();
</script>
<meta
name="viewport"
content="width=device-width, initial-scale=1, viewport-fit=cover"
>
<!-- Static green (the splash's resting color), not synced to
the orange-to-green animation: Safari reads theme-color
once at load and doesn't reliably react to later JS
changes, so animating it was never actually taking
effect on the notch/toolbar area anyway. -->
<meta
name="theme-color"
content="#195c33"
>
<title>ARGE FC</title>
<meta
name="description"
content="Association of small architecture offices to beat the big ones!"
>
<meta property="og:type" content="website">
<meta property="og:url" content="https://argefc.com/">
<meta property="og:title" content="ARGE FC">
<meta
property="og:description"
content="Association of small architecture offices to beat the big ones!"
>
<meta property="og:image" content="https://argefc.com/resources/og-image.jpg">
<!-- Prevents a background flash before style.css loads. Only
body gets a color — html is deliberately left unset here
too, so the browser keeps falling back to body's color
for the safe-area strips (see the comment on html in
style.css). -->
<style>
body {
background-color: #de7628;
}
</style>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Oswald:wght@600;700&display=swap"
>
<!-- Warms the cache for home.html's font, so it's already
loaded by the time the visitor clicks through. -->
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap"
>
<link
rel="preload"
as="image"
href="/resources/logo.png"
>
<link rel="stylesheet" href="./style.css">
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/resources/favicon-32.png"
>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/resources/apple-touch-icon.png"
>
</head>
<body>
<main class="hero">
<h1 class="sr-only">ARGE FC</h1>
<a
class="entry-link"
id="intro-trigger"
href="/home.html"
aria-label="Enter ARGE FC"
aria-disabled="true"
tabindex="-1"
>
<div class="entry-visual">
<div class="logo">
<img
class="logo-image"
src="/resources/logo.png"
alt=""
width="4146"
height="4147"
fetchpriority="high"
>
</div>
<div class="sticker">
ASSOCIATION OF<br>
SMALL OFFICES TO BEAT<br>
THE BIG ONES!
</div>
</div>
<!-- Attention nudge: tied to the bee's own box, scales with it -->
<div class="nudge-hint">
<span class="nudge-text">Click to enter</span>
<svg
class="nudge-arrow"
viewBox="0 35 400 240"
focusable="false"
>
<path
d="M 350 70 C 260 85, 150 150, 78 232"
fill="none"
stroke="#111111"
stroke-width="10"
stroke-linecap="round"
/>
<path
d="M 130 225 L 78 232 L 95 178"
fill="none"
stroke="#111111"
stroke-width="10"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</div>
</a>
</main>
<!-- Full-page dim while the nudge is showing -->
<div class="intro-nudge-overlay" aria-hidden="true"></div>
<script src="./script.js"></script>
</body>
</html>