-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (82 loc) · 3.96 KB
/
index.html
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
---
title: Start
layout: fullwidth_page
additional_css: "/assets/css/start.css"
card_nav:
sizes:
- columns: [[0, 3], [1, 4, 6], [2, 5]]
visible: m
- columns: [[0, 2, 5], [1, 3, 4, 6]]
visible: s
hidden: m
- columns: [[0, 1, 2, 3, 4, 5, 6]]
hidden: s
cards:
- title: Documentation
url:
internal: "/docs"
description: "Here you can find a language guide, providing a short introduction into *juice*, the standard library reference, the language reference, containing a complete syntax specification, and some documentation of the *juice* compiler itself."
color: red
- title: Downloads
description: "You can download pre-built binaries of the *juice* compiler for the officially supported platforms here."
color: yellow
- title: Forums
description: "The *juice* forums are the primary method of communication among the *juice* community. Changes to the language can be proposed and the compiler development discussed here. If you have questions about the language (even beginner ones!) you are also welcome to ask them in the forums."
color: blue
- title: Blog
description: "Look in here if you want to be updated fairly regularly about new language versions, featured projects, etc."
color: green
- title: Playground
description: "Play around with the language in your browser!"
color: purple
- title: GitHub
url:
external: "https://github.com/juice-lang/juice"
description: "Check out the source code of the *juice* compiler over in this repository."
color: orange
- title: Contributing
description: "Here you can find out how to contribute to the language."
color: grey
---
<div class="uk-container uk-container-expand">
<div class="uk-container uk-container-small">
{% include markdown.html file='introduction.md' %}
</div>
</div>
<div class="uk-container uk-container-expand uk-background-secondary uk-margin-top">
<div class="uk-container uk-container-small uk-margin-top uk-margin-bottom navigation-cards">
{%- for nav_size in page.card_nav.sizes -%}
{%- assign hidden = nav_size.hidden | prefix: " uk-hidden@" -%}
{%- assign visible_hidden = nav_size.visible | prefix: " uk-visible@" | append: hidden -%}
{%- if nav_size.columns.size > 1 -%}
<div class="uk-child-width-1-{{ nav_size.columns.size }} uk-grid-small uk-grid-match{{ visible_hidden }}" uk-grid>
{%- else -%}
<div class="{{ visible_hidden | strip }}">
{%- endif -%}
{%- for column in nav_size.columns -%}
<div class="uk-flex uk-flex-column">
{%- for card_index in column -%}
{%- assign card = page.card_nav.cards[card_index] -%}
{%- if card.url -%}
{%- if card.url.internal -%}
{%- assign url = card.url.internal | absolute_url -%}
{%- else -%}
{%- assign url = card.url.external -%}
{%- endif -%}
{%- else -%}
{%- assign url = '#' -%}
{%- endif -%}
<a href="{{ url }}" class="uk-card uk-card-primary uk-card-body uk-link-reset uk-card-hover{% unless forloop.first %} uk-margin-top{% endunless %} card-{{ card.color }}" tabindex="{{ card_index }}">
{%- unless card.url -%}
<div class="uk-card-badge uk-label">Coming soon</div>
{%- endunless -%}
<h3 class="uk-card-title">{{ card.title }}</h3>
{{ card.description | markdownify }}
</a>
{%- endfor -%}
</div>
{%- endfor -%}
</div>
{%- endfor -%}
</div>
</div>