diff --git a/config.json b/config.json index c4244c39..b4ecbbf9 100644 --- a/config.json +++ b/config.json @@ -22,7 +22,7 @@ "loading", "fade", "mobile", - "extension" + "embedded" ], "scripts": { "main": "main" diff --git a/mixins/Navigation.pixy b/mixins/Navigation.pixy index 0a6a55df..c8743ef0 100644 --- a/mixins/Navigation.pixy +++ b/mixins/Navigation.pixy @@ -20,7 +20,10 @@ component LoggedOutMenu component LoggedInMenu(user *arn.User) nav#navigation.logged-in - NavigationButton("Dash", "/", "inbox") + .extension-navigation + NavigationButton("Watching list", "/extension/embed", "home") + + NavigationButton("Dash", "/", "dashboard") NavigationButton("Anime", "/anime", "television") NavigationButton("Profile", "/+", "user") NavigationButton("Forum", "/forum", "comment") diff --git a/styles/extension.scarlet b/styles/embedded.scarlet similarity index 79% rename from styles/extension.scarlet rename to styles/embedded.scarlet index 8af16956..07a9d427 100644 --- a/styles/extension.scarlet +++ b/styles/embedded.scarlet @@ -2,6 +2,9 @@ // Put navigation to the bottom of the screen flex-direction column-reverse !important + .extension-navigation + display inline-block + .anime-list max-width 500px margin -1.1rem diff --git a/styles/navigation.scarlet b/styles/navigation.scarlet index 89582ed3..af6c9e94 100644 --- a/styles/navigation.scarlet +++ b/styles/navigation.scarlet @@ -59,6 +59,9 @@ .extra-navigation display none +.extension-navigation + display none + > 330px .navigation-button, #search font-size 1.3em