diff --git a/apps/demo/pages/signin/index.tsx b/apps/demo/pages/signin/index.tsx deleted file mode 100644 index b8b2d06665..0000000000 --- a/apps/demo/pages/signin/index.tsx +++ /dev/null @@ -1,152 +0,0 @@ -import formbricks from "@formbricks/js"; -import { useRouter } from "next/router"; -import { FormEvent } from "react"; - -export default function SiginPage() { - const router = useRouter(); - - const submitAction = (e: FormEvent) => { - e.preventDefault(); - if (process.env.NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID && process.env.NEXT_PUBLIC_FORMBRICKS_API_HOST) { - formbricks.setEmail("matti@example.com"); - formbricks.setUserId("123456"); - formbricks.setAttribute("Plan", "Premium"); - } - router.push("/app"); - }; - return ( -
- Or{" "} - - start your 14-day free trial - -
-- This app helps you test your in-app surveys. You can create and test user actions, create and - update user attributes, etc. -
-- Copy the environment ID of your Formbricks app to the env variable in demo/.env -
-You're connected with env:
-- Look at the logs to understand how the widget works.{" "} - Open your browser console to see the logs. -
- {/*- On formbricks.reset() a few things happen: New person is created and{" "} - surveys & no-code actions are pulled from Formbricks:. -
- -- If you made a change in Formbricks app and it does not seem to work, hit 'Reset' and - try again. -
-Inner Text only
-Inner Text + Css ID
-Inner Text + CSS Class
-ID + Class
-ID only
-Class only
-Class + Class
-