-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (96 loc) · 4.31 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
title: Home
desc: Melonia is a Constitutional Republic government in a Minecraft server with a democratically elected President, Speaker of Parliament and Members of Parliament.
description: Melonia is a Constitutional Republic government in a Minecraft server with a democratically elected President, Speaker of Parliament and Members of Parliament.
keywords: homepage
layout: default
---
<div class="card text-bg-dark border-0 mb-4 mt-2">
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" class="card-img home-card-img" alt="Photo of the Isonian Raid, a battle between Melonians and pillagers.">
<div class="card-img-overlay d-flex flex-column justify-content-center align-items-center text-center">
<h3 class="card-title" style="text-shadow: 0px 0px 5px black;">A nation of hope and glory.</h3>
<p class="card-text" style="text-shadow: 0px 0px 5px black;">The Republic of Melonia believes in a government that serves its citizens first and foremost.</p>
</div>
</div>
<div class="bg-dark text-bg-dark rounded px-4 py-5 mb-4">
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
<div class="col-sm-8 col-lg-6">
<img src="/img/home/downtown.png" class="d-block mx-lg-auto img-fluid rounded-more" alt="A photo of downtown Melonia City." width="700" height="500">
</div>
<div class="col-lg-6">
<h1 class="display-5 fw-bold lh-1 mb-3">A tight-knit community.</h1>
<p class="lead">Every citizen in Melonia gets along. Even government officials and business tycoons are close with everyone else in the Republic.</p>
<div class="d-grid gap-2 d-md-flex justify-content-md-start">
<a href="/about">
<button type="button" class="btn btn-primary btn-lg px-4 me-md-2">Learn more about Melonia</button>
</a>
</div>
</div>
</div>
</div>
<div class="bg-light rounded px-4 py-5 mb-4">
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
<div class="col-sm-8 col-lg-6">
<img src="/img/home/parliament.png" class="d-block mx-lg-auto img-fluid rounded-more" alt="A photo of downtown Melonia City." width="700" height="500">
</div>
<div class="col-lg-6">
<h1 class="display-5 fw-bold lh-1 mb-3">Meet our government officials.</h1>
<p class="lead">Several people work tirelessly to make Melonia live long and prosper. Learn more about them.</p>
<div class="d-grid gap-2 d-md-flex justify-content-md-start">
<a href="/government/president">
<button type="button" class="btn btn-secondary btn-lg px-4 me-md-2">President</button>
</a>
<a href="/government/pm">
<button type="button" class="btn btn-secondary btn-lg px-4 me-md-2">Prime Minister</button>
</a>
<a href="/government">
<button type="button" class="btn btn-secondary btn-lg px-4 me-md-2">Other Officials</button>
</a>
</div>
</div>
</div>
</div>
<h2 class="mb-4 mt-4 text-center">Newest government statements</h2>
{% for post in site.posts limit:3 %}
<div class="homepage-card mb-4">
<div class="card mb-3 clearfix">
<div class="card-body">
<div class="float-left text-center">
{% if post.badge-text %}
<h4 class="card-title"><span class="badge badge-danger">{{ post.badge-text }}</span> {{ post.title }}</h4>
{% else %}
<h4 class="card-title">{{ post.title }}</h4>
{% endif %}
{% if post.via %}
<p class="card-text">
{{ post.desc }}<br>
<span class="text-muted">Posted on {{ post.date | date: '%B %d, %Y' }} on {{ post.via }}</span>
</p>
{% else %}
<p class="card-text">
{{ post.desc }}<br>
<span class="text-muted">Posted on {{ post.date | date: '%B %d, %Y' }}</span>
</p>
{% endif %}
{% if post.via %}
<a href="{{ post.via-link }}" class="btn btn-primary btn-blog-home">Read more at {{ post.via }}</a>
{% else %}
<a href="{{ post.url }}" class="btn btn-primary btn-blog-home">Read more</a>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>
<style>
.home-card-img {
max-height: 400px;
background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('/img/home/isonian-raid-photo.png');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.rounded-more {
border-radius: 20px;
}
</style>