www/src/layouts/page/nebraska-man.html

149 lines
3.6 KiB
HTML
Raw Normal View History

2022-10-04 00:19:14 +03:00
{{ define "main" }}
<section class="nb-man-hero">
2022-10-06 01:49:16 +03:00
<div class="gen-art animated-25 animatedFadeInUp fadeInUp" id="nb-gen-art-1"></div>
<div class="gen-art" id="nb-gen-art-2"></div>
<div class="container">
<div class="row">
<div class="col">
2022-10-06 01:49:16 +03:00
<h1>Nebraska <span id="nb-man-float">Man</span></h1>
</div>
</div>
</div>
</section>
<section class="nb-man-about two-boxes">
<div class="container">
<div class="row">
<div class="col">
2022-10-19 20:50:00 +03:00
<h3>the battle for the internet has just begun</h3>
<p class="lead">Weve called open source devs the “unnamed heroes of the internet.” Now is the time to give them a name and tell their stories. Introducing The Maintainers: a comic series about the OSS Developer Universe. Our first issue follows the origins of Nebraska Man as he joins the fight for a fairer internet. </p>
</div>
</div>
</div>
</section>
<hr>
<style>
.wrapper {
align-items: center;
display: flex;
height: 90%;
justify-content: center;
margin: 5%;
width: 90%;
}
.aspect {
padding-bottom: 70%;
position: relative;
width: 100%;
}
.aspect-inner {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
}
.flipbook {
height: 100%;
transition: margin-left 0.25s ease-out;
width: 100%;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.flipbook .page {
height: 100%;
width: 100%;
}
.flipbook .page img {
width: 100%;
height: 100%;
}
</style>
<section class="nb-man-latest">
<div class="container">
<div class="row">
<div class="col">
<div class="wrapper">
<div class="aspect">
<div class="aspect-inner">
<div class="flipbook" id="flipbook">
<div class="page"><img src="/Images/placeholder/batman-2016-120-1.jpeg" draggable="false" alt="" /></div>
<div class="page"><img src="/Images/placeholder/batman-2016-120-3.jpeg" draggable="false" alt="" /></div>
<div class="page"><img src="/Images/placeholder/batman-2016-120-4.jpeg" draggable="false" alt="" /></div>
<div class="page"><img src="/Images/placeholder/batman-2016-120-5.jpeg" draggable="false" alt="" /></div>
<div class="page"><img src="/Images/placeholder/batman-2016-120-6.jpeg" draggable="false" alt="" /></div>
<div class="page"><img src="/Images/placeholder/batman-2016-120-7.jpeg" draggable="false" alt="" /></div>
</div>
</div>
</div>
2022-10-21 23:31:00 +03:00
</div>
</div>
</div>
</div>
</section>
2022-10-21 23:31:00 +03:00
<script type="text/javascript">
2022-10-21 23:31:00 +03:00
function loadApp() {
2022-10-21 23:31:00 +03:00
// Create the flipbook
2022-10-21 23:31:00 +03:00
$('.flipbook').turn({
2022-10-21 23:31:00 +03:00
// Enable gradients
2022-10-21 23:31:00 +03:00
gradients: true,
2022-10-21 23:31:00 +03:00
// Auto center this flipbook
2022-10-21 23:31:00 +03:00
autoCenter: true
2022-10-21 23:31:00 +03:00
});
}
2022-10-21 23:31:00 +03:00
// Load the HTML4 version if there's not CSS transform
2022-10-21 23:31:00 +03:00
yepnope({
test : Modernizr.csstransforms,
yep: ['/js/turn.js'],
nope: ['/js/turn.html4.min.js'],
both: ['/css/basic.css'],
complete: loadApp
});
2022-10-21 23:31:00 +03:00
var flipbookEL = document.getElementById('flipbook');
2022-10-21 23:31:00 +03:00
window.addEventListener('resize', function (e) {
flipbookEL.style.width = '';
flipbookEL.style.height = '';
$(flipbookEL).turn('size', flipbookEL.clientWidth, flipbookEL.clientHeight);
});
2022-10-21 23:31:00 +03:00
$(flipbookEL).turn({
autoCenter: true
});
</script>
<hr>
<div class="row button-container">
<a href="#" role="button" class="btn btn-primary text-center auth-btn mt-lg-0 mt-md-0 mt-sm-0 mt-0" id="nav-cta">DOWNLOAD ISSUE #1</a>
</div>
<hr>
2022-10-04 00:19:14 +03:00
{{ end }}