Skip to content

Instantly share code, notes, and snippets.

@Krzysztof-Cieslak
Created August 3, 2018 22:30
Show Gist options
  • Save Krzysztof-Cieslak/71776217054f1f7c935debee60bcb8fe to your computer and use it in GitHub Desktop.
Save Krzysztof-Cieslak/71776217054f1f7c935debee60bcb8fe to your computer and use it in GitHub Desktop.
Gists for "Using OAuth with Saturn" blog posts
module UserViews
open Giraffe.GiraffeViewEngine
module AdminPage =
let view = [
h1 [] [rawText "I'm admin"]
]
let layout = App.layout view
module UserPage =
let view = [
h1 [] [rawText "I'm logged user"]
]
let layout = App.layout view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment