mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 04:25:11 -05:00
feat: refactored some stuff
This commit is contained in:
parent
a7000d6302
commit
d0617b7a90
41 changed files with 161 additions and 223 deletions
|
@ -1,7 +1,7 @@
|
|||
module Layouts.Navbar exposing (Model, Msg, Props, layout)
|
||||
|
||||
import Config.Data.Identity exposing (pageNames)
|
||||
import Config.Format.Format
|
||||
import Config.Helpers.Format
|
||||
exposing
|
||||
( paragraphFontSize
|
||||
, paragraphSpacing
|
||||
|
@ -9,7 +9,7 @@ import Config.Format.Format
|
|||
import Config.Style.Colour exposing (colourTheme)
|
||||
import Config.Style.Fonts exposing (spartanFont)
|
||||
import Config.Style.Glow exposing (glowDeepDarkGreyNavbar)
|
||||
import Config.Style.Svgs
|
||||
import Config.Style.Icons.Icons
|
||||
exposing
|
||||
( circleDots
|
||||
, circleX
|
||||
|
@ -30,7 +30,7 @@ import Config.Style.Svgs
|
|||
, upRootMedium
|
||||
, upRootSmall
|
||||
)
|
||||
import Config.Style.Svgs.Types as TySvg exposing (..)
|
||||
import Config.Style.Icons.Types as TySvg exposing (..)
|
||||
import Config.Style.Transitions
|
||||
exposing
|
||||
( hoverFontLightOrange
|
||||
|
@ -308,6 +308,7 @@ sidebar input =
|
|||
, left = 0
|
||||
, right = 3
|
||||
}
|
||||
, glowDeepDarkGreyNavbar
|
||||
, D.color colourTheme.textDarkOrange
|
||||
, if input.model.isNavbarExpanded then
|
||||
width <| px 225
|
||||
|
@ -411,11 +412,11 @@ items input =
|
|||
, url = Path.toString Path.Services
|
||||
}
|
||||
, { icon = hyperBlog
|
||||
, isCurrent = input.route.path == Path.Hyperblog
|
||||
, isCurrent = input.route.path == Path.HyperBlog
|
||||
, isNewTabLink = False
|
||||
, isSubscriberOnly = False
|
||||
, name = String.toUpper pageNames.pageHyperBlog
|
||||
, url = Path.toString Path.Hyperblog
|
||||
, url = Path.toString Path.HyperBlog
|
||||
}
|
||||
, { icon = debate
|
||||
, isCurrent = input.route.path == Path.Debate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue