Questions tagged [obelisk]

Obelisk is a full-stack framework based on reflex

https://github.com/obsidiansystems/obelisk

6 questions
4
votes
1 answer

How to set input value to current day in reflex?

I am using reflex-platform with obelisk. This is my frontend code to get the current date pb <- getPostBuild postBuildTime <- performEvent $ pb $> liftIO getCurrentTime let today = Text.pack . formatTime defaultTimeLocale "%F" <$> postBuildTime I…
ruben.moor
  • 1,876
  • 15
  • 27
3
votes
1 answer

Where to put the css file when using obelisk

I want to make two div's float side by side using Obelisk. For this I used the information from this post, How to place div side by side and for this solution classes have to be declared in css. Following the advice of this tutorial…
Emiel Lanckriet
  • 95
  • 2
  • 12
1
vote
0 answers

Obelisk OAuth router type mismatch

I am using Obelisk OAuth to handle multiple OAuth options (Facebook, Google, & Apple, though only FB is shown below). I have getOAuthDetails which gets the correct details for each provider. I use it in backend (at the bottom), but it gives me this…
LevelChart8
  • 207
  • 1
  • 8
1
vote
1 answer

Cannot find "route" and "Https" in Obelisk OAuth project

I am working on implementing Obelisk OAuth and running into 2 problems. When trying to implement this: https://github.com/obsidiansystems/obelisk-oauth/blob/master/example/backend/src/Backend.hs I am getting: backend/src/Backend.hs:15:1: error: …
LevelChart8
  • 207
  • 1
  • 8
1
vote
1 answer

Installing Obelisk-OAuth

I am trying to add Obelisk-OAuth to my project: https://github.com/obsidiansystems/obelisk-oauth At this instruction I am stuck: Your backend route encoder should handle this case: ... pathComponentEncoder $ \case BackendRoute_OAuth ->…
LevelChart8
  • 207
  • 1
  • 8
1
vote
1 answer

RoutedT interpreted as T.Text when using Obelisk routes

I am trying to build a basic web app with Obelisk and have been following this tutorial: https://github.com/obsidiansystems/obelisk/pull/733/files#diff-fe2dadb00af0583d3841e501760804eaR457 I do not understand why I would get this type error when my…
LevelChart8
  • 207
  • 1
  • 8