feat: improved debate page

This commit is contained in:
Nick 2024-11-12 19:23:16 -06:00
parent 036122095e
commit bec8dc53bf
5 changed files with 330 additions and 226 deletions

View file

@ -21,7 +21,7 @@ pageList =
[ spacing 40
, centerX
, centerY
, moveDown 60
, moveDown 30
, alignTop
]
@ -47,6 +47,14 @@ transitionNonHighlightedLinkHover =
]
transitionNonHighlightedLinkHoverWithMove : Element msg -> Element msg
transitionNonHighlightedLinkHoverWithMove =
el
[ mouseOver [ F.color colourTheme.highlightText, moveRight 10 ]
, transitionStyle
]
spartanFont : F.Font
spartanFont =
F.typeface "League Spartan"
@ -143,6 +151,7 @@ paragraphAlignLeft =
[ alignLeft, paragraphWidth ]
++ paragraphText
paragraphAlignCenter : List (Attr () msg)
paragraphAlignCenter =
[ centerX, paragraphWidth ]

View file

@ -10,7 +10,6 @@ type alias PageInput =
, pageInterviews : String
, pageNutriDex : String
, pagePlatforms : String
, pagePropositions : String
, pageServices : String
, pageSupport : String
}
@ -21,9 +20,8 @@ pageNames =
{ pageHome = "The Nutrivore"
, pagePlatforms = "Platforms"
, pageServices = "Services"
, pageDebate = "Debate"
, pageDodgers = "Dodgers"
, pagePropositions = "Propositions"
, pageDebate = "Debate"
, pageHyperBlog = "HyperBlog"
, pageNutriDex = "NutriDex"
, pageInterviews = "Interviews"
@ -72,11 +70,6 @@ platformsName =
createPageName pageNames.pagePlatforms
propositionsName : String
propositionsName =
createPageName pageNames.pagePropositions
servicesName : String
servicesName =
createPageName pageNames.pageServices