mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 20:35:13 -05:00
chore: push for isaac
This commit is contained in:
parent
a5151ef112
commit
45ca7a9718
62 changed files with 385 additions and 55 deletions
10
frontend/src/Shared/Model.elm
Normal file
10
frontend/src/Shared/Model.elm
Normal file
|
@ -0,0 +1,10 @@
|
|||
module Shared.Model exposing (Model)
|
||||
|
||||
import Element exposing (Device)
|
||||
|
||||
|
||||
type alias Model =
|
||||
{ height : Int
|
||||
, width : Int
|
||||
, device : Device
|
||||
}
|
14
frontend/src/Shared/Msg.elm
Normal file
14
frontend/src/Shared/Msg.elm
Normal file
|
@ -0,0 +1,14 @@
|
|||
module Shared.Msg exposing (Msg(..))
|
||||
|
||||
{-| -}
|
||||
|
||||
|
||||
{-| Normally, this value would live in "Shared.elm"
|
||||
but that would lead to a circular dependency import cycle.
|
||||
|
||||
For that reason, both `Shared.Model` and `Shared.Msg` are in their
|
||||
own file, so they can be imported by `Effect.elm`
|
||||
|
||||
-}
|
||||
type Msg
|
||||
= NoOp
|
Loading…
Add table
Add a link
Reference in a new issue