Added home link to extension

This commit is contained in:
Eduard Urbach 2017-06-25 15:04:35 +02:00
parent 8ece017a82
commit c61ec525cb
4 changed files with 11 additions and 2 deletions

View File

@ -22,7 +22,7 @@
"loading", "loading",
"fade", "fade",
"mobile", "mobile",
"extension" "embedded"
], ],
"scripts": { "scripts": {
"main": "main" "main": "main"

View File

@ -20,7 +20,10 @@ component LoggedOutMenu
component LoggedInMenu(user *arn.User) component LoggedInMenu(user *arn.User)
nav#navigation.logged-in nav#navigation.logged-in
NavigationButton("Dash", "/", "inbox") .extension-navigation
NavigationButton("Watching list", "/extension/embed", "home")
NavigationButton("Dash", "/", "dashboard")
NavigationButton("Anime", "/anime", "television") NavigationButton("Anime", "/anime", "television")
NavigationButton("Profile", "/+", "user") NavigationButton("Profile", "/+", "user")
NavigationButton("Forum", "/forum", "comment") NavigationButton("Forum", "/forum", "comment")

View File

@ -2,6 +2,9 @@
// Put navigation to the bottom of the screen // Put navigation to the bottom of the screen
flex-direction column-reverse !important flex-direction column-reverse !important
.extension-navigation
display inline-block
.anime-list .anime-list
max-width 500px max-width 500px
margin -1.1rem margin -1.1rem

View File

@ -59,6 +59,9 @@
.extra-navigation .extra-navigation
display none display none
.extension-navigation
display none
> 330px > 330px
.navigation-button, #search .navigation-button, #search
font-size 1.3em font-size 1.3em