From 4a164e2568ee0d4170ec509cb78df638f985494a Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Tue, 31 Dec 2024 08:40:58 +0100 Subject: [PATCH] [Static] Add unavailable site page --- site/assets/home-foss.xcf | Bin 1436821 -> 1436821 bytes site/src/css/style.css | 2 +- static/errors/style.css | 57 +++++++++++++++++++++++++++++++++ static/errors/unavailable.html | 18 +++++++++++ 4 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 static/errors/style.css create mode 100644 static/errors/unavailable.html diff --git a/site/assets/home-foss.xcf b/site/assets/home-foss.xcf index ba562aa7f6dde7a349425d7526d02a7f1da7384f..5b571ceb653598cbbdb6bb52b7aa5e6324341a09 100644 GIT binary patch delta 77 zcmV~$HxYn9006-u=M0882Q;sT;(8jSAO;VJVE2B*{f29gx)X^cmPAs?B$q-;sic-h STIr;hK}MNmmPOWw?f8DlR~PI6 delta 77 zcmV~$HxYn9006-u=M0882Q;sT;(8jSAO;VJVE2B*{f29giW7+>mPAs?B$q-;sic-h STIr;hK}MNmmPOWw?f8DjzZd2J diff --git a/site/src/css/style.css b/site/src/css/style.css index ebd0ca9..b8551b9 100644 --- a/site/src/css/style.css +++ b/site/src/css/style.css @@ -132,4 +132,4 @@ body { .inline-elements { flex-direction: row; } -} \ No newline at end of file +} diff --git a/static/errors/style.css b/static/errors/style.css new file mode 100644 index 0000000..a13558a --- /dev/null +++ b/static/errors/style.css @@ -0,0 +1,57 @@ +@import url( 'https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap' ); +@import url( 'https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200' ); + +body { + height: 100vh; + width: 100%; + padding: 0; + margin: 0; + font-family: 'Manrope', sans-serif; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} + +.material-symbols-outlined { + font-variation-settings: + 'FILL' 0, + 'wght' 400, + 'GRAD' 0, + 'opsz' 48 +} + +.content { + width: 80%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + min-height: 80vh; +} + +.error { + font-size: 5em; +} + +.logo { + position: fixed; + top: 5px; + left: 5px; + width: 15vh; + height: 15vh; +} + +.button { + padding: 20px; + background-color: rgb(21, 43, 92); + color: white; + text-decoration: none; + border-radius: 10px; + transition: all 0.5s; +} + +.button:hover { + border-radius: 5px; + background-color: rgb(2, 10, 27); +} diff --git a/static/errors/unavailable.html b/static/errors/unavailable.html new file mode 100644 index 0000000..9d591a9 --- /dev/null +++ b/static/errors/unavailable.html @@ -0,0 +1,18 @@ + + + + + + Service unavailable | janishutz.com + + + +
+ + error +

Service unavailable

+

The service you are trying to reach is currently unavailable. If the issue persists, please contact me

+ Contact Support +
+ +