Added support link to extension
This commit is contained in:
parent
b77dcfb98c
commit
84a53c1b4b
@ -41,7 +41,7 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
|
||||
Content(content)
|
||||
LoadingAnimation
|
||||
StatusMessage
|
||||
ExtensionNavigation
|
||||
ExtensionNavigation(user)
|
||||
if user != nil
|
||||
#user(data-id=user.ID, data-pro=user.IsPro(), data-theme=user.Settings().Theme)
|
||||
script(src="/scripts")
|
||||
|
@ -1,7 +1,13 @@
|
||||
component BrowserExtension(watchingList *arn.AnimeList, viewUser *arn.User, user *arn.User)
|
||||
AnimeList(watchingList, viewUser, user)
|
||||
|
||||
component ExtensionNavigation
|
||||
component ExtensionNavigation(user *arn.User)
|
||||
nav.extension-navigation
|
||||
button.action(data-trigger="click", data-action="toggleSidebar")
|
||||
RawIcon("bars")
|
||||
|
||||
if user != nil
|
||||
.spacer
|
||||
|
||||
a.button(href="/support", target="_blank")
|
||||
RawIcon("heart")
|
@ -3,10 +3,12 @@
|
||||
|
||||
> 780px
|
||||
.extension-navigation
|
||||
display block
|
||||
horizontal
|
||||
position fixed
|
||||
bottom 1rem
|
||||
left 1rem
|
||||
bottom 0
|
||||
left 0
|
||||
padding 1rem
|
||||
width 100%
|
||||
|
||||
> 790px
|
||||
.extension-navigation
|
||||
|
Loading…
Reference in New Issue
Block a user