diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-30 10:04:53 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-30 10:04:53 +0100 |
commit | 767619f639180d28532ffb4f7919668f3e5b5772 (patch) | |
tree | e15e3411fb1bf9d67162e46f612a2dd39e75daa8 | |
parent | 16fd7c4b86682f5407384c094fc909c5990562b2 (diff) | |
download | PeerTube-767619f639180d28532ffb4f7919668f3e5b5772.tar.gz PeerTube-767619f639180d28532ffb4f7919668f3e5b5772.tar.zst PeerTube-767619f639180d28532ffb4f7919668f3e5b5772.zip |
Add mascot to 404 page
-rw-r--r-- | client/src/app/+page-not-found/page-not-found.component.html | 10 | ||||
-rw-r--r-- | client/src/app/+page-not-found/page-not-found.component.scss | 16 | ||||
-rw-r--r-- | client/src/assets/images/mascot/arguing.png | bin | 0 -> 11783 bytes | |||
-rw-r--r-- | client/src/assets/images/mascot/default.png | bin | 0 -> 10134 bytes | |||
-rw-r--r-- | client/src/assets/images/mascot/defeated.png | bin | 0 -> 8891 bytes | |||
-rw-r--r-- | client/src/assets/images/mascot/happy.png | bin | 0 -> 11242 bytes | |||
-rw-r--r-- | client/src/assets/images/mascot/oh.png | bin | 0 -> 10806 bytes | |||
-rw-r--r-- | client/src/assets/images/mascot/pointing.png | bin | 0 -> 10518 bytes |
8 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 @@ | |||
1 | div { | 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 | } | ||
diff --git a/client/src/assets/images/mascot/arguing.png b/client/src/assets/images/mascot/arguing.png new file mode 100644 index 000000000..154c45c2c --- /dev/null +++ b/client/src/assets/images/mascot/arguing.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/mascot/default.png b/client/src/assets/images/mascot/default.png new file mode 100644 index 000000000..e0a1410b7 --- /dev/null +++ b/client/src/assets/images/mascot/default.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/mascot/defeated.png b/client/src/assets/images/mascot/defeated.png new file mode 100644 index 000000000..58e1ce10a --- /dev/null +++ b/client/src/assets/images/mascot/defeated.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/mascot/happy.png b/client/src/assets/images/mascot/happy.png new file mode 100644 index 000000000..a51f9df14 --- /dev/null +++ b/client/src/assets/images/mascot/happy.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/mascot/oh.png b/client/src/assets/images/mascot/oh.png new file mode 100644 index 000000000..168b11b65 --- /dev/null +++ b/client/src/assets/images/mascot/oh.png | |||
Binary files differ | |||
diff --git a/client/src/assets/images/mascot/pointing.png b/client/src/assets/images/mascot/pointing.png new file mode 100644 index 000000000..670702f53 --- /dev/null +++ b/client/src/assets/images/mascot/pointing.png | |||
Binary files differ | |||