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

@ -34,8 +34,11 @@ import Config.Pages.Debate.Cuckery.List
, cuckListNumber
)
import Config.Pages.Debate.Cuckery.Types exposing (..)
import Config.Pages.Headers.Helpers exposing (headerMaker)
import Config.Pages.Headers.Records.CuckList exposing (cuckListHeader)
import Config.Helpers.Header
exposing
( Header
, headerMaker
)
import Config.Style.Colour exposing (colourTheme)
import Config.Style.Transitions
exposing
@ -157,6 +160,17 @@ cucksList device =
]
cuckListHeader : Header
cuckListHeader =
let
name =
"Cucklist"
in
{ headerTitle = String.toUpper name
, headerBody = "This page features a list of morons who wrote cheques with their mouths that their asses couldn't cash. Each person included in this list has dodged debating me."
}
desktopCuckMaker : Cuck -> Element msg
desktopCuckMaker cuck =
row