aboutsummaryrefslogtreecommitdiff
path: root/picarones-elm/src/Main.elm
diff options
context:
space:
mode:
authorstuebinm2021-03-07 22:04:42 +0100
committerstuebinm2021-03-07 22:04:42 +0100
commitd8925def7fa6a359e11e612527d12a0280f44d84 (patch)
tree464d34c36f9789bf1bfcf6cde92529d7056177a0 /picarones-elm/src/Main.elm
parentf5c19d2061e03ef28c45efd839bb211e446b25f6 (diff)
Add simple cover which lets users create new links
Diffstat (limited to 'picarones-elm/src/Main.elm')
-rw-r--r--picarones-elm/src/Main.elm4
1 files changed, 2 insertions, 2 deletions
diff --git a/picarones-elm/src/Main.elm b/picarones-elm/src/Main.elm
index 014d2f4..6e69fe4 100644
--- a/picarones-elm/src/Main.elm
+++ b/picarones-elm/src/Main.elm
@@ -36,7 +36,7 @@ type alias Model = { slide : Int, max : Int, prefix : String }
-- start at the first slide, for now just assume that we have ten slides
init : (String, Int) -> (Model, Cmd Msg)
-init (url, max) = ( { slide = 0, max = max, prefix = url ++ "/"}, Cmd.none)
+init (url, max) = ( { slide = 0, max = max, prefix = url}, Cmd.none)
-- possible state transitions:
type Msg = GotMessage String
@@ -102,7 +102,7 @@ padNum l num =
view : Model -> Browser.Document Msg
-view model = { title = "Websockets example"
+view model = { title = "Picarones"
, body = [body model]
}