mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 12:25:12 -05:00
feat: added some stuff
This commit is contained in:
parent
f73dab4579
commit
36f9c89214
21 changed files with 573 additions and 155 deletions
|
@ -7,6 +7,8 @@ import Config.Identity as I exposing (..)
|
|||
import Effect exposing (Effect)
|
||||
import Element exposing (..)
|
||||
import Element.Font as F
|
||||
import Headers.Helpers exposing (headerMaker)
|
||||
import Headers.Pages.NutriDex exposing (nutriDexHeader)
|
||||
import Html.Attributes as H exposing (style)
|
||||
import Layouts
|
||||
import Page exposing (Page)
|
||||
|
@ -23,6 +25,12 @@ page shared route =
|
|||
, subscriptions = subscriptions
|
||||
, view = view
|
||||
}
|
||||
|> Page.withLayout toLayout
|
||||
|
||||
|
||||
toLayout : Model -> Layouts.Layout Msg
|
||||
toLayout model =
|
||||
Layouts.Navbar {}
|
||||
|
||||
|
||||
|
||||
|
@ -72,4 +80,7 @@ subscriptions model =
|
|||
|
||||
view : Model -> View Msg
|
||||
view model =
|
||||
View.fromString "Pages.Hyperblog"
|
||||
{ title = hyperBlogName
|
||||
, attributes = []
|
||||
, element = none
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue