mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 04:25:11 -05:00
feat: added dodgers
This commit is contained in:
parent
6a9280118c
commit
82bb3e6f9b
2 changed files with 952 additions and 12 deletions
File diff suppressed because it is too large
Load diff
|
@ -7,7 +7,7 @@ import Effect exposing (Effect)
|
||||||
import Element exposing (..)
|
import Element exposing (..)
|
||||||
import Element.Font as F
|
import Element.Font as F
|
||||||
import Html
|
import Html
|
||||||
import Html.Attributes as H exposing (style)
|
import Html.Attributes as H exposing (style, wrap)
|
||||||
import Layouts
|
import Layouts
|
||||||
import Page exposing (Page)
|
import Page exposing (Page)
|
||||||
import Route exposing (Route)
|
import Route exposing (Route)
|
||||||
|
@ -151,7 +151,7 @@ makeRow makeRowInput =
|
||||||
[ text "Summary:" |> el [ F.color colourTheme.highlightText ]
|
[ text "Summary:" |> el [ F.color colourTheme.highlightText ]
|
||||||
, text makeRowInput.propositionSummary |> el [ F.color colourTheme.nonHighlightedText, F.regular ]
|
, text makeRowInput.propositionSummary |> el [ F.color colourTheme.nonHighlightedText, F.regular ]
|
||||||
]
|
]
|
||||||
, row (paragraphBoldFormat ++ [ alignLeft ])
|
, wrappedRow (paragraphBoldFormat ++ [ alignLeft ])
|
||||||
[ Element.table [ spacing 8 ]
|
[ Element.table [ spacing 8 ]
|
||||||
{ data = makeRowInput.definitionTable
|
{ data = makeRowInput.definitionTable
|
||||||
, columns =
|
, columns =
|
||||||
|
@ -159,13 +159,15 @@ makeRow makeRowInput =
|
||||||
, width = fill
|
, width = fill
|
||||||
, view =
|
, view =
|
||||||
\definition ->
|
\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 ])
|
, { header = el [ F.bold ] (text "Definiens" |> el [ F.color colourTheme.highlightText ])
|
||||||
, width = fill
|
, width = fill
|
||||||
, view =
|
, view =
|
||||||
\definition ->
|
\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"
|
, propositionSummary = "String"
|
||||||
, definitionTable =
|
, definitionTable =
|
||||||
[ { definiendum = "Term 1"
|
[ { 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"
|
, { definiendum = "Term 2"
|
||||||
, definiens = "Definition 2"
|
, definiens = "Definition 2"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue