From 9cdbb3f8a87c4cc834162bba1dc588c71e09940c Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 16 Jul 2017 01:46:36 +0200 Subject: [PATCH] Added post like notification --- pages/dashboard/dashboard.pixy | 76 ++++++++++++++++++++++++---------- styles/widgets.scarlet | 2 +- 2 files changed, 55 insertions(+), 23 deletions(-) diff --git a/pages/dashboard/dashboard.pixy b/pages/dashboard/dashboard.pixy index 2d0638ad..ccad9043 100644 --- a/pages/dashboard/dashboard.pixy +++ b/pages/dashboard/dashboard.pixy @@ -86,30 +86,62 @@ component Dashboard(schedule []*arn.UpcomingEpisode, posts []arn.Postable, sound Icon("address-card") span ... - .widget.mountable - h3.widget-title Follow + //- .widget.mountable + //- h3.widget-title Follow - a.widget-element(href="https://discord.gg/0kimAmMCeXGXuzNF", target="_blank", rel="noopener") - .widget-element-text - Icon("microphone") - span Discord + //- a.widget-element(href="https://discord.gg/0kimAmMCeXGXuzNF", target="_blank", rel="noopener") + //- .widget-element-text + //- Icon("microphone") + //- span Discord - a.widget-element(href="https://www.facebook.com/animenotifier", target="_blank", rel="noopener") - .widget-element-text - Icon("facebook") - span Facebook + //- a.widget-element(href="https://www.facebook.com/animenotifier", target="_blank", rel="noopener") + //- .widget-element-text + //- Icon("facebook") + //- span Facebook - a.widget-element(href="https://twitter.com/animenotifier", target="_blank", rel="noopener") - .widget-element-text - Icon("twitter") - span Twitter + //- a.widget-element(href="https://twitter.com/animenotifier", target="_blank", rel="noopener") + //- .widget-element-text + //- Icon("twitter") + //- span Twitter - a.widget-element(href="https://plus.google.com/+AnimeReleaseNotifierOfficial", target="_blank", rel="noopener") - .widget-element-text - Icon("google-plus") - span Google+ + //- a.widget-element(href="https://plus.google.com/+AnimeReleaseNotifierOfficial", target="_blank", rel="noopener") + //- .widget-element-text + //- Icon("google-plus") + //- span Google+ - a.widget-element(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener") - .widget-element-text - Icon("github") - span GitHub + //- a.widget-element(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener") + //- .widget-element-text + //- Icon("github") + //- span GitHub + + .footer + span Anime Notifier + span | + + a(href="https://discord.gg/0kimAmMCeXGXuzNF", target="_blank", rel="noopener") + Icon("microphone") + span Discord + + span | + + a(href="https://www.facebook.com/animenotifier", target="_blank", rel="noopener") + Icon("facebook") + span Facebook + + span | + + a(href="https://twitter.com/animenotifier", target="_blank", rel="noopener") + Icon("twitter") + span Twitter + + span | + + a(href="https://plus.google.com/+AnimeReleaseNotifierOfficial", target="_blank", rel="noopener") + Icon("google-plus") + span Google+ + + span | + + a(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener") + Icon("github") + span GitHub diff --git a/styles/widgets.scarlet b/styles/widgets.scarlet index 6091e200..f60c3534 100644 --- a/styles/widgets.scarlet +++ b/styles/widgets.scarlet @@ -17,7 +17,7 @@ .widget vertical - margin-bottom content-padding + margin-bottom 1rem overflow hidden .widget-element