-
-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathheader.njk
More file actions
102 lines (101 loc) · 5.72 KB
/
header.njk
File metadata and controls
102 lines (101 loc) · 5.72 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
<header>
<section class="hero">
<div class="hero-head">
<nav class="container">
<div class="navbar">
<a href="{{ '/' | url }}">
<svg viewBox="0 0 376.77 135.47" xmlns="http://www.w3.org/2000/svg" class="home" role="img" aria-label="PolyMC">
<defs>
<linearGradient id="a" x1="4.498" x2="12.435" y1="3.801" y2="9.568" gradientUnits="userSpaceOnUse">
<stop stop-color="#88b858" offset="0"/>
<stop stop-color="#72b147" offset=".5"/>
<stop stop-color="#5a9a30" offset="1"/>
</linearGradient>
</defs>
<path d="M42.375 118.668s0-24.797 34.094-24.797c34.103 0 34.094 24.797 34.094 24.797z" fill="#765338"/>
<path d="M76.47 93.872 42.376 118.67 21.304 53.751z" fill="#b7835a"/>
<path d="m76.47 93.872 55.165-40.121-21.072 64.918z" fill="#5b422d"/>
<path d="m79 95.709-2.53 1.84-2.532-1.84c0-1.84 2.531-1.84 2.531-1.84s2.531 0 2.531 1.84z" fill="#72b147"/>
<path
d="M76.47 93.872s0-40.121 55.165-40.121l-1.564 4.819-6.384 8.324-6.384.962-6.383 8.324-6.384.961-6.384
8.325-6.384.961-6.384 8.324-6.383.962z"
fill="#5a9a30"/>
<path
d="m73.938
95.709-6.383-.961-6.384-8.325-6.384-.961-6.384-8.324-6.384-.962-6.383-8.324-6.384-.962-6.384-8.324-1.564-4.819c55.165 0
55.165 40.121 55.165 40.121z"
fill="#88b858"/>
<path
d="m.53 6.685 7.937 5.766 7.937-5.766L8.467.918z"
fill="url(#a)"
transform="matrix(6.95 0 0 6.9572 17.626 7.241)"/>
<path d="m22.868 58.567-1.564-4.82L76.469 93.87l55.166-40.122-1.564 4.82L76.47 97.55z" fill="none"/>
<g fill="currentColor" stroke-width=".265">
<g stroke-width=".01">
<path d="M168.153 47.323q5.434 0 9.287 1.858 3.852 1.788 5.916 5.228 2.133 3.44 2.133 8.324 0 2.958-.895 5.847-.894 2.82-2.889
5.16-1.926 2.27-5.09 3.646t-7.705 1.375h-7.361v18.3h-6.673V47.322zm.688 25.041q2.958 0 4.884-.963 1.927-.963 3.027-2.408
1.1-1.513 1.582-3.164.482-1.651.482-2.958
0-1.514-.482-3.096-.481-1.651-1.65-2.958-1.101-1.376-2.959-2.202-1.788-.894-4.471-.894h-7.705v18.643zM187.49 82.6q0-4.265
1.994-7.705 2.064-3.44 5.641-5.434 3.577-1.995 8.118-1.995 4.678 0 8.186 1.995 3.509 1.995 5.435 5.434 1.926 3.44 1.926
7.705t-1.926 7.773q-1.926 3.44-5.503 5.435-3.509 1.995-8.187 1.995-4.54
0-8.118-1.857-3.508-1.927-5.572-5.298-1.995-3.44-1.995-8.048zm6.397.07q0 2.751 1.238 5.021 1.238 2.202 3.302 3.509 2.133
1.307 4.678 1.307 2.683 0 4.747-1.307 2.133-1.307 3.302-3.509 1.17-2.27 1.17-5.022
0-2.752-1.17-4.953-1.17-2.27-3.302-3.577-2.064-1.376-4.747-1.376-2.614 0-4.747 1.376-2.063 1.376-3.302 3.646-1.17
2.201-1.17 4.884zM223.251 43.858h6.398v53.246h-6.398zM238.914 110.808l18.78-42.17h5.917l-18.368
42.17zm7.017-13.484-13.69-28.687h7.223l11.489 25.453zM266.775 97.085V51.2h.063l23.855 33.774-3.043-.67L311.384
51.2h.122v45.885h-7.06v-29.88l.487 3.59-16.065 22.7h-.122l-16.31-22.7 1.218-3.286v29.576zM352.299 93.62q-.974.67-2.921
1.643-1.887.973-4.564
1.704-2.617.67-5.843.608-5.172-.062-9.31-1.825-4.138-1.826-6.999-4.869-2.86-3.104-4.442-7.06-1.522-4.016-1.522-8.52
0-5.05 1.583-9.25t4.503-7.241q2.921-3.104 6.938-4.808 4.016-1.704 8.763-1.704 4.199 0 7.485 1.156 3.347 1.096 5.598
2.496l-2.799 6.633q-1.704-1.156-4.26-2.313-2.556-1.156-5.781-1.156-2.921 0-5.599 1.217-2.678 1.156-4.686 3.347-2.008
2.13-3.225 4.99-1.156 2.86-1.156 6.208 0 3.468 1.034 6.39 1.096 2.92 3.043 5.05 2.008 2.07 4.747 3.287 2.799 1.156 6.268
1.156 3.408 0 5.964-1.035 2.616-1.095 4.199-2.434z"/>
</g>
</g>
</svg>
</a>
<ul class="nav">
{%- for entry in collections.nav | eleventyNavigation %}
<li class="nav-item{% if entry.url == page.url %} nav-item-active{% endif %}">
<a href="{{ entry.url | url }}">{{ entry.title }}</a>
</li>
{%- endfor %}
</ul>
</div>
<div class="links">
<div class="social-links">
<a href="https://discord.gg/WMtwnF5Cbr" target="_blank"><i class="fa fa-discord"></i></a>
<a href="https://www.reddit.com/r/PolyMCLauncher/" target="_blank"><i class="fa fa-reddit"></i></a>
<a href="https://github.com/PolyMC/PolyMC" target="_blank"><i class="fa fa-github"></i></a>
</div>
<div>
<a class="button" href="{{ '/download/' | url }}">Download</a>
<a class="button" href="https://opencollective.com/polymc">Donate</a>
</div>
</div>
</nav>
</div>
{% if hero %}
<div class="hero-body">
<div class="row container">
<div class="column">
<div class="hero-description">
<h1 class="hero-title">{{ hero.title }}</h1>
<p class="subtitle">{{ hero.description }}</p>
{%- if hero.download == true %}
<br>
<a class="button is-big" href="{{ '/download' | url }}">Download Now</a>
{%- endif %}
</div>
</div class="image">
{%- if hero.image %}
<div class="column">
{% image hero.title, hero.image.light, hero.image.dark %}
</div>
{%- endif %}
</div>
</div>
</div>
{% endif %}
</section>
</header>