-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add proper pack pages to the site (#98)
- Loading branch information
Showing
16 changed files
with
133 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{%- if page.banner -%} | ||
<div class="hero"> | ||
<div class="container"> | ||
<img class="wordmark" src="{{ page.wordmark }}"> | ||
</div> | ||
</div> | ||
{%- endif -%} | ||
|
||
<div class="container"> | ||
{%- if page.text -%} | ||
<div class="card card-body"> | ||
<p class="h4 m-0"> | ||
{{ page.text }} | ||
</p> | ||
{%- if page.buttons -%} | ||
<div class="button-2"> | ||
{%- for button in page.buttons -%} | ||
<a class="btn btn-dark" href="{{ button.href }}">{{ button.text }}</a> | ||
{%- endfor -%} | ||
</div> | ||
{%- endif -%} | ||
</div> | ||
|
||
<hr> | ||
{%- endif -%} | ||
|
||
<!-- TODO: move packs that require this feature to the real downloads page --> | ||
|
||
{%- if page.downloads -%} | ||
<h2 class="display-4 my-5 text-center">Downloads</h2> | ||
{%- for item in page.downloads -%} | ||
<h1 class="my-3" align="center">{{ item.first[0] }}</h1> | ||
{%- for subitem in item.first[1] -%} | ||
<p align="center"> | ||
<a href="{{ subitem[1] }}" class="btn block btn-lg btn-primary"> | ||
{%- if subitem[0] contains "GitHub" -%} | ||
<i style="margin-right: 10px" class="fab"></i> | ||
{%- elsif subitem[0] contains "CurseForge" -%} | ||
<i style="margin-right: 10px" class="fas"></i> | ||
{%- elsif subitem[0] contains "PlanetMinecraft" or subitem[0] contains "PMC" or subitem[0] contains "Planet Minecraft"-%} | ||
<i style="margin-right: 10px" class="fas"></i> | ||
{%- elsif subitem[0] contains "MCPEDL" -%} | ||
<i style="margin-right: 10px" class="fas"></i> | ||
{%- elsif subitem[0] contains "Modrinth" -%} | ||
<i style="margin-right: 10px" class="fas"></i> | ||
{%- endif -%} | ||
{{ subitem[0] }} | ||
</a> | ||
</p> | ||
{%- endfor -%} | ||
<br> | ||
{%- endfor -%} | ||
{%- endif -%} | ||
</div> | ||
|
||
<style> | ||
.hero { | ||
display: block; | ||
background-image: url("{{ page.banner }}"); | ||
background-size: cover; | ||
background-position: center; | ||
padding: 0 2rem 1px; | ||
text-align: center; | ||
} | ||
|
||
.wordmark { | ||
padding: 5vw; | ||
filter: drop-shadow(0 0 10px #000); | ||
width: 800px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
layout: pack | ||
no_container: true | ||
title: Faithful 32x | ||
permalink: /faithful32x/ | ||
banner: /image/banner/f32.jpg | ||
wordmark: /image/home/f32.png | ||
|
||
text: | | ||
The one and only, Faithful 32x boasts a modern, detailed art style that focuses on reimagining textures instead of simply redrawing them, taking full advantage of the higher resolution. Its notable features include a limited palette and a strive for consistency. | ||
<br><br> | ||
The pack has evolved tremendously over the years. Ever since it was originally started by Vattic all the way back in 2010, it has become a cultural icon and has been enjoyed by millions of Minecraft players. Ready to become one of them? | ||
<br><br> | ||
buttons: | ||
- { href: /downloads#Faithful%2032x, text: Downloads } | ||
- { href: /faithful32x/latest, text: View Latest Post } | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
layout: pack | ||
no_container: true | ||
title: Faithful 64x | ||
permalink: /faithful64x/ | ||
banner: /image/banner/f64.jpg | ||
wordmark: /image/home/f64.png | ||
|
||
text: | | ||
The logical next step in upscaling Minecraft textures. Just like Faithful 32x, this pack is based on the default art – masterfully remade in quadruple the resolution and adding just the right amount of extra detail for the perfect vanilla-style Minecraft experience. | ||
<br><br> | ||
By basing its textures directly on its 32x counterparts, it achieves great consistency between packs and is always improving in quality. If you're into detailed resource packs but still want that vanilla feel, this pack is for you! | ||
<br><br> | ||
buttons: | ||
- { href: /downloads#Faithful%2064x, text: Downloads } | ||
- { href: /faithful64x/latest, text: View Latest Post } | ||
|
||
--- |