New dashboard
This commit is contained in:
parent
1268aa8ba6
commit
adbcebe9d2
@ -3,11 +3,12 @@ component Dashboard(posts []*arn.Post)
|
||||
|
||||
.dashboard
|
||||
.dashboard-widget
|
||||
h3 Airing
|
||||
h3 Schedule
|
||||
|
||||
for i := 1; i <= 5; i++
|
||||
a.dashboard-event
|
||||
.dashboard-event
|
||||
.dashboard-event-text
|
||||
Icon("calendar-o")
|
||||
span ...
|
||||
|
||||
.dashboard-widget
|
||||
@ -18,4 +19,60 @@ component Dashboard(posts []*arn.Post)
|
||||
//- .dashboard-event-author
|
||||
//- AvatarNoLink(post.Author())
|
||||
.dashboard-event-text
|
||||
Icon(arn.GetForumIcon(post.Thread().Tags[0]))
|
||||
span= post.Thread().Title
|
||||
|
||||
.dashboard-widget
|
||||
h3 Groups
|
||||
|
||||
for i := 1; i <= 5; i++
|
||||
.dashboard-event
|
||||
.dashboard-event-text
|
||||
Icon("group")
|
||||
span ...
|
||||
|
||||
.dashboard-widget
|
||||
h3 Messages
|
||||
|
||||
for i := 1; i <= 5; i++
|
||||
.dashboard-event
|
||||
.dashboard-event-text
|
||||
Icon("comment")
|
||||
span ...
|
||||
|
||||
.dashboard-widget
|
||||
h3 Contacts
|
||||
|
||||
for i := 1; i <= 5; i++
|
||||
.dashboard-event
|
||||
.dashboard-event-text
|
||||
Icon("address-card")
|
||||
span ...
|
||||
|
||||
.dashboard-widget
|
||||
h3 Follow
|
||||
|
||||
a.dashboard-event(href="https://discord.gg/0kimAmMCeXGXuzNF")
|
||||
.dashboard-event-text
|
||||
Icon("microphone")
|
||||
span Discord
|
||||
|
||||
a.dashboard-event(href="https://www.facebook.com/animenotifier")
|
||||
.dashboard-event-text
|
||||
Icon("facebook")
|
||||
span Facebook
|
||||
|
||||
a.dashboard-event(href="https://twitter.com/animenotifier")
|
||||
.dashboard-event-text
|
||||
Icon("twitter")
|
||||
span Twitter
|
||||
|
||||
a.dashboard-event(href="https://plus.google.com/+AnimeReleaseNotifierOfficial")
|
||||
.dashboard-event-text
|
||||
Icon("google-plus")
|
||||
span Google+
|
||||
|
||||
a.dashboard-event(href="https://github.com/animenotifier/notify.moe")
|
||||
.dashboard-event-text
|
||||
Icon("github")
|
||||
span GitHub
|
@ -6,13 +6,14 @@
|
||||
vertical
|
||||
align-items center
|
||||
width 100%
|
||||
padding 0.25rem
|
||||
max-width 600px
|
||||
|
||||
.dashboard-event
|
||||
vertical-wrap
|
||||
ui-element
|
||||
margin-bottom 1rem
|
||||
padding 0.75rem 1rem
|
||||
padding 0.5rem 1rem
|
||||
width 100%
|
||||
max-width 700px
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user