mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 12:25:12 -05:00
feat: refactored a shit ton of stuff
This commit is contained in:
parent
68be562bd3
commit
fbdfde8680
232 changed files with 2614 additions and 2532 deletions
30
frontend/src/Config/Format/Response.elm
Executable file
30
frontend/src/Config/Format/Response.elm
Executable file
|
@ -0,0 +1,30 @@
|
|||
module Config.Format.Response exposing (..)
|
||||
|
||||
import Config.Style.Colour exposing (colourTheme)
|
||||
import Element as E exposing (..)
|
||||
import Element.Background as B
|
||||
|
||||
|
||||
topLevelContainer : Element msg -> Element msg
|
||||
topLevelContainer =
|
||||
el
|
||||
[ width fill
|
||||
, height fill
|
||||
, centerX
|
||||
, B.color colourTheme.backgroundLightGrey
|
||||
, height fill
|
||||
, scrollbarY
|
||||
]
|
||||
|
||||
|
||||
pageListDesktop : List (Attribute msg)
|
||||
pageListDesktop =
|
||||
[ spacing 30
|
||||
, centerX
|
||||
, alignTop
|
||||
, height fill
|
||||
, paddingEach { top = 30, bottom = 30, left = 30, right = 30 }
|
||||
, width (fill |> minimum 100)
|
||||
, width (fill |> maximum 875)
|
||||
, scrollbarY
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue