www/en/index.html

226 lines
8.3 KiB
HTML

<!DOCTYPE HTML>
<!--
Forty by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html lang="en">
<head>
<title>Ian Xia - Home</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="../static/css/main.css" />
<meta name="author" content="Bigsk">
<meta name="description" content="Bigsk's personal website">
<meta name="keywords" content="bigsk,ianxia,xiaxinzhe,blog,photography,developer,opensource,fullstack">
<link rel="stylesheet" href="https://cdn.gh.ink/assembly/font-awesome/6.6.0/css/all.min.css">
<link rel="icon" href="https://2-cdn.ianxia.com/images/avatar/common.png" type="image/png">
<script>
let date = new Date();
</script>
<noscript><link rel="stylesheet" href="../static/css/noscript.css" /></noscript>
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header" class="alt">
<a href="index.html" class="logo">IAN ANDY XIA</a>
<nav>
<a href="#menu">Menu</a>
</nav>
</header>
<!-- Menu -->
<nav id="menu">
<h3> - Pages - </h3>
<ul class="links">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
</ul>
<br>
<h3> - Languages - </h3>
<ul class="links">
<li><a href="../eo/index.html">Esperanto</a></li>
<li><a href="../zh/index.html">简体中文</a></li>
</ul>
</nav>
<!-- Banner -->
<section id="banner" class="major">
<div class="inner">
<header class="major">
<h1>Hi, this is Ian.</h1>
</header>
<div class="content">
<p>Welcome to my personal website!<br />
You can learn more about me below</p>
<ul class="actions">
<li><a href="#one" class="button next scrolly">Get Started</a></li>
</ul>
</div>
</div>
</section>
<!-- Main -->
<div id="main">
<!-- One -->
<section id="one" class="tiles">
<article>
<span class="image">
<img src="../static/images/pic01.jpg" alt="" />
</span>
<header class="major">
<h3><a href="https://blog.ianxia.com" class="link">Blog</a></h3>
<p>Record every bit of life</p>
</header>
</article>
<article>
<span class="image">
<img src="../static/images/pic02.jpg" alt="" />
</span>
<header class="major">
<h3><a href="https://photo.ianxia.com" class="link">Photography</a></h3>
<p>Discover beauty and record beauty</p>
</header>
</article>
<article>
<span class="image">
<img src="../static/images/pic03.jpg" alt="" />
</span>
<header class="major">
<h3><a href="https://github.com/bigsk05" class="link">Programming</a></h3>
<p>Codice est quasi poem a</p>
</header>
</article>
<article>
<span class="image">
<img src="../static/images/pic04.jpg" alt="" />
</span>
<header class="major">
<h3><a href="https://adsb.ianxia.com" class="link">ADS-B</a></h3>
<p>Kid chasing airplanes</p>
</header>
</article>
<article>
<span class="image">
<img src="../static/images/pic05.jpg" alt="" />
</span>
<header class="major">
<h3><a href="https://tools.ianxia.com" class="link">Tools</a></h3>
<p>Infinite progress</p>
</header>
</article>
<article>
<span class="image">
<img src="../static/images/pic06.jpg" alt="" />
</span>
<header class="major">
<h3><a href="https://nas.ianxia.com" class="link">Nas</a></h3>
<p>Treasured memories</p>
</header>
</article>
</section>
<!-- Two -->
<section id="two">
<div class="inner">
<header class="major">
<h2>About Me</h2>
</header>
<ul class="actions">
<li><a href="about.html" class="button next">Learn more</a></li>
</ul>
</div>
</section>
</div>
<!-- Footer -->
<footer id="footer">
<div class="inner">
<ul class="icons">
<li><a href="mailto:i@ianxia.com" class="icon brands" target="_blank"><i class="fas fa-envelope"></i></a></li>
<li><a href="https://github.com/bigsk05" class="icon brands" target="_blank"><i class="fab fa-github"></i></a></li>
<li><a href="https://t.me/Bigsk05" class="icon brands" target="_blank"><i class="fab fa-telegram-plane"></i></a></li>
<li><a href="https://discord.gg/URwjPMAZ" class="icon brands" target="_blank"><i class="fab fa-discord"></i></a></li>
<li><a href="https://snapchat.com/t/0mfrdjPJ" class="icon brands" target="_blank"><i class="fab fa-snapchat"></i></a></li>
<li><a href="https://x.com/Bigskkk" class="icon brands" target="_blank"><i class="fab fa-x-twitter"></i></a></li>
<li><a href="https://www.facebook.com/ianxia.bigsk" class="icon brands"><i class="fab fa-facebook-f" target="_blank"></i></a></li>
<li><a href="https://www.instagram.com/bigskkkk/" class="icon brands"><i class="fab fa-instagram"></i></a></li>
<li><a href="https://wpa.qq.com/msgrd?v=3&uin=1206066991&site=qq&menu=yes" class="icon brands" target="_blank"><i class="fab fa-qq"></i></a></li>
</ul>
<ul class="copyright">
<li>Copyright &copy; Ian Xia <script>document.write(date.getFullYear().toString());</script>. All rights reserved.</li>
</ul>
</div>
</footer>
</div>
<!-- Scripts -->
<script src="../static/js/jquery.min.js"></script>
<script src="../static/js/jquery.scrolly.min.js"></script>
<script src="../static/js/jquery.scrollex.min.js"></script>
<script src="../static/js/browser.min.js"></script>
<script src="../static/js/breakpoints.min.js"></script>
<script src="../static/js/util.js"></script>
<script src="../static/js/main.js"></script>
<script>
$.ajax({
type: "GET",
url: "https://api.gh.ink/grey_filter",
dataType: "json",
success: function(data, textStatus){
for (let i=0;i<data["content"]["accurate_slot"].length;i++) {
// Accurate Slot
if (Date.now()/1000 >= data["content"]["accurate_slot"][i][0] && Date.now()/1000 <= data["content"]["accurate_slot"][i][1]) {
$("html").css({
'-webkit-filter': 'grayscale(100%)',
'-moz-filter': 'grayscale(100%)',
'-ms-filter': 'grayscale(100%)',
'-o-filter': 'grayscale(100%)',
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
'_filter': 'none'
});
break;
}
}
for (let i=0;i<data["content"]["day_slot"].length;i++) {
// Day Slot
let begin = new Date(
date.getFullYear().toString() + "-" +
data["content"]["day_slot"][i][0][0].toString() + "-" +
data["content"]["day_slot"][i][0][1].toString() + " " +
data["content"]["day_slot"][i][0][2].toString() + ":" +
data["content"]["day_slot"][i][0][3].toString() + ":" +
data["content"]["day_slot"][i][0][4].toString()
)
let end = new Date(
date.getFullYear().toString() + "-" +
data["content"]["day_slot"][i][1][0].toString() + "-" +
data["content"]["day_slot"][i][1][1].toString() + " " +
data["content"]["day_slot"][i][1][2].toString() + ":" +
data["content"]["day_slot"][i][1][3].toString() + ":" +
data["content"]["day_slot"][i][1][4].toString()
)
if (Date.now() >= begin.getTime() && Date.now() <= end.getTime()) {
$("html").css({
'-webkit-filter': 'grayscale(100%)',
'-moz-filter': 'grayscale(100%)',
'-ms-filter': 'grayscale(100%)',
'-o-filter': 'grayscale(100%)',
'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
'_filter': 'none'
});
break;
}
}
}
});
</script>
</body>
</html>