feat: massive refactor

This commit is contained in:
Nick 2024-12-15 03:01:13 -06:00
parent 01e571d755
commit ce159368e6
30 changed files with 210 additions and 180 deletions

View file

@ -21,6 +21,11 @@ import Config.Helpers.Format
( paragraphFontSize
, paragraphSpacing
)
import Config.Helpers.Header
exposing
( Header
, headerMaker
)
import Config.Helpers.Response
exposing
( pageList
@ -39,8 +44,6 @@ import Config.Pages.Debate.Arguments.List
, argumentListNumber
)
import Config.Pages.Debate.Arguments.Types exposing (..)
import Config.Pages.Headers.Helpers exposing (headerMaker)
import Config.Pages.Headers.Records.Arguments exposing (argumentHeader)
import Config.Style.Colour exposing (colourTheme)
import Config.Style.Glow
exposing
@ -166,6 +169,17 @@ debateList device =
]
argumentHeader : Header
argumentHeader =
let
name =
"Arguments"
in
{ headerTitle = String.toUpper name
, headerBody = "This page features arguments that I hold to be sound. I'm open to hearing all challenges, as I am ready to engage with and defend any argument listed."
}
argumentMaker : Argument -> Element msg
argumentMaker argument =
row