Skip to content

Commit 7d3a978

Browse files
committed
feat: landing optimizations
1 parent 3db7aa8 commit 7d3a978

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

landing/index.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
src: url('assets/geist.woff2') format('woff2');
1616
font-style: normal;
1717
font-weight: 100 900;
18+
font-display: swap;
1819
}
1920

2021
:root {
@@ -25,12 +26,13 @@
2526
}
2627

2728
body {
28-
font-family: Geist, serif;
29+
font-family: Geist, sans-serif;
2930
font-optical-sizing: auto;
3031
font-feature-settings: normal;
3132
font-variation-settings: normal;
3233
text-rendering: optimizeLegibility;
3334
-webkit-font-smoothing: antialiased;
35+
line-height: 1.3rem;
3436

3537
background-color: var(--background-color);
3638
color: var(--text-color);
@@ -105,10 +107,12 @@
105107
border-radius: 5px;
106108
border: solid 1px var(--border-color);
107109
width: 100%;
110+
height: 100%;
108111
}
109112

110113
#poster-img {
111114
width: auto;
115+
height: 100%;
112116
}
113117

114118
header {
@@ -136,7 +140,7 @@
136140

137141
#subtitle {
138142
transform: translateX(-0.1rem);
139-
margin: 0 0 1.5rem 0;
143+
margin: 0rem 0 1.5rem 0;
140144
color: var(--muted-text-color);
141145
}
142146

@@ -253,8 +257,8 @@ <h5>("eye" in Polish)</h5>
253257
</div>
254258
<div id="img-col">
255259
<!-- TODO: Replace placeholder images -->
256-
<img id="demo-img" src="assets/demo_placeholder.webp" alt="Oko demo">
257-
<img id="poster-img" src="assets/poster_placeholder.webp" alt="Oko poster" style="display: none;">
260+
<img id="demo-img" src="assets/demo_placeholder.webp" width="3284" height="2016" alt="Oko demo">
261+
<img id="poster-img" src="assets/poster_placeholder.webp" width="1357" height="1920" alt="Oko poster" style="display: none;">
258262
</div>
259263
</div>
260264
<script>

0 commit comments

Comments
 (0)