aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+page-not-found
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-10-30 10:04:53 +0100
committerChocobozzz <me@florianbigard.com>2019-10-30 10:04:53 +0100
commit767619f639180d28532ffb4f7919668f3e5b5772 (patch)
treee15e3411fb1bf9d67162e46f612a2dd39e75daa8 /client/src/app/+page-not-found
parent16fd7c4b86682f5407384c094fc909c5990562b2 (diff)
downloadPeerTube-767619f639180d28532ffb4f7919668f3e5b5772.tar.gz
PeerTube-767619f639180d28532ffb4f7919668f3e5b5772.tar.zst
PeerTube-767619f639180d28532ffb4f7919668f3e5b5772.zip
Add mascot to 404 page
Diffstat (limited to 'client/src/app/+page-not-found')
-rw-r--r--client/src/app/+page-not-found/page-not-found.component.html10
-rw-r--r--client/src/app/+page-not-found/page-not-found.component.scss16
2 files changed, 20 insertions, 6 deletions
diff --git a/client/src/app/+page-not-found/page-not-found.component.html b/client/src/app/+page-not-found/page-not-found.component.html
index 2934003ab..df3ea6739 100644
--- a/client/src/app/+page-not-found/page-not-found.component.html
+++ b/client/src/app/+page-not-found/page-not-found.component.html
@@ -1,3 +1,7 @@
1<div i18n> 1<div class="root">
2 Sorry, but we couldn't find the page you were looking for. 2 <img src="/client/assets/images/mascot/defeated.png" alt="404 mascot">
3</div> \ No newline at end of file 3
4 <div class="text" i18n>
5 Sorry, we couldn't find the page you were looking for.
6 </div>
7</div>
diff --git a/client/src/app/+page-not-found/page-not-found.component.scss b/client/src/app/+page-not-found/page-not-found.component.scss
index f3f0354a3..7b7ff005a 100644
--- a/client/src/app/+page-not-found/page-not-found.component.scss
+++ b/client/src/app/+page-not-found/page-not-found.component.scss
@@ -1,8 +1,18 @@
1div { 1.root {
2 height: 100%; 2 height: 100%;
3 width: 100%; 3 width: 100%;
4 text-align: center; 4 text-align: center;
5 padding-top: 150px; 5 padding-top: 150px;
6 6
7 font-size: 32px; 7 img {
8} \ No newline at end of file 8 margin-bottom: 75px;
9 }
10
11 .text {
12 font-size: 30px;
13 }
14
15 @media screen and (max-height: 600px) {
16 padding-top: 50px;
17 }
18}