mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 12:25:12 -05:00
feat: almost finished mvp
This commit is contained in:
parent
f3f7df13f5
commit
7ea90e4132
16 changed files with 1499 additions and 180 deletions
|
@ -5,12 +5,14 @@ import Config.Colour as T exposing (..)
|
|||
import Config.Format as O exposing (..)
|
||||
import Config.Identity as I exposing (..)
|
||||
import Config.Response exposing (..)
|
||||
import Config.Style.Svgs exposing (..)
|
||||
import Config.Viewport exposing (..)
|
||||
import Effect exposing (Effect)
|
||||
import Element as E exposing (..)
|
||||
import Element.Background as B exposing (..)
|
||||
import Element.Border as D exposing (..)
|
||||
import Element.Font as F
|
||||
import Html exposing (Html)
|
||||
import Html.Attributes as H exposing (style)
|
||||
import Layouts
|
||||
import Page exposing (Page)
|
||||
|
@ -19,16 +21,15 @@ import Shared exposing (..)
|
|||
import View exposing (View)
|
||||
|
||||
|
||||
homePage : { src : String, description : String } -> Element msg
|
||||
homePage : Html msg -> Element msg
|
||||
homePage image =
|
||||
column
|
||||
[ centerX
|
||||
, centerY
|
||||
, spacing 20
|
||||
]
|
||||
[ row [ centerX ]
|
||||
[ E.image [ E.width fill, height <| px 100 ]
|
||||
image
|
||||
[ row [ centerX, E.width fill, height <| px 100 ]
|
||||
[ html image
|
||||
]
|
||||
, column
|
||||
[ paddingEach
|
||||
|
@ -47,34 +48,28 @@ homePage image =
|
|||
]
|
||||
|
||||
|
||||
desktopHomePageImage : { src : String, description : String }
|
||||
desktopHomePageImage : Html msg
|
||||
desktopHomePageImage =
|
||||
{ src = "assets/logo_extended.png"
|
||||
, description = ""
|
||||
}
|
||||
upRootLarge
|
||||
|
||||
|
||||
mobileLargeHomePageImage : Html msg
|
||||
mobileLargeHomePageImage =
|
||||
upRootMedium
|
||||
|
||||
|
||||
mobileSmallHomePageImage : Html msg
|
||||
mobileSmallHomePageImage =
|
||||
upRootSmall
|
||||
|
||||
|
||||
desktopHomePage =
|
||||
homePage desktopHomePageImage
|
||||
|
||||
|
||||
mobileLargeHomePageImage : { src : String, description : String }
|
||||
mobileLargeHomePageImage =
|
||||
{ src = "assets/logo.png"
|
||||
, description = ""
|
||||
}
|
||||
|
||||
|
||||
mobileLargeHomePage =
|
||||
homePage mobileLargeHomePageImage
|
||||
|
||||
|
||||
mobileSmallHomePageImage : { src : String, description : String }
|
||||
mobileSmallHomePageImage =
|
||||
{ src = "assets/logo_lambda.png"
|
||||
, description = ""
|
||||
}
|
||||
|
||||
|
||||
mobileSmallHomePage =
|
||||
homePage mobileSmallHomePageImage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue