| 1 | import * as Alchemy from "alchemy"; |
| 2 | import * as Neon from "alchemy/Neon"; |
| 3 | import * as Effect from "effect/Effect"; |
| 4 | |
| 5 | export default Alchemy.Stack( |
| 6 | "NeonWebsiteFoldkitExample", |
| 7 | { providers: Neon.providers(), state: Alchemy.localState() }, |
| 8 | Effect.gen(function* () { |
| 9 | const site = yield* Neon.Website.Foldkit("Foldkit", {}); |
| 10 | |
| 11 | return { url: site.url }; |
| 12 | }), |
| 13 | ); |