Push latest redesign

This commit is contained in:
mathias 2018-04-24 17:33:19 +00:00
parent 98898a7572
commit d6131e24ae
12 changed files with 223 additions and 86 deletions

6
404.md Normal file
View File

@ -0,0 +1,6 @@
---
layout: default
title: Oops
---
# {{ page.title }}
This page does not exist. You may return to the [home page](/).

30
_layouts/default.html Normal file
View File

@ -0,0 +1,30 @@
---
layout: minify
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
{% if page.title %}
{{ page.title }}
{% endif %}
{{ site.title }}
{% if page.url == "/" %}
- Free OP | Anarchy | Creative
{% endif %}
</title>
<meta name="description" content="{{ site.description }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="{{ site.url }}{{ page.url | replace:'/index.html','/' }}">
<link rel="stylesheet" href="/style.css">
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png">
<link rel="manifest" href="/icons/manifest.webmanifest">
<link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#00588e">
</head>
<body>
<main id="main">
{{ content }}
</main>
</body>
</html>

1
_layouts/minify.html Normal file
View File

@ -0,0 +1 @@
{%- capture content -%}{{ content }}{%- endcapture -%}{{ content | strip_newlines | replace:' ',''}}

View File

@ -1,13 +1,14 @@
#!/bin/bash
cd $HOME/build-websites/kaboom-website/
rm Gemfile.lock
bundle install
if jekyll build --destination $HOME/html/kaboom.pw/; then
#bundle install
jekyll build --destination $HOME/html/kaboom.pw/
#if jekyll build --destination $HOME/html/kaboom.pw/; then
cd $HOME/html/kaboom.pw/
rm -rf *.br
rm -rf *.gz
for file in `find . -type f -name '*'`; do
$HOME/build-websites/zopfli $file
$HOME/build-websites/brotli $file
done
fi
#rm -rf *.br
#rm -rf *.gz
#for file in `find . -type f -name '*'`; do
# $HOME/build-websites/zopfli $file
# $HOME/build-websites/brotli $file
#done
#fi

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
icons/android-chrome.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
icons/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -0,0 +1,12 @@
---
layout: minify
---
{
"name": "Kaboom.pw",
"icons": [
{
"src": "/icons/android-chrome-192x192.png",
"sizes": "any",
}
]
}

View File

@ -1,79 +1,20 @@
---
layout: default
---
{% capture content %}<!DOCTYPE html>
<html>
<head>
<meta content="width=device-width,initial-scale=1" name="viewport">
<title>{{ site.title }} - Free OP | Anarchy | Creative</title>
<meta content="{{ site.description }}" name="description">
<link href="{{ site.url }}/" rel="canonical">
<link href="/icons/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png">
<link href="/icons/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png">
<link href="/icons/manifest.json" rel="manifest">
<link href="/icons/safari-pinned-tab.svg" rel="mask-icon">
<meta content="#555555" name="theme-color">
<link href="/css/style.css" rel="stylesheet">
</head>
<body>
<div id="navigation">
<a class="home" href="#home" title="Home">
<span id="logo">
<svg aria-hidden="true" viewbox="0 0 24 24">
<path d="{% include _icons/logo %}"></path>
</svg>
</span>
</a>
<a href="#play" title="Play">
<span>
<svg aria-hidden="true" viewbox="0 0 24 24">
<path d="{% include _icons/play %}"></path>
</svg>
</span>
</a>
<a href="#vote" title="Vote">
<span>
<svg aria-hidden="true" viewbox="0 0 24 24">
<path d="{% include _icons/vote %}"></path>
</svg>
</span>
</a>
<a href="#downloads" title="Downloads">
<span>
<svg aria-hidden="true" viewbox="0 0 24 24">
<path d="{% include _icons/downloads %}"></path>
</svg>
</span>
</a>
</div>
<div class="main" id="home">
<div class="main-container">
<h1>Welcome to {{ site.title }}!</h1>
<p>{{ site.title }} is more than your regular free OP server for Minecraft. This public multiplayer server combines free OP with anarchy. Use powerful operator commands as much as you like, without having to worry about rules. Large plugins such as WorldEdit, CommandSpy and iControlU are available at any time.</p>
<a class="button" href="#play">Play</a>
</div>
</div>
<div class="main" id="play">
<div class="main-container">
<h2>Play</h2>
<p>If you want to play on Kaboom.pw, simply add the IP "{{ site.title | downcase }}" to the multiplayer server list in your Minecraft client. You can join with Minecraft Java Edition.</p>
</div>
</div>
<div class="main" id="vote">
<div class="main-container">
<h2>Vote</h2>
<p>Voting for Kaboom.pw on Minecraft server lists helps the server earn higher rankings and more players.</p>
<div class="vote-link"><span>1</span><a href="https://topg.org/Minecraft/in-414108">TopG.org</a></div>
<div class="vote-link"><span>2</span><a href="http://minecraftservers.org/vote/153833">MinecraftServers.org</a></div>
<div class="vote-link"><span>3</span><a href="http://minecraft-mp.com/server/155223/vote/">Minecraft Multiplayer</a></div>
</div>
</div>
<div class="main" id="downloads">
<div class="main-container">
<h2>Downloads</h2>
<p>Below are links to download schematics and worlds of the server, to make it easy for you to export your creations.</p>
<a class="button" href="/downloads/schematics.zip">Schematics</a>
<a class="button" href="/downloads/worlds.zip">Worlds</a>
</div>
</div>
</body>
</html>{% endcapture %}{{ content | strip_newlines | replace:' ','' }}
<h1>{{ site.title }}</h1>
<p>{{ site.title }} is more than your regular free OP server for Minecraft. This public multiplayer server combines free OP with anarchy. Use powerful operator commands as much as you like, without having to worry about rules. Large plugins such as WorldEdit, CommandSpy and iControlU are available at any time.</p>
<a href="https://discord.gg/UMGbMsU" class="largebutton">
<span>Chat on Discord</span>
You can join the Kaboom.pw Discord server, where you can chat with other members from the server.
</a>
<a href="https://notabug.org/kaboom" class="largebutton">
<span>Get Source Code</span>
Source code of custom Kaboom.pw plugins, as well as the website you're visiting now, is available.
</a>
<a href="/downloads/archive.zip" class="largebutton">
<span>Download Content</span>
Feel free to download the schematics and worlds of the Kaboom.pw server. Worlds reset once a week.
</a>

3
robots.txt Normal file
View File

@ -0,0 +1,3 @@
---
---
Sitemap: {{ site.url }}/sitemap.xml

15
sitemap.xml Normal file
View File

@ -0,0 +1,15 @@
---
layout: minify
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for page in site.pages %}
{% if page.url == "/" or page.url contains ".html" %}
{% if page.url != "/404.html" %}
<url>
<loc>{{ site.url }}{{ page.url | remove: ".html"}}</loc>
</url>
{% endif %}
{% endif %}
{% endfor %}
</urlset>

128
style.scss Normal file

File diff suppressed because one or more lines are too long