import Html exposing (div)
import Graphics.Element exposing (show)
import Layout exposing (..)
import Renderer exposing (render)
import Components exposing (..)
layout = Composite Vertical (Flex 1) [
Leaf (Size 50) header,
Composite Horizontal (Flex 1) [
Leaf (Size 100) leftNav,
Leaf (Flex 2) leftContent,
Composite Vertical (Flex 1) [
Leaf (Size 40) rightContentHeader,
Leaf (Flex 1) rightContent
],
Leaf (Size 100) rightNav
],
Leaf (Size 50) footer
]
bounds = Bounds 0 0 800 600
resolved = resolveLayout layout bounds
rendered = render resolved
main = rendered
-
Notifications
You must be signed in to change notification settings - Fork 0
fudini/elm-layout
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Elm layout library
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published