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

@ -42,8 +42,12 @@ import Config.Pages.Donate.Records.PayPal exposing (donatePayPal)
import Config.Pages.Donate.Records.Stripe exposing (donateStripe)
import Config.Pages.Donate.Records.YouTube exposing (donateYouTube)
import Config.Pages.Donate.Types exposing (..)
import Config.Pages.Headers.Helpers exposing (headerMaker)
import Config.Pages.Headers.Records.Donate exposing (donateHeader)
import Config.Helpers.Header exposing (..)
import Config.Helpers.Header
exposing
( Header
, headerMaker
)
import Config.Style.Colour as T exposing (..)
import Effect exposing (Effect)
import Element as E exposing (..)
@ -167,6 +171,17 @@ donateList device =
]
donateHeader : Header
donateHeader =
let
name =
"Donate"
in
{ headerTitle = String.toUpper name
, headerBody = "My site, research, and content all cost time and money to run. If you find my contributions valuable, please consider supporting my work on any of the platforms listed below!"
}
donateMaker : Donate -> Element msg
donateMaker donate =
row