From 050b66277d1cd5a8b4902a54618a86010cd16891 Mon Sep 17 00:00:00 2001 From: Jonas Sulzer Date: Fri, 12 Jul 2019 14:08:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20NEW:=20show=20notifications=20ti?= =?UTF-8?q?meline=20with=20icon=20in=20navigation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonas Sulzer --- css/style.scss | 1 + img/notifications.svg | 4 ++++ src/App.vue | 20 ++++++++++---------- 3 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 img/notifications.svg diff --git a/css/style.scss b/css/style.scss index 8ae989f4..7cf637a2 100644 --- a/css/style.scss +++ b/css/style.scss @@ -2,6 +2,7 @@ @include icon-black-white('emoji', 'social', 1); @include icon-black-white('boost', 'social', 1); @include icon-black-white('upload', 'actions', 1, true); +@include icon-black-white('notifications', 'social', 1); .icon-boosted { @include icon-color('boost', 'social', '#0082c9', 1); diff --git a/img/notifications.svg b/img/notifications.svg new file mode 100644 index 00000000..1bc88f4c --- /dev/null +++ b/img/notifications.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/App.vue b/src/App.vue index 985612ff..0266d5f7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -136,16 +136,16 @@ export default { icon: 'icon-comment', text: t('social', 'Direct messages') }, - // { - // id: 'social-notifications', - // classes: [], - // router: { - // name: 'timeline', - // params: { type: 'notifications' } - // }, - // icon: 'icon-comment', - // text: t('social', 'Notifications') - // }, + { + id: 'social-notifications', + classes: [], + router: { + name: 'timeline', + params: { type: 'notifications' } + }, + icon: 'icon-notifications', + text: t('social', 'Notifications') + }, { id: 'social-account', classes: [],