Compare commits

...

9 Commits
2.3.2 ... 2.4.5

Author SHA1 Message Date
David Miller
670a80414c v2.4.5 2022-05-20 11:24:21 +08:00
David Miller
4bc7896c52 Merge branch 'main' of https://github.com/CitizenBeta2/Homepage 2022-05-07 18:59:01 +08:00
David Miller
9b81402f74 Update CNAME 2022-05-07 18:58:59 +08:00
David Miller
adaca6dd77 Update CNAME 2022-05-04 17:35:32 +08:00
David Miller
f0df3d0a88 v2.4.4 2022-05-01 14:47:46 +08:00
David Miller
d7a91c3ce8 2.4.3 2022-04-29 16:19:55 +08:00
David Miller
f65b40a1d8 v2.4.2 2022-04-29 16:14:22 +08:00
David Miller
09ab3d4ab7 v2.4.1 2022-04-09 21:47:48 +08:00
David Miller
14b7622499 v2.4 2022-04-09 21:26:04 +08:00
3 changed files with 10 additions and 59 deletions

2
CNAME
View File

@@ -1 +1 @@
github.davidmiller.top mirror.davidmiller.top

View File

@@ -1,52 +0,0 @@
(function(){
var frame = document.createElement('iframe');
frame.src = 'https://fq8xc1yqvf0c.statuspage.io/embed/frame';
frame.style.position = 'fixed';
frame.style.border = 'none';
frame.style.boxShadow = '0 20px 32px -8px rgba(9,20,66,0.25)';
frame.style.zIndex = '9999';
frame.style.transition = 'left 1s ease, bottom 1s ease, right 1s ease';
var mobile;
if (mobile = screen.width < 450) {
frame.src += '?mobile=true';
frame.style.height = '20vh';
frame.style.width = '100vw';
frame.style.left = '-9999px';
frame.style.bottom = '-9999px';
frame.style.transition = 'bottom 1s ease';
} else {
frame.style.height = '115px';
frame.style.width = '320px';
frame.style.left = 'auto';
frame.style.right = '-9999px';
frame.style.bottom = 'calc(100% - 175px)';
}
document.body.appendChild(frame);
var actions = {
showFrame: function() {
if (mobile) {
frame.style.left = '0';
frame.style.bottom = '0';
}
else {
frame.style.left = 'auto';
frame.style.right = '60px'
}
},
dismissFrame: function(){
frame.style.left = '-9999px';
}
}
window.addEventListener('message', function(event){
if (event.data.action && actions.hasOwnProperty(event.data.action)) {
actions[event.data.action](event.data);
}
}, false);
window.statusEmbedTest = actions.showFrame;
})();

View File

@@ -11,15 +11,17 @@
<!-- Header --> <!-- Header -->
<header id="header"> <header id="header">
<h1>David Miller's Homepage</h1> <h1>David Miller's Homepage</h1>
<p>A High School Student from Beijing, China</p> <p>A High School Student from Beijing, China
<br>Seeking for more information click <a href="https://info.davidmiller.top/" target="_blank">here</a></p>
</header> </header>
<!-- Footer --> <!-- Footer -->
<footer id="footer"> <footer id="footer">
<ul class="icons"> <ul class="icons">
<li><a href="https://wechat.davidmiller.top" class="icon brands fa-weixin"><span class="label">WeChat</span></a></li> <li><a href="https://wechat.davidmiller.top/" class="icon brands fa-weixin"><span class="label">WeChat</span></a></li>
<li><a href="mailto:davidmillercn@outlook.com" class="icon solid fa-envelope"><span class="label">Email</span></a></li> <li><a href="mailto:davidmillercn@outlook.com" class="icon solid fa-envelope"><span class="label">Email</span></a></li>
<li><a href="https://steamcommunity.com/id/davidmillercn/" class="icon brands fa-steam"><span class="label">Steam</span></a></li> <li><a href="https://steamcommunity.com/id/citizenbeta3" class="icon brands fa-steam"><span class="label">Steam</span></a></li>
<li><a href="https://twitter.com/CitizenBeta2" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li> <li><a href="https://twitter.com/CitizenBeta2" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="https://github.com/CitizenBeta2" class="icon brands fa-github"><span class="label">GitHub</span></a></li> <li><a href="https://github.com/CitizenBeta2" class="icon brands fa-github"><span class="label">GitHub</span></a></li>
<li><a href="https://www.facebook.com/CitizenBeta2" class="icon brands fa-facebook"><span class="label">Facebook</span></a></li> <li><a href="https://www.facebook.com/CitizenBeta2" class="icon brands fa-facebook"><span class="label">Facebook</span></a></li>
@@ -29,11 +31,12 @@
</ul> </ul>
<ul class="copyright"> <ul class="copyright">
<li>&copy; <span id=current-year><script>document.getElementById("current-year").innerHTML=(new Date).getFullYear()</script></span> David Miller.</li> <li>&copy; <span id=current-year><script>document.getElementById("current-year").innerHTML=(new Date).getFullYear()</script></span> David Miller.</li>
<li><a href="https://davidmiller.statuspage.io/">System Status</a></li> <li><a href="https://github.com/CitizenBeta2/Homepage/releases/tag/2.4.5">Version 2.4.5</a></li>
<li><a href="https://davidmiller.statuspage.io">System Status</a></li>
<li><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802035614" target="_blank">京公网安备 11010802035614号</a></li> <li><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802035614" target="_blank">京公网安备 11010802035614号</a></li>
<li><a href="https://beian.miit.gov.cn/" target="_blank">京ICP备2021023756号-1</a></li> <li><a href="https://beian.miit.gov.cn" target="_blank">京ICP备2021023756号-1</a></li>
</ul> </ul>
<script src="assets/js/statuspage.js"></script> <script src="https://static.davidmiller.top/js/statuspage.js"></script>
</footer> </footer>
<!-- Scripts --> <!-- Scripts -->