Jnf.me/www/index.html

209 lines
8.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Welcome to JnF.me</title>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.2/css/bootstrap.min.css" integrity="sha512-CpIKUSyh9QX2+zSdfGP+eWLx23C8Dj9/XmHjZY2uDtfkdLGo0uY12jgcnkX9vXOgYajEKb/jiw67EYm+kBf+6g==" crossorigin="anonymous" referrerpolicy="no-referrer">
<style type="text/css">
/* Variables */
:root {
--jason-bg-color: #F2EDEA;
--title-font: 'Cinzel', serif;
--body-font: 'Raleway', sans-serif;
}
html, body { height: 100%; }
.container-fluid { width: 100vw; overflow: hidden; }
.col { height: 0; min-height: 50vh; }
@media ( min-width: 992px ) {
.row { width: 200vw; position: relative; left: -50vw; }
.col { min-height: 100vh; }
}
/* .info { text-align: center; } */
.splash { width: 100%; height: 100%; }
.splash img { width: 100%; height: 100%; border-radius: 1rem; object-fit: cover; }
.banner img {max-width: 20vw; max-height: 20vh; }
.bg-jason { background-color: var(--jason-bg-color); }
#info-flo { background-color: #00FF00; }
#back { position: fixed; top: -3rem; right: -3rem; z-index: 200; height: 3rem; width: 3rem; font-size: 3rem; }
#back a { color: #FF0000; }
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.2/js/bootstrap.min.js" integrity="sha512-5BqtYqlWfJemW5+v+TZUs22uigI8tXeVah5S/1Z6qBLVO7gakAOtkOzUtgq6dsIo5c0NJdmGPs0H9I+2OHUHVQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/js/all.min.js" integrity="sha512-rpLlll167T5LJHwp0waJCh3ZRf7pO6IT1+LZOhAyP6phAirwchClbTZV3iqL3BMrVxIYRbzGTpli4rfxsCK6Vw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js" integrity="sha512-aVKKRRi/Q/YV+4mjoKBsE4x3H+BkegoM/em46NNlCqNTmUYADjBbeNefNxYV7giUp0VxICtqdrbqU7iVaeZNXA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="text/javascript">
var dispPerson = null
$(() => {
console.log('Hello, world!')
// Handle clicks to open a profile
$('a.openlink').click(function(e) {
e.preventDefault();
dispPerson = $(this).attr('data-person')
$('.col').css('z-index', 0)
$('#info-' + dispPerson).css('z-index', 100)
// If the viewport width is at least "large"
if ($(window).width() >= 992) {
$('#row').animate({
left: $(this).attr('data-pos')
}, {
duration: 300,
queue: false,
complete: function() {
$('.info').css('min-height', 0)
$('#info-' + dispPerson).css('min-height', '100vh')
}
})
}
// If the viewport width is smaller
else {
$('#row').css('left', $(this).attr('data-pos'))
$('.info').animate({
minHeight: '0'
}, {
duration: 300,
queue: false
})
$('#info-' + dispPerson).animate({
minHeight: '100vh'
}, {
duration: 300,
queue: false
})
}
$('#back').animate({
top: '1rem',
right: '1rem'
}, {
duration: 300,
queue: false
})
})
// Handle clicks to close a profile
$('a.closelink').click(function(e) {
e.preventDefault();
dispPerson = null
$('.col').css('z-index', '')
// If the viewport width is at least "large"
if ($(window).width() >= 992) {
$('#row').animate({
left: $(this).attr('data-pos')
}, {
duration: 300,
queue: false
})
$('.info').css('min-height', '100vh')
}
// If the viewport width is smaller
else {
$('#row').css('left', $(this).attr('data-pos'))
$('.info').animate({
minHeight: '50vh'
}, {
duration: 300,
queue: false
})
}
$('#back').animate({
top: '-3rem',
right: '-3rem'
}, {
duration: 300,
queue: false
})
})
});
</script>
</head>
<body>
<div class="container-fluid">
<div id="row" class="row">
<div id="bigimage-jason" class="col col-lg-3 p-3 d-none d-lg-block bg-jason">
<div class="splash"><img src="./img/splash-jason.jpg"></div>
</div>
<div id="info-jason" class="col col-12 col-lg-3 d-flex align-items-center justify-content-center info bg-jason">
<div class="text-center banner">
<a href="/jason" class="openlink" data-person="jason" data-pos="0vw"><img src="./img/profile-jason.png"></a>
<h1><a href="/jason" class="openlink" data-person="jason" data-pos="0vw">Jason Williams</a></h1>
</div>
</div>
<div id="info-flo" class="col col-12 col-lg-3 d-flex align-items-center justify-content-center info">
<div class="text-center banner">
<a href="/flo" class="openlink" data-person="flo" data-pos="-100vw"><img src="./img/profile-flo.jpg"></a>
<h1><a href="/flo" class="openlink" data-person="flo" data-pos="-100vw">Flo de Guzman</a></h1>
</div>
</div>
<div id="bigimage-flo" class="col col-lg-3 d-none d-lg-block">
Flo Image
</div>
</div>
<div id="back" class="d-flex align-items-center justify-content-center">
<a href="/" class="closelink" data-pos="-50vw"><i class="fa-solid fa-arrow-left"></i></a>
</div>
</div>
<!-- <div id="view">
<div id="container">
<div id="infojason" class="info jason">
<p>Jay is a caucasian male originally from Swansea, UK but last spotted in Calgary, Canada. By day he's a
mild-mannered bank employee and by night he's... uh... asleep, mostly.</p>
<ul>
<li><a href="http://www.jason.jnf.me/" class="outbound" data-track="/jason/website">Website</a></li>
<li><a href="http://www.jason.jnf.me/blog/" class="outbound" data-track="/jason/blog">Blog</a></li>
<li><a href="http://www.jason.jnf.me/contact/" class="outbound" data-track="/jason/contact">Contact Me</a></li>
</ul>
<ul>
<li><a href="http://twitter.com/JayWll" class="outbound" data-track="/jason/twitter">Twitter</a></li>
<li><a href="http://www.facebook.com/JayWll" class="outbound" data-track="/jason/facebook">Facebook</a></li>
<li><a href="http://instagram.com/jaywll" class="outbound" data-track="/jason/instagram">Instagram</a></li>
<li><a href="http://ca.linkedin.com/in/jaywll/" class="outbound" data-track="/jason/linkedin">LinkedIn</a></li>
<li><a href="http://gitlab.com/jaywll" class="outbound" data-track="/jason/gitlab">GitLab</a></li>
</ul>
</div>
<div id="framejason" class="frame jason" data-person="jason">
<div class="closelink"><a href="#" class="closelink">→</a></div>
<div class="profile">
<a href="#" class="openlink" data-person="jason"><img src="./img/profile-jason.jpg" /></a>
<h1><a href="#" class="openlink" data-person="jason">Jason Williams</a></h1>
</div>
</div>
<div id="frameflo" class="frame flo" data-person="flo">
<div class="closelink"><a href="#" class="closelink">←</a></div>
<div class="profile">
<a href="#" class="openlink" data-person="flo"><img src="./img/profile-flo.jpg" /></a>
<h1><a href="#" class="openlink" data-person="flo">Flo de Guzman</a></h1>
</div>
</div>
<div id="infoflo" class="info flo">
<p>Flo is from Winnipeg, MB and now lives in Calgary, AB. She has a small nose that she's self-conscious about, a
Yorkshire Terrier named Charlie, and no concept of the term "inside voice."</p>
<ul>
<li><a href="http://www.asiancwgrl.jnf.me/" class="outbound" data-track="/flo/blog">Blog</a></li>
</ul>
<ul>
<li><a href="http://twitter.com/asiancwgrl" class="outbound" data-track="/flo/twitter">Twitter</a></li>
<li><a href="http://www.facebook.com/asiancowgrl" class="outbound" data-track="/flo/facebook">Facebook</a></li>
<li><a href="http://instagram.com/asiancwgrl" class="outbound" data-track="/flo/instagram">Instagram</a></li>
<li><a href="http://ca.linkedin.com/pub/flo-de-guzman/25/9b5/591" class="outbound" data-track="/flo/linkedin">LinkedIn</a></li>
</ul>
</div>
</div>
</div> -->
</body>
</html>