-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (43 loc) · 1.9 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
---
layout: home
title: Home
# Index page
---
<div style="text-align: center;">
<img src="/img/banner.png">
<h1><strong>MC Brawls</strong></h1>
<p>A Minecraft minigames server with a focus on the competitive edge!<br>Compete and win!</p>
<form action="/join">
<input type="submit" style="background-color: #873e84; color: #ffffff; border-radius: 3px; border-style: none; font-weight: bold; font-size: x-large; padding: 10px 20px 10px 20px;" value="PLAY NOW" />
</form>
<br>
<div style="display: flex; justify-content: center;">
{% for entry in site.data.contact %}
{% case entry.type %}
{% when 'github' %}
{%- capture url -%}
https://{{ entry.type }}.com/{{ site[entry.type].username }}
{%- endcapture -%}
{% when 'email' %}
{% assign email = site.social.email %}
{%- capture url -%}
mailto:"{{ email }}"
{%- endcapture -%}
{% when 'rss' %}
{% assign url = '/feed.xml' | relative_url %}
{% else %}
{% assign url = entry.url %}
{% endcase %}
{% if url %}
<a href="{{ url }}" aria-label="{{ entry.type }}" {% assign link_types='' %} {% unless entry.noblank %} target="_blank"
{% assign link_types='noopener noreferrer' %} {% endunless %} {% if entry.type=='mastodon' %} {% assign
link_types=link_types | append: ' me' | strip %} {% endif %} {% unless link_types==empty %} rel="{{ link_types }}" {%
endunless %} style="color: white; background-color: var(--sidebar-btn-bg); padding-left: .5rem; padding-right: .5rem; border-radius:10%; align-items: center; justify-content: center; text-align: center; margin-left: 0.5rem; font-size: 1.1rem; box-shadow: var(--sidebar-border-color) 0 0 0 1px; text-transform: uppercase;">
<i style="font-size: 1.2rem;" class="{{ entry.icon }}"></i> <span style="font-weight: bold;">{{ entry.name }}</span>
</a>
{% endif %}
{% endfor %}
</div>
</div>
<hr>
<h2>Recent Updates</h2>