Skip to content

Commit

Permalink
dotnet-websharper/ui#240 - Adjust templates after name standardization
Browse files Browse the repository at this point in the history
  • Loading branch information
Jooseppi12 authored and Jand42 committed Oct 4, 2022
1 parent 382a840 commit 53eb1e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion WebSharper.Templates/templates/ClientServer-FSharp/Site.fs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ module Templating =
module Site =
open WebSharper.UI.Html

open type WebSharper.UI.ClientServer

let HomePage ctx =
Templating.Main ctx EndPoint.Home "Home" [
h1 [] [text "Say Hi to the server!"]
div [] [Doc.ClientSide (Client.Main())]
div [] [client (Client.Main())]
]

let AboutPage ctx =
Expand Down
4 changes: 3 additions & 1 deletion WebSharper.Templates/templates/Offline-FSharp/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ module Templating =
module Site =
open WebSharper.UI.Html

open type WebSharper.UI.ClientServer

let HomePage ctx =
Templating.Main ctx EndPoint.Home "Home" [
h1 [] [text "Say Hi to JavaScript!"]
div [] [Doc.ClientSide (Client.Main())]
div [] [client (Client.Main())]
]

let AboutPage ctx =
Expand Down

0 comments on commit 53eb1e1

Please sign in to comment.