feat: added dodgers

This commit is contained in:
Nick 2024-11-12 03:10:56 -06:00
parent 6a9280118c
commit 82bb3e6f9b
2 changed files with 952 additions and 12 deletions

File diff suppressed because it is too large Load diff

View file

@ -7,7 +7,7 @@ import Effect exposing (Effect)
import Element exposing (..)
import Element.Font as F
import Html
import Html.Attributes as H exposing (style)
import Html.Attributes as H exposing (style, wrap)
import Layouts
import Page exposing (Page)
import Route exposing (Route)
@ -151,7 +151,7 @@ makeRow makeRowInput =
[ text "Summary:" |> el [ F.color colourTheme.highlightText ]
, text makeRowInput.propositionSummary |> el [ F.color colourTheme.nonHighlightedText, F.regular ]
]
, row (paragraphBoldFormat ++ [ alignLeft ])
, wrappedRow (paragraphBoldFormat ++ [ alignLeft ])
[ Element.table [ spacing 8 ]
{ data = makeRowInput.definitionTable
, columns =
@ -159,13 +159,15 @@ makeRow makeRowInput =
, width = fill
, view =
\definition ->
text definition.definiendum |> el [ F.color colourTheme.nonHighlightedText, F.regular]
text definition.definiendum
|> el [ F.color colourTheme.highlightText, F.bold ]
}
, { header = el [ F.bold ] (text "Definiens" |> el [ F.color colourTheme.highlightText ])
, width = fill
, view =
\definition ->
text definition.definiens |> el [ F.color colourTheme.nonHighlightedText, F.regular]
text definition.definiens
|> el [ F.color colourTheme.nonHighlightedText, F.regular ]
}
]
}
@ -180,7 +182,7 @@ propositions =
, propositionSummary = "String"
, definitionTable =
[ { definiendum = "Term 1"
, definiens = "Definition 1"
, definiens = "Participate in a structured course consisting of five one-hour modules, covering critical thinking, debate strategy, propositional logic, and more. Throughout the course you will receive both personalized and generalizable advice on how to improve your debate performance."
}
, { definiendum = "Term 2"
, definiens = "Definition 2"