|
@@ -1,71 +1,98 @@
|
|
-<div class="container-fluid">
|
|
|
|
- <div class="row justify-content-center">
|
|
|
|
- <div class="" style="text-align: center; padding: 0px;">
|
|
|
|
- <img src="/games/grid-miner/library-hero.png" class="img-fluid cover-bg">
|
|
|
|
- <img src="/games/grid-miner/library-logo.png" style="width: 65%; position: relative; top: -60%;">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-</div>
|
|
|
|
-
|
|
|
|
-<section class="py-5 text-center container" style="margin-top: -35%;">
|
|
|
|
- <div class="row py-lg-5">
|
|
|
|
- <div class="col-10 mx-auto">
|
|
|
|
- <p class="lead text-muted"><%- page.description %></p>
|
|
|
|
- <a class="btn-steam" href="https://store.steampowered.com/app/1481070/Max_Raider/">
|
|
|
|
- <!-- <img src="images/button-steam.png"> -->
|
|
|
|
- </a>
|
|
|
|
|
|
+<main role="main" class="bg-dark2" >
|
|
|
|
+ <% if(page.library_hero != undefined) { %>
|
|
|
|
+ <div class="container-fluid">
|
|
|
|
+ <div class="row justify-content-center">
|
|
|
|
+ <div class="" style="text-align: center; padding: 0px;">
|
|
|
|
+ <img src="<%- page.library_hero %>" class="img-fluid cover-bg">
|
|
|
|
+ <img src="<%- page.library_logo %>" style="width: 65%; position: relative; top: -60%;">
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
-</section>
|
|
|
|
|
|
+ <% } %>
|
|
|
|
|
|
|
|
+ <% if(page.description != undefined) { %>
|
|
|
|
+ <section class="py-5 text-center container"
|
|
|
|
+ <% if(page.library_hero != undefined) { %> style="margin-top: -35%;" <% } %> >
|
|
|
|
+ <div class="row py-lg-5">
|
|
|
|
+ <div class="col-10 mx-auto">
|
|
|
|
+ <p class="lead"><%- page.description %></p>
|
|
|
|
+ <a class="btn-steam" href="https://store.steampowered.com/app/1481070/Max_Raider/">
|
|
|
|
+ <!-- <img src="images/button-steam.png"> -->
|
|
|
|
+ </a>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </section>
|
|
|
|
+ <% } %>
|
|
|
|
|
|
|
|
|
|
-<% if(page.screenshots != undefined) { %>
|
|
|
|
|
|
+ <% if(page.screenshots != undefined) { %>
|
|
|
|
|
|
- <div class="album py-5">
|
|
|
|
- <div class="container-fluid content">
|
|
|
|
- <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3 space-bottom">
|
|
|
|
- <% var screenshot_count = (Math.round(page.screenshots.length/3)*3) %>
|
|
|
|
- <% for(var i = 0; i < screenshot_count; i++) { %>
|
|
|
|
- <div class="col">
|
|
|
|
- <div class="card shadow-sm">
|
|
|
|
- <a href="<%- page.screenshots[i] %>" target="_BLANK">
|
|
|
|
- <img src="<%- page.screenshots[i] %>" class="img-fluid">
|
|
|
|
- </a>
|
|
|
|
|
|
+ <div class="album py-5">
|
|
|
|
+ <div class="container-fluid content">
|
|
|
|
+ <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3 space-bottom">
|
|
|
|
+ <% var screenshot_count = (Math.round(page.screenshots.length/3)*3) %>
|
|
|
|
+ <% for(var i = 0; i < screenshot_count; i++) { %>
|
|
|
|
+ <div class="col">
|
|
|
|
+ <div class="card shadow-sm">
|
|
|
|
+ <a href="<%- page.screenshots[i] %>" target="_BLANK">
|
|
|
|
+ <img src="<%- page.screenshots[i] %>" class="img-fluid">
|
|
|
|
+ </a>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- <% }; %>
|
|
|
|
-
|
|
|
|
|
|
+ <% }; %>
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <% } %>
|
|
|
|
+ <% if(page.trailer != undefined) { %>
|
|
|
|
+ <div class="album py-5 bg-darker">
|
|
|
|
+ <div class="container container-large">
|
|
|
|
+ <div class="row justify-content-center">
|
|
|
|
+ <div class="col-lg-10" style="text-align: center;">
|
|
|
|
+ <div class="ratio ratio-16x9">
|
|
|
|
+ <iframe class="video-player" src="<%- page.trailer %>" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
-<% } %>
|
|
|
|
|
|
+ <% } %>
|
|
|
|
|
|
- <!-- <div class="album py-5 bg-darker">
|
|
|
|
- <div class="container">
|
|
|
|
- <div class="row justify-content-center">
|
|
|
|
- <div class="col-lg-10" style="text-align: center;">
|
|
|
|
- <div class="ratio ratio-16x9">
|
|
|
|
- <iframe src="https://www.youtube.com/embed/p6RHwO6mFlU" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <section class="py-5 text-center container">
|
|
|
|
+ <div class="row py-lg-5">
|
|
|
|
+ <div class="col-10 mx-auto post-content">
|
|
|
|
+ <p class="lead text-muted"><%- page.content %></p>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div> -->
|
|
|
|
|
|
+ </section>
|
|
|
|
|
|
-<!-- <div class="container">
|
|
|
|
- <div class="row">
|
|
|
|
- <div class="col-12">
|
|
|
|
- <%- page.content %>
|
|
|
|
- <% var keys = Object.keys(page); %>
|
|
|
|
- <ul>
|
|
|
|
- <% keys.forEach(key => { %>
|
|
|
|
- <li><%- key %></li>
|
|
|
|
- <% }); %>
|
|
|
|
- </ul>
|
|
|
|
|
|
+ <% if(page.steam_widget != undefined) { %>
|
|
|
|
+ <div class="container ">
|
|
|
|
+ <div class="row justify-content-center">
|
|
|
|
+ <div class="col-10" style="text-align: center;">
|
|
|
|
+ <div class="ratio-steam" style="margin-top: 30px;">
|
|
|
|
+ <iframe src="<%- page.steam_widget %>" frameborder="0"></iframe>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- <div class="d-block d-sm-none">
|
|
|
|
+ <a class="btn-steam" href="https://store.steampowered.com/app/1481070/Max_Raider/">
|
|
|
|
+ <img src="images/button-steam.png">
|
|
|
|
+ </a>
|
|
|
|
+ </div> -->
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
-</div> -->
|
|
|
|
|
|
+ <% } %>
|
|
|
|
+
|
|
|
|
+ <footer>
|
|
|
|
+ <%- partial('_partial/contact') %>
|
|
|
|
+
|
|
|
|
+ <%- partial('_partial/about') %>
|
|
|
|
+
|
|
|
|
+ <%- partial('_partial/newsletter') %>
|
|
|
|
+
|
|
|
|
+ <%- partial('_partial/links') %>
|
|
|
|
|
|
-<%- partial('_partial/footer') %>
|
|
|
|
-<%- partial('_partial/logo') %>
|
|
|
|
|
|
+ <%- partial('_partial/logo') %>
|
|
|
|
+ </footer>
|
|
|
|
+</main>
|