mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 20:35:13 -05:00
feat: standardized formatting conventions across pages
This commit is contained in:
parent
f2c6f1ce26
commit
d5e7cfe814
12 changed files with 831 additions and 536 deletions
|
@ -3,6 +3,7 @@ module Config.Identity exposing (..)
|
|||
|
||||
type alias PageInput =
|
||||
{ pageHome : String
|
||||
, pageRoot : String
|
||||
, pageContact : String
|
||||
, pageDebate : String
|
||||
, pageDodgers : String
|
||||
|
@ -17,7 +18,8 @@ type alias PageInput =
|
|||
|
||||
pageNames : PageInput
|
||||
pageNames =
|
||||
{ pageHome = "home"
|
||||
{ pageRoot = "home"
|
||||
, pageHome = "upRootHealth"
|
||||
, pagePlatforms = "platforms"
|
||||
, pageServices = "services"
|
||||
, pageDodgers = "cuckList"
|
||||
|
@ -35,6 +37,11 @@ createPageName pageName =
|
|||
pageNames.pageHome ++ " :: " ++ pageName
|
||||
|
||||
|
||||
rootName : String
|
||||
rootName =
|
||||
createPageName pageNames.pageRoot
|
||||
|
||||
|
||||
homeName : String
|
||||
homeName =
|
||||
createPageName pageNames.pageHome
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue