dotfiles/templates/website/frontend/src/Pages/Home_.elm

75 lines
1 KiB
Elm
Raw Normal View History

2025-06-22 18:31:52 -05:00
module Pages.Home_ exposing (Model, Msg, page)
import Effect exposing (Effect)
2025-06-22 19:25:27 -05:00
import Element as E exposing (..)
import Element.Background as B exposing (..)
import Element.Border as D exposing (..)
2025-06-22 18:31:52 -05:00
import Html
2025-06-22 19:25:27 -05:00
import Html.Attributes exposing (..)
2025-06-22 18:31:52 -05:00
import Page exposing (Page)
2025-06-22 19:25:27 -05:00
import Route exposing (Route)
2025-06-22 18:31:52 -05:00
import Shared
import View exposing (View)
page : Shared.Model -> Route () -> Page Model Msg
page shared route =
Page.new
{ init = init
, update = update
, subscriptions = subscriptions
, view = view
}
-- INIT
type alias Model =
{}
init : () -> ( Model, Effect Msg )
init () =
( {}
, Effect.none
)
-- UPDATE
type Msg
= NoOp
update : Msg -> Model -> ( Model, Effect Msg )
update msg model =
case msg of
NoOp ->
( model
, Effect.none
)
-- SUBSCRIPTIONS
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.none
-- VIEW
view : Model -> View Msg
view model =
{ title = "Pages.Home_"
, body = [ Html.text "/" ]
}