Skip to content

Commit b72a56c

Browse files
authored
stub a home page (#105)
* add a super basic home page text welcomes people and links to key sections * redirect to prep now it's moved
1 parent 360c761 commit b72a56c

File tree

4 files changed

+31
-9
lines changed

4 files changed

+31
-9
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.c-splash {
2+
// background: var(--theme-color--ink);
3+
// color: var(--theme-color--paper);
4+
5+
@include backdrop(true, true, 0.6);
6+
border-top: var(--theme-spacing--gutter) solid var(--theme-color--pop);
7+
border-radius: 8px 8px 2px 2px;
8+
padding: var(--theme-spacing--gutter);
9+
max-width: var(--theme-spacing--linelength);
10+
font: var(--theme-font--system);
11+
12+
strong,
13+
a {
14+
font-size: var(--theme-type-size--4);
15+
font-weight: 700;
16+
}
17+
strong {
18+
color: var(--theme-color--pop);
19+
display: block;
20+
line-height: 2;
21+
}
22+
}

website/content/_index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
+++
2+
title="Immersive Engineering Programme"
3+
+++
4+
5+
-> % We are [Code Your Future](https://codeyourfuture.io) and, whoever _you_ are, you are welcome here.
6+
7+
**Learn** more [about CYF+](/about), **follow** a [suggested path](/versions/1-0-0) through our [projects](/projects), and [primers](/primers/), and **join** us in [developing](/about/contributing) more.

website/layouts/index.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@ <h1 class="c-page-header__title e-heading__1">{{.Title}}</h1>
66
</div>
77
</header>
88

9-
{{.Content}}
9+
<section class="c-splash">{{.Content}}</section>
1010
</article>
11-
<nav class="c-toc">
12-
<ul>
13-
<li><a href="{{.Site.BaseURL}}about">About</a></li>
14-
<li><a href="{{.Site.BaseURL}}versions">Versions</a></li>
15-
<li><a href="{{.Site.BaseURL}}projects">Projects</a></li>
16-
<li><a href="{{.Site.BaseURL}}primers">Primers</a></li>
17-
</ul>
18-
</nav>
1911
{{ end }}

website/static/_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# https://docs.netlify.com/routing/redirects/
22

33
/contributing.md /about/contributing.md 302
4+
/prep/README.md /prep/readme 302

0 commit comments

Comments
 (0)