mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-17 03:21:51 -05:00
docs: add self-hosting license form (#1911)
This commit is contained in:
@@ -361,4 +361,4 @@ pnpm build
|
||||
|
||||
---
|
||||
|
||||
Still can’t figure it out? Join our [Discord](https://discord.com/invite/3YFcABF2Ts)!
|
||||
Can’t figure it out? Join our [Discord](https://discord.com/invite/3YFcABF2Ts)!
|
||||
|
||||
24
apps/formbricks-com/app/docs/self-hosting/license/page.mdx
Normal file
24
apps/formbricks-com/app/docs/self-hosting/license/page.mdx
Normal file
@@ -0,0 +1,24 @@
|
||||
export const metadata = {
|
||||
title: "Self-hosting License to run Formbricks on premises",
|
||||
description:
|
||||
"Request a self-hosting licenses to run Formbricks on your own servers.",
|
||||
};
|
||||
|
||||
#### Self-Hosting
|
||||
|
||||
# License Request (Beta)
|
||||
|
||||
We're handing out free self-hosting license keys during our Beta.
|
||||
|
||||
**Please note:** Sooner than later we will introduce a self-hosting license pricing. For a free beta key, fill out this form:
|
||||
|
||||
<div style={{ position: 'relative', height: '100vh', maxHeight: '100vh', overflow: 'auto', borderRadius:'12px' }}>
|
||||
<iframe
|
||||
src="https://app.formbricks.com/s/clrf4z8zg1u3912250j7shqb5"
|
||||
style={{ position: 'absolute', left: 0, top: 0, width: '100%', height: '100%', border: 0 }}
|
||||
>
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
|
||||
**Can’t figure it out?**: [Join our Discord!](https://formbricks.com/discord)
|
||||
@@ -244,4 +244,4 @@ If you encounter any issues, consider the following steps:
|
||||
|
||||
- **Check Formbricks Logs**: Run `cd formbricks && docker compose logs` to check the logs of the Formbricks stack.
|
||||
|
||||
**Still can’t figure it out?**: [Join our Discord!](https://formbricks.com/discord)
|
||||
**Can’t figure it out?**: [Join our Discord!](https://formbricks.com/discord)
|
||||
|
||||
@@ -253,6 +253,7 @@ export const navigation: Array<NavGroup> = [
|
||||
{ title: "Advanced Setup", href: "/docs/self-hosting/docker" },
|
||||
{ title: "Configure", href: "/docs/self-hosting/external-auth-providers" },
|
||||
{ title: "Migration Guide", href: "/docs/self-hosting/migration-guide" },
|
||||
{ title: "Self-hosting License", href: "/docs/self-hosting/license" },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -9,6 +9,16 @@ import { TSurvey } from "@formbricks/types/surveys";
|
||||
import { Button } from "@formbricks/ui/Button";
|
||||
import { Input } from "@formbricks/ui/Input";
|
||||
|
||||
const StackedCardsContainer = ({ children }) => (
|
||||
<div className="relative">
|
||||
<div className="absolute -left-2 h-[93%] w-[98%] -rotate-6 rounded-xl border border-slate-200 bg-white opacity-40 backdrop-blur-lg"></div>
|
||||
<div className="absolute -left-1 h-[93%] w-[98%] -rotate-3 rounded-xl border border-slate-200 bg-white opacity-70 backdrop-blur-md"></div>
|
||||
<div className="flex flex-col items-center justify-center rounded-xl border border-slate-200 bg-white bg-opacity-70 p-16 backdrop-blur-lg">
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default function VerifyEmail({
|
||||
survey,
|
||||
isErrorComponent,
|
||||
@@ -75,11 +85,11 @@ export default function VerifyEmail({
|
||||
<div className="flex h-full w-full flex-col items-center justify-center text-center">
|
||||
<Toaster />
|
||||
{!emailSent && !showPreviewQuestions && (
|
||||
<div className="flex flex-col items-center justify-center px-4">
|
||||
<StackedCardsContainer>
|
||||
<EnvelopeIcon className="h-24 w-24 rounded-full bg-slate-300 p-6 text-white" />
|
||||
<p className="mt-8 text-2xl font-bold lg:text-4xl">Verify your email to respond.</p>
|
||||
<p className="mt-2 text-sm text-slate-400 lg:text-base">
|
||||
To respond to this survey please verify your email.
|
||||
<p className="mt-4 text-sm text-slate-500 lg:text-base">
|
||||
To respond to this survey, please verify your email.
|
||||
</p>
|
||||
<div className="mt-6 flex w-full space-x-2">
|
||||
<Input
|
||||
@@ -97,12 +107,13 @@ export default function VerifyEmail({
|
||||
<p className="mt-6 cursor-pointer text-xs text-slate-400" onClick={handlePreviewClick}>
|
||||
Just curious? <span className="underline">Preview survey questions.</span>
|
||||
</p>
|
||||
</div>
|
||||
</StackedCardsContainer>
|
||||
)}
|
||||
{!emailSent && showPreviewQuestions && (
|
||||
<div className="flex flex-col items-center justify-center">
|
||||
<StackedCardsContainer>
|
||||
{" "}
|
||||
<p className="text-4xl font-bold">Question Preview</p>
|
||||
<div className="mt-4 flex w-full flex-col justify-center rounded-lg border border-slate-200 p-8">
|
||||
<div className="mt-4 flex w-full flex-col justify-center rounded-lg border border-slate-200 bg-slate-50 bg-opacity-20 p-8 text-slate-700">
|
||||
{survey.questions.map((question, index) => (
|
||||
<p key={index} className="my-1">{`${index + 1}. ${question.headline}`}</p>
|
||||
))}
|
||||
@@ -110,19 +121,23 @@ export default function VerifyEmail({
|
||||
<p className="mt-6 cursor-pointer text-xs text-slate-400" onClick={handlePreviewClick}>
|
||||
Want to respond? <span className="underline">Verify email.</span>
|
||||
</p>
|
||||
</div>
|
||||
</StackedCardsContainer>
|
||||
)}
|
||||
{emailSent && (
|
||||
<div className="flex flex-col items-center justify-center px-4">
|
||||
<StackedCardsContainer>
|
||||
{" "}
|
||||
<h1 className="mt-8 text-2xl font-bold lg:text-4xl">Check your email.</h1>
|
||||
<p className="mt-4 text-center text-sm text-slate-400 lg:text-base">
|
||||
We sent an email to <span className="font-semibold italic">{email}</span>. Please click the link
|
||||
in the email to take your survey.
|
||||
</p>
|
||||
<p className="mt-6 cursor-pointer text-sm text-slate-400" onClick={handleGoBackClick}>
|
||||
<Button
|
||||
variant="secondary"
|
||||
className="mt-6 cursor-pointer text-sm text-slate-400"
|
||||
onClick={handleGoBackClick}>
|
||||
Go Back
|
||||
</p>
|
||||
</div>
|
||||
</Button>
|
||||
</StackedCardsContainer>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -14,6 +14,10 @@ module.exports = {
|
||||
"accordion-down": "accordion-down 0.2s ease-out",
|
||||
"accordion-up": "accordion-up 0.2s ease-out",
|
||||
},
|
||||
blur: {
|
||||
xxs: "0.33px",
|
||||
xs: "2px",
|
||||
},
|
||||
backgroundImage: {
|
||||
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user