Skip to content

Commit e908c9c

Browse files
committed
feat: add some main page content
1 parent 0c45ae5 commit e908c9c

4 files changed

Lines changed: 44 additions & 2 deletions

File tree

‎content/_index.md‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,12 @@ title: Apollo
33
---
44

55
{% index_section(id="welcome") %}
6-
A quote
6+
<picture>
7+
<source srcset="/images/logomark_dark.svg" media="(prefers-color-scheme: light)">
8+
<img id="welcome-logo" src="/images/logomark.svg" alt="Apollo">
9+
</picture>
10+
11+
<p>An up to date, easy to use and privacy respecting operating system for your computer.</p>
12+
13+
<img id="landing-screenshot" src="/images/screenshots/landing_screenshot.png" alt="An Apollo desktop with the terminal open">
714
{% end %}

‎sass/_index.scss‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,44 @@ body {
3131
div.content {
3232
padding-block: 2em;
3333
}
34+
35+
p {
36+
font-size: 14pt;
37+
}
3438
}
3539

3640
div#welcome {
41+
min-height: calc(100vh - 80px);
42+
display: flex;
43+
flex-direction: column;
44+
justify-content: center;
45+
text-align: center;
46+
47+
p {
48+
margin-block: 0;
49+
}
3750

51+
div.content {
52+
display: flex;
53+
flex-direction: column;
54+
justify-content: center;
55+
text-align: center;
56+
gap: 1.5em;
57+
}
58+
59+
img#welcome-logo {
60+
max-height: 80px;
61+
}
62+
63+
$landing-screenshot-shadow: 0px 0px 15px 2px;
64+
65+
img#landing-screenshot {
66+
width: 90%;
67+
max-width: 750px;
68+
border-radius: min(calc(2.5vw), 24px);
69+
border: min(calc(2vw), 18px) solid #111115;
70+
margin-inline: auto;
71+
box-shadow: $landing-screenshot-shadow rgba(0, 0, 0, 0.7);
72+
}
3873
}
3974
}
1.35 MB
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section>
22
<div {% if id %} id="{{id}}" {% endif %}class="index-section">
33
<div class="content">
4-
{{body}}
4+
{{ body | safe }}
55
</div>
66
</div>
77
</section>

0 commit comments

Comments
 (0)