about: added scroll animation and cleaned old links

This commit is contained in:
Nathan Woodburn 2023-02-21 22:20:17 +11:00
parent b768b47f53
commit 293f2f4f5c
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
5 changed files with 65 additions and 13 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en-au"> <html lang="en-au" style="background: url(&quot;assets/img/intro-bg.jpg&quot;) bottom / cover no-repeat, black;">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
@ -33,21 +33,20 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Anonymous+Pro&amp;display=swap"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Anonymous+Pro&amp;display=swap">
<link rel="stylesheet" href="assets/fonts/fontawesome-all.min.css"> <link rel="stylesheet" href="assets/fonts/fontawesome-all.min.css">
<link rel="stylesheet" href="assets/fonts/ionicons.min.css"> <link rel="stylesheet" href="assets/fonts/ionicons.min.css">
<link rel="stylesheet" href="assets/css/fixes.css">
<link rel="stylesheet" href="assets/css/profile.css"> <link rel="stylesheet" href="assets/css/profile.css">
<link rel="stylesheet" href="assets/css/Social-Icons.css"> <link rel="stylesheet" href="assets/css/Social-Icons.css">
</head> </head>
<body style="background: url(&quot;assets/img/intro-bg.jpg&quot;) no-repeat;text-align: center;color: rgb(255,255,255);background-size: cover;"> <body class="about-body" style="text-align: center;color: rgb(255,255,255);background: transparent;"><script src="https://nathan.woodburn/handshake.js" domain="nathan.woodburn"></script>
<header style="padding: 18px;padding-top: 160px;">
<div class="profile-container" style="margin-bottom: 2em;"><img class="profile background" src="assets/img/profile.jpg" style="border-radius: 50%;"><img class="profile foreground" src="assets/img/pfront.png"></div>
<h1 class="nathanwoodburn">Nathan.Woodburn/</h1>
<p>Hi, I am Nathan Woodburn and I live in Canberra.<br>I started a 3D printing service in early 2021.<br>I create CAD models using Fusion 360.<br>I Program Windows 10 Application using C#.<br>I'm a co-founder of <a href="https://hns.au" target="_blank">Handshake Australia</a><br>I currently work for <a href="https://learn.namebase.io" target="_blank">Namebase</a>.<br><br></p>
<div class="social-icons" style="padding-top: 0px;padding-bottom: 10px;padding-right: 0px;padding-left: 0px;background: rgba(255,255,255,0);color: rgb(255,255,255);"><a href="https://www.facebook.com/nathanjwoodburn" target="_blank"><i class="icon ion-social-facebook" style="border-color: #ffffff;color: rgb(255,255,255);"></i></a><a target="_blank" href="https://twitter.com/woodburn_nathan"><i class="icon ion-social-twitter" style="border-color: #ffffff;color: rgb(255,255,255);"></i></a><a href="https://www.linkedin.com/in/nathanwoodburn/" target="_blank"><i class="icon ion-social-linkedin" style="border-color: #ffffff;color: rgb(255,255,255);"></i></a><a href="https://github.com/Nathanwoodburn" target="_blank"><i class="icon ion-social-github" style="border-color: #ffffff;color: rgb(255,255,255);"></i></a><a href="mailto:contact@nathan.woodburn.au" target="_blank"><i class="icon ion-email" style="border-color: #ffffff;color: rgb(255,255,255);"></i></a><a href="https://keybase.io/nathanwoodburn" target="_blank"><i class="fab fa-keybase" style="border-color: #ffffff;color: rgb(255,255,255);"></i></a></div>
<div class="btn-group-vertical btn-group-lg" role="group" style="width: 300px;"><a class="btn btn-primary" role="button" href="https://nathan.woodburn.au" target="_blank">My Website</a><a class="btn btn-primary" role="button" href="https://nathan3dprinting.au" target="_blank" style="margin-top: 6px;">3D Printing Service</a></div>
</header><script src="https://nathan.woodburn/handshake.js" domain="nathan.woodburn"></script>
<script src="https://nathan.woodburn/https.js"></script> <script src="https://nathan.woodburn/https.js"></script>
<div class="profile-container" style="margin-bottom: 2em;margin-top: 5em;"><img class="profile background" src="assets/img/profile.jpg" style="border-radius: 50%;"><img class="profile foreground" src="assets/img/pfront.png"></div>
<h1 class="nathanwoodburn" style="margin-bottom: 0.5em;">Nathan.Woodburn/</h1>
<div class="social-icons" style="background: rgba(255,255,255,0);color: rgb(255,255,255);padding: 0px;"><a href="https://www.facebook.com/nathanjwoodburn" target="_blank"><i class="icon ion-social-facebook facebook social-icons-hidden" style="border-color: #ffffff;color: rgb(255,255,255);font-size: 35px;margin-top: 0.5em;margin-bottom: 0.5em;"></i></a><a target="_blank" href="https://twitter.com/woodburn_nathan"><i class="icon ion-social-twitter twitter social-icons-hidden" style="border-color: #ffffff;color: rgb(255,255,255);font-size: 35px;margin-top: 0.5em;margin-bottom: 0.5em;"></i></a><a href="https://www.linkedin.com/in/nathanwoodburn/" target="_blank"><i class="icon ion-social-linkedin linkedin social-icons-hidden" style="border-color: #ffffff;color: rgb(255,255,255);font-size: 35px;margin-top: 0.5em;margin-bottom: 0.5em;"></i></a><a href="https://github.com/Nathanwoodburn" target="_blank"><i class="icon ion-social-github github social-icons-hidden" style="border-color: #ffffff;color: rgb(255,255,255);font-size: 35px;margin-top: 0.5em;margin-bottom: 0.5em;"></i></a><a href="mailto:contact@nathan.woodburn.au" target="_blank"><i class="icon ion-email email social-icons-hidden" style="border-color: #ffffff;color: rgb(255,255,255);font-size: 35px;margin-top: 0.5em;margin-bottom: 0.5em;"></i></a><a href="https://keybase.io/nathanwoodburn" target="_blank"><i class="fab fa-keybase keybase social-icons-hidden" style="border-color: #ffffff;color: rgb(255,255,255);font-size: 35px;margin-top: 0.5em;margin-bottom: 0.5em;"></i></a></div>
<p style="margin-top: 1em;">Hi, I am Nathan Woodburn and I live in Canberra.<br>I started a 3D printing service in early 2021.<br>I create CAD models using Fusion 360.<br>I Program Windows 10 Application using C#.<br>I'm a co-founder of <a href="https://hns.au" target="_blank">Handshake Australia</a><br>I currently work for <a href="https://learn.namebase.io" target="_blank">Namebase</a>.<br><br></p><i class="fas fa-arrow-down" style="font-size: 50px;" onclick="slideout()"></i>
<script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/grayscale.js"></script> <script src="assets/js/grayscale.js"></script>
<script src="assets/js/about.js"></script>
<script src="assets/js/hacker.js"></script> <script src="assets/js/hacker.js"></script>
</body> </body>

View File

@ -1,7 +1,6 @@
.social-icons { .social-icons {
color: #313437; color: #313437;
background-color: #fff; background-color: #fff;
text-align: center;
padding: 70px 0; padding: 70px 0;
} }
@ -11,9 +10,21 @@
} }
} }
@media (max-width:500px) {
img.profile {
width: 200px;
margin-left: -100px;
}
}
@media (max-width:500px) {
.profile-container {
height: 200px;
margin-top: 2em !important;
}
}
.social-icons i { .social-icons i {
font-size: 32px;
display: inline-block;
color: #757980; color: #757980;
margin: 0 10px; margin: 0 10px;
width: 60px; width: 60px;
@ -22,5 +33,6 @@
text-align: center; text-align: center;
border-radius: 50%; border-radius: 50%;
line-height: 60px; line-height: 60px;
display: inline-block;
} }

11
assets/css/fixes.css Normal file
View File

@ -0,0 +1,11 @@
body.about-body {
position: absolute;
top: 0;
transition: 2s;
height: 101%;
}
::-webkit-scrollbar {
display: none;
}

30
assets/js/about.js Normal file
View File

@ -0,0 +1,30 @@
function slideout() {
bodydiv = document.querySelector("body");
bodydiv.style.top = "-100%";
setTimeout(function() {
window.location.href = "/"
bodydiv.style.top = "0px";
}, 1000)
}
// jQuery(document).ready(function(){
// function resizeForm(){
// var width = (window.innerWidth > 0) ? window.innerWidth : document.documentElement.clientWidth;
// if(width > 1024){
// } else {
// }
// }
// window.onresize = resizeForm;
// resizeForm();
// });
document.addEventListener("scroll", scroll);
function scroll() {
var width = (window.innerWidth > 0) ? window.innerWidth : document.documentElement.clientWidth;
if(width > 1024){
slideout();
}
}

View File

@ -55,7 +55,7 @@ height="0" width="0" style="display: none;visibility: hidden;"></iframe></noscri
</div> </div>
</div> </div>
</nav> </nav>
<header class="masthead" style="background-image: url('assets/img/intro-bg.jpg');"> <header class="masthead" style="background: url(&quot;assets/img/intro-bg.jpg&quot;) bottom / cover no-repeat;">
<div class="intro-body"> <div class="intro-body">
<div class="container"> <div class="container">
<div class="row"> <div class="row">