[gtk-web/new-website: 1/2] use custom 404



commit fea79bcf51fc3721127a30f9c13431de1547f061
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Nov 21 15:40:15 2019 +0100

    use custom 404
    
    - use unique illustration style
    
    See https://gitlab.gnome.org/Infrastructure/gtk-web/issues/4 for more info

 404.html                |   6 +++---
 Gemfile.lock            |   7 ++++---
 assets/img/wall-404.png | Bin 59216 -> 0 bytes
 assets/img/wall-404.svg |   1 +
 4 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/404.html b/404.html
index 1f60528..aaead98 100644
--- a/404.html
+++ b/404.html
@@ -8,8 +8,8 @@
   <div class="row justify-content-center">
     <div class="col-12 col-sm-8 d-flex flex-column align-items-center">
       <h3 class="text-center">404 Page not found</h3>
-      <img src="{{ '/assets/img/wall-404.png' | prepend: site.url }}" class="img-fluid w-75 w-sm-50 py-3" 
alt="404 Not Found" />
-      <div class="w-100 py-3 px-3 bg-light rounded">
+      <img src="{{ '/assets/img/wall-404.svg' | prepend: site.url }}" class="img-fluid w-75 w-sm-50 py-3" 
alt="404 Not Found" />
+      <div class="w-100 py-3 px-3">
         <p>The requested page could not be found. If you feel this is not normal, then you create an issue 
on the Gitlab.</p>
         <a href="javascript:window.history.go(-1);" class="btn btn-sm btn-primary" role="button">Go Back</a>
         <a href="{{ '/issues/' | prepend: site.website_repo }}" class="btn btn-sm btn-outline-primary" 
role="button">File an issue</a>
@@ -21,4 +21,4 @@
 
 <script>
 // console.log(window.history.back());
-</script>
\ No newline at end of file
+</script>
diff --git a/Gemfile.lock b/Gemfile.lock
index 54409b6..9e2a48f 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -8,7 +8,9 @@ GEM
     em-websocket (0.5.1)
       eventmachine (>= 0.12.9)
       http_parser.rb (~> 0.6.0)
+    eventmachine (1.2.7)
     eventmachine (1.2.7-x64-mingw32)
+    ffi (1.11.1)
     ffi (1.11.1-x64-mingw32)
     forwardable-extended (2.6.0)
     http_parser.rb (0.6.0)
@@ -58,16 +60,15 @@ GEM
       concurrent-ruby (~> 1.0)
     tzinfo-data (1.2019.1)
       tzinfo (>= 1.0.0)
-    wdm (0.1.1)
 
 PLATFORMS
+  ruby
   x64-mingw32
 
 DEPENDENCIES
   jekyll (~> 3.8.5)
   jekyll-feed (~> 0.6)
   tzinfo-data
-  wdm (~> 0.1.0)
 
 BUNDLED WITH
-   2.0.1
+   2.0.2
diff --git a/assets/img/wall-404.svg b/assets/img/wall-404.svg
new file mode 100644
index 0000000..d2a917e
--- /dev/null
+++ b/assets/img/wall-404.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg"; width="800" height="800"><g transform="translate(0 -322.52)"><g 
transform="matrix(1.46652 0 0 1.46652 -5767.52 10137.899)" fill="#f8e45c" fill-opacity=".957"><rect 
ry="20.506" rx="20.506" y="-6263.278" x="4065.124" height="41.012" width="261.63" style="marker:none"/><rect 
style="marker:none" width="261.63" height="41.012" x="4149.124" y="-6240.278" rx="20.506" ry="20.506"/><rect 
ry="20.506" rx="20.506" y="-6226.278" x="4028.124" height="41.012" width="261.63" style="marker:none"/></g><g 
transform="matrix(1.53139 0 0 1.53139 -1294.741 525.79)"><path style="marker:none" d="M1084 65.616a27.16 
27.16 0 00-27.063 24.9l-16 192A27.16 27.16 0 001068 311.93h96a27.16 27.16 0 0027.063-29.412l-16-192a27.16 
27.16 0 00-27.063-24.9h-32z" fill-opacity=".102"/><path d="M1084 61.125a27.16 27.16 0 00-27.063 24.9l-16 
192A27.16 27.16 0 001068 307.438h96a27.16 27.16 0 0027.063-29.413l-16-192a27.16 27.16 0 00-27.063-24.9h-32z" 
fill="#deddda"/><rect ry="32" rx
 ="32" y=
 "-104" x="908" height="352" width="416" style="marker:none" fill="#f6f5f4"/><path style="marker:none" 
d="M936.534-103.79h358.932a28.795 28.795 0 0128.859 28.859v264.73h-416.65V-74.93a28.795 28.795 0 
0128.859-28.859z" fill="#241f31"/></g><path style="marker:none" d="M446.112 591.108a42.172 42.172 0 0159.64 
0M318.312 591.108a42.172 42.172 0 0159.64 0" fill="none" stroke="#fff" stroke-width="14.665" 
stroke-linecap="round"/><circle style="marker:none" cx="411.169" cy="696.87" r="19.421" fill="none" 
stroke="#fff" stroke-width="14.665" stroke-linecap="round"/></g></svg>
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]