mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-08-09 20:04:38 -05:00
refactor: map abuse
This commit is contained in:
parent
718a9ecaa7
commit
7c0577d3d9
7 changed files with 590 additions and 196 deletions
31
Dodgers.elm
Normal file
31
Dodgers.elm
Normal file
|
@ -0,0 +1,31 @@
|
|||
module Pages.Dodgers exposing (page)
|
||||
|
||||
import Config.Identity as ID exposing (..)
|
||||
import Config.Theme as T exposing (..)
|
||||
import Element exposing (..)
|
||||
import Element.Background as B
|
||||
import Element.Font as F
|
||||
import Element.Region exposing (description)
|
||||
import View exposing (View)
|
||||
|
||||
|
||||
page : View msg
|
||||
page =
|
||||
{ title = servicesName
|
||||
, attributes = [ F.family [ spartanFont ] ]
|
||||
, element = dodgersContainer
|
||||
}
|
||||
|
||||
dodgersContainer : Element msg
|
||||
dodgersContainer = topLevelContainer dodgersList
|
||||
|
||||
dodgersList : Element msg
|
||||
dodgersList =
|
||||
column
|
||||
[ spacing 20
|
||||
, centerX
|
||||
, centerY
|
||||
]
|
||||
dodgers
|
||||
|
||||
dodgers = []
|
Loading…
Add table
Add a link
Reference in a new issue