Skip to content

Commit 2ac6860

Browse files
committed
Add press page with print resources
1 parent c0858fa commit 2ac6860

File tree

8 files changed

+117
-2
lines changed

8 files changed

+117
-2
lines changed

_data/press.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
resources:
2+
- title: Flyer / Poster
3+
author: Zughy
4+
img: flyer.png
5+
para: A flyer to promote Minetest.
6+
url: https://gitlab.com/marco_a/minetest-flyer-poster
7+
8+
- title: Education Leaflet
9+
author: Lemente and Thomate
10+
img: edu_leaflet.png
11+
para: A leaflet to promote Minetest in Education.
12+
url: https://gitlab.com/rubenwardy/fosdem24/-/tree/main/edu_leaflet?ref_type=heads
13+
14+
- title: Roller banner
15+
author: Thomate
16+
img: roller_banner.png
17+
para: A rollup banner to use at conferences
18+
url: ""
19+
20+
- title: Presentation Flipbook
21+
author: rubenwardy
22+
img: showcase.png
23+
para: A showcase of the content Minetest has to offer.
24+
url: https://gitlab.com/rubenwardy/fosdem24/-/tree/main/flipbook?ref_type=heads
25+
26+
- title: Stickers
27+
author: erlehmann and Lemente
28+
img: sticker.png
29+
para: A Minetest sticker.
30+
url: https://gitlab.com/rubenwardy/fosdem24/-/tree/main/stickers?ref_type=heads

_includes/footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<div class="column is-6-mobile">
66
<h5 class="footer-title">Minetest</h5>
77
<ul class="list-unstyled">
8-
<li><a href="{{ '/#features' | relative_url }}">Features</a></li>
98
<li><a href="{{ '/downloads/' | relative_url }}">Downloads</a></li>
109
<li><a href="https://blog.minetest.net/">News</a></li>
1110
<li><a href="{{ '/credits/' | relative_url }}">Credits</a></li>
1211
<li><a href="{{ '/education/' | relative_url }}">For Education</a></li>
1312
<li><a href="/app-privacy-policy/">Privacy Policy</a></li>
13+
<li><a href="/press/">Press Kit / Posters / Stickers</a></li>
1414
</ul>
1515
</div>
1616

_sass/_home.scss

+9
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,12 @@
3939
margin-top: 2.25rem;
4040
margin-bottom: 0.9rem;
4141
}
42+
43+
dl.is-horizontal {
44+
display: grid;
45+
grid-template-columns: auto 1fr;
46+
47+
dt, dd {
48+
display: block;
49+
}
50+
}

education.html

+17-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
layout: default
55
---
66

7-
<h1 class="title main-title">Minetest for Education</h1>
7+
<h1 class="title main-title">{{ page.title }}</h1>
88

99
<section class="section">
1010
<div class="container">
@@ -85,6 +85,22 @@ <h2 class="title is-4">Minetest Edu Discord (unofficial)</h2>
8585
</div>
8686
</section>
8787

88+
<section class="section">
89+
<div class="container">
90+
<h2 id="leaflet" class="title">Leaflet</h2>
91+
<p class="my-4">
92+
Need a print version of this page? See the "Minetest in Education"
93+
leaflet.
94+
</p>
95+
<p>
96+
<a class="button is-primary"
97+
href="https://gitlab.com/rubenwardy/fosdem24/-/tree/main/edu_leaflet?ref_type=heads">
98+
"Minetest in Education" leaflet
99+
</a>
100+
</p>
101+
</div>
102+
</section>
103+
88104
<section class="section">
89105
<div class="container">
90106
<h2 id="resources" class="title">Working on an edu project?</h2>

media/press/flyer.png

37.2 KB
Loading

media/press/showcase.png

104 KB
Loading

media/press/sticker.png

36.9 KB
Loading

press.html

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: Press Kit
3+
layout: default
4+
---
5+
6+
<h1 class="title main-title">{{ page.title }}</h1>
7+
8+
<section class="section">
9+
<div class="container">
10+
<h2 id="branding" class="title">Branding</h2>
11+
<div class="columns">
12+
<div class="column content">
13+
<h3 id="colors">Colors</h3>
14+
<dl class="is-horizontal">
15+
<dt>Primary</dt>
16+
<dd><span class="tag is-black" style="background-color: #53ac56;">#53ac56</span></dd>
17+
</dl>
18+
</div>
19+
<div class="column content">
20+
<h3 id="logo">Logo</h3>
21+
<ul>
22+
<li>
23+
<a href="https://raw.githubusercontent.com/minetest/minetest/master/misc/minetest.svg">
24+
Color .SVG
25+
</a>
26+
</li>
27+
</ul>
28+
</div>
29+
</div>
30+
</div>
31+
</section>
32+
33+
<section class="section" style="background-color: #f0f0f0;">
34+
<div class="container">
35+
<h2 id="resources" class="title">Resources</h2>
36+
37+
<div class="columns is-multiline">
38+
{% for point in site.data.press.resources %}
39+
<a class="column is-one-third hover-enlarge" href="{{ point.url }}" rel="nofollow">
40+
<div class="card">
41+
<div class="card-image">
42+
<figure class="image is-16by9">
43+
<img src="/media/press/{{ point.img }}"
44+
style="object-fit: {{ point.fit | default: 'contain' }}; background: #333;"
45+
alt="{{ point.img_alt | default: point.title }}">
46+
</figure>
47+
</div>
48+
<div class="card-content">
49+
<h3 class="title is-4">{{ point.title }}</h3>
50+
<h6 class="subtitle is-6">{{ point.author }}</h6>
51+
<p>
52+
{{ point.para }}
53+
</p>
54+
</div>
55+
</div>
56+
</a>
57+
{% endfor %}
58+
</div>
59+
</div>
60+
</section>

0 commit comments

Comments
 (0)