aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-12-31 08:39:32 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2023-12-31 08:39:32 +0000
commit26f24a66b0fc5253c659afe7c66fd707ba3b46b2 (patch)
tree1aaf96f8257573b5099544e44aad35ea7ce5c1a0
parentcleanup: symlinks that do not work in new origin S3 hosting (diff)
downloadassets-26f24a66b0fc5253c659afe7c66fd707ba3b46b2.tar.gz
assets-26f24a66b0fc5253c659afe7c66fd707ba3b46b2.tar.bz2
assets-26f24a66b0fc5253c659afe7c66fd707ba3b46b2.zip
html: improve index & error page
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--assets/_index.html14
-rw-r--r--error.html66
-rw-r--r--index.html (renamed from _index.html)0
3 files changed, 66 insertions, 14 deletions
diff --git a/assets/_index.html b/assets/_index.html
deleted file mode 100644
index 1a6b542..0000000
--- a/assets/_index.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta http-equiv="refresh" content="0; url=https://www.gentoo.org" />
- <script type="text/javascript">
- window.location.href = "https://www.gentoo.org";
- </script>
- <title>assets.gentoo.org redirect</title>
- </head>
- <body>
- This page should redirect immediately to the <a href="https://www.gentoo.org">Gentoo Linux homepage</a>.
- </body>
-</html>
diff --git a/error.html b/error.html
new file mode 100644
index 0000000..187c13b
--- /dev/null
+++ b/error.html
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Gentoo Linux assets.gentoo.org — Error 404 (Not Found)</title>
+
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="theme-color" content="#54487a">
+ <link href="https://assets.gentoo.org/tyrian/bootstrap.min.css" rel="stylesheet" media="screen">
+ <link href="https://assets.gentoo.org/tyrian/tyrian.min.css" rel="stylesheet" media="screen">
+ <link rel="icon" href="https://www.gentoo.org/favicon.ico" type="image/x-icon">
+
+ <style type="text/css">
+ .center {
+ min-height: 100%;
+ min-height: 100vh;
+ display: flex;
+ align-items: center;
+ }
+
+ body {
+ background-image: -webkit-linear-gradient(top, #e0e0e0 0, #fafafa 20%);
+ bbackground-image: -o-linear-gradient(top, #e0e0e0 0, #fafafa 20%);
+ bbackground-image: linear-gradient(to bottom, #e0e0e0 0, #fafafa 20%);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe0e0e0', endColorstr='#fffafafa', GradientType=0);
+ }
+
+ .minifooter {
+ padding-left: 60px;
+ padding-right: 60px;
+ text-align: center;
+ }
+
+ .minifooter img {
+ max-width: 100px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="center">
+ <div class="container">
+ <div class="row">
+ <div class="col-md-12">
+ <div class="jumbotron">
+ <i class="fa fa-question-circle" style="color:#ccc;float:right;font-size:100pt;" id="box-icon"></i>
+ <h1 id="box-title">Not Found <small>(404)</small></h1>
+
+ <p><strong>We couldn't find the resource you were trying to request.</strong></p>
+
+ <p>If you've followed a link <strong>on our websites</strong> that led here, please <a href="https://www.gentoo.org/main/en/contact.xml">let us know</a> about the broken link.</p>
+ <hr>
+ <p><small>Maybe something is wrong after all, and there's more information available on our <em>Infrastructure Status</em> website:</small></p>
+ <p><a class="btn btn-primary" role="button" href="https://infra-status.gentoo.org/#pk_campaign=err&pk_kwd=404">Visit Infra Status</a></p>
+ </div>
+
+ <div class="minifooter">
+ <a href="/" title="Back to this site's homepage"><img src="https://assets.gentoo.org/tyrian/gentoo-typo.svg" alt="Gentoo Linux Logo"></a>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+ </body>
+</html>
diff --git a/_index.html b/index.html
index 1a6b542..1a6b542 100644
--- a/_index.html
+++ b/index.html