mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 04:25:11 -05:00
feat: started working on responsiveness
This commit is contained in:
parent
e6b3e90698
commit
0339496f42
37 changed files with 790 additions and 249 deletions
|
@ -26,7 +26,14 @@ layout props shared route =
|
|||
Layout.new
|
||||
{ init = init
|
||||
, update = update
|
||||
, view = \layoutArgs -> view { props = props, content = layoutArgs.content, model = layoutArgs.model, toContentMsg = layoutArgs.toContentMsg }
|
||||
, view =
|
||||
\layoutArgs ->
|
||||
view
|
||||
{ props = props
|
||||
, content = layoutArgs.content
|
||||
, model = layoutArgs.model
|
||||
, toContentMsg = layoutArgs.toContentMsg
|
||||
}
|
||||
, subscriptions = subscriptions
|
||||
}
|
||||
|
||||
|
@ -115,23 +122,18 @@ view { content, model, toContentMsg, props } =
|
|||
)
|
||||
[ E.image
|
||||
[ spacing 2
|
||||
, E.width <| px 180
|
||||
, E.width <| px 140
|
||||
, centerX
|
||||
, paddingEach
|
||||
{ top = 20
|
||||
, right = 0
|
||||
, bottom = 20
|
||||
, left = 0
|
||||
}
|
||||
]
|
||||
{ src = "navbar/uprootnutrition.png"
|
||||
{ src = "assets/logo.png"
|
||||
, description = ""
|
||||
}
|
||||
|
||||
-- , column []
|
||||
-- [ link [ centerX ]
|
||||
-- { url = localhostUrl ++ pageNames.pageHome
|
||||
-- , label = text "upRoot"
|
||||
-- }
|
||||
-- , link [ centerX ]
|
||||
-- { url = localhostUrl ++ pageNames.pageHome
|
||||
-- , label = text "Nutrition"
|
||||
-- }
|
||||
-- ]
|
||||
]
|
||||
, el
|
||||
[ E.width <| px 140
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue