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 #!/bin/bash
cd $HOME/build-websites/kaboom-website/ cd $HOME/build-websites/kaboom-website/
rm Gemfile.lock rm Gemfile.lock
bundle install #bundle install
if jekyll build --destination $HOME/html/kaboom.pw/; then jekyll build --destination $HOME/html/kaboom.pw/
#if jekyll build --destination $HOME/html/kaboom.pw/; then
cd $HOME/html/kaboom.pw/ cd $HOME/html/kaboom.pw/
rm -rf *.br #rm -rf *.br
rm -rf *.gz #rm -rf *.gz
for file in `find . -type f -name '*'`; do #for file in `find . -type f -name '*'`; do
$HOME/build-websites/zopfli $file # $HOME/build-websites/zopfli $file
$HOME/build-websites/brotli $file # $HOME/build-websites/brotli $file
done #done
fi #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 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> <h1>{{ site.title }}</h1>
<html> <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>
<head>
<meta content="width=device-width,initial-scale=1" name="viewport"> <a href="https://discord.gg/UMGbMsU" class="largebutton">
<title>{{ site.title }} - Free OP | Anarchy | Creative</title> <span>Chat on Discord</span>
<meta content="{{ site.description }}" name="description"> You can join the Kaboom.pw Discord server, where you can chat with other members from the server.
<link href="{{ site.url }}/" rel="canonical"> </a>
<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"> <a href="https://notabug.org/kaboom" class="largebutton">
<link href="/icons/manifest.json" rel="manifest"> <span>Get Source Code</span>
<link href="/icons/safari-pinned-tab.svg" rel="mask-icon"> Source code of custom Kaboom.pw plugins, as well as the website you're visiting now, is available.
<meta content="#555555" name="theme-color"> </a>
<link href="/css/style.css" rel="stylesheet">
</head> <a href="/downloads/archive.zip" class="largebutton">
<body> <span>Download Content</span>
<div id="navigation"> Feel free to download the schematics and worlds of the Kaboom.pw server. Worlds reset once a week.
<a class="home" href="#home" title="Home"> </a>
<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:' ','' }}

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