Files
formbricks-formbricks/apps/formbricks-com/pages/get-started.tsx
Matti Nannt 99c1d155e3 Update HQ with experience management approach and feedback widget (#184)
* create basis for feedback form creation

* add icons to ui package

* add prototype feedback results view

* add react feedback widget to demo, add connection between widget and hq, update capture submission api, update results view

* update single customer view to new design, update feedback modal interface, fix smaller bugs

* add feedback widget

* fix signup route, fix persistForm functionality

* feedback box widget pre animation

* fix intro text in widget

* feedback-widget: clean old switch-button

* tweaks

* feedback widget: fix click listener

* formbricks feedback package setup

* finish styling

* Change "Compliments" to "Love"

* form card width

* update demo page with feedback widget

* update feedback widget

* load from NPM

* add highlightcolor styles

* add style to feedback widget config

* fix send email in hq feedback, fix error when styling not present in feedback widget config

* feedback widget: fix header subtitle color by adding opacity, re-add focus

* with rgba variables

* updated with HEX and examples

* hq: add pipelines to form

* feedback widget: outside click closes widget

* update sentry config

* update recommended nodejs version to 18 in hq readme

* switch css update

* update feedback widget demo

* feedback widget: hide cta by default

* fix config contact in widget not checked correctly

* feedbackwidget: init on open if init failed previously

* fix margin bottom

* fix margins feedback box

* release feedback widget v0.1.5

* hq: add replyTo field in submission mail if customer present

* fix contact subtitle css

* add setup instructions in XM

* add divId support for feedback widget

* add feedback-box to hq

* add slackNotification (#181)

* update slack pipeline wording

* fix formbricks url in email and slack notifications

* lotus config + borderRadius

* rebase xm branch to current main

* remove formbricks-com cloud offering links

* update Readme for xm approach

Co-authored-by: knugget <johannes@knugget.de>
2023-01-14 11:41:35 +01:00

125 lines
6.2 KiB
TypeScript

import Layout from "@/components/shared/Layout";
import HeroTitle from "@/components/shared/HeroTitle";
import Button from "../components/shared/Button";
import { useRouter } from "next/router";
import {
CloudIcon,
ArrowPathIcon,
InboxArrowDownIcon,
PuzzlePieceIcon,
ServerStackIcon,
ShieldCheckIcon,
CommandLineIcon,
BuildingLibraryIcon,
} from "@heroicons/react/24/outline";
export default function GetStartedPage() {
const router = useRouter();
return (
<Layout
title="Get started"
description="We offer our open source form & survey software for self-hosters and in our managed cloud. Get started within minutes!">
<HeroTitle headingPt1="How do you want to" headingTeal="run" headingPt2="Formbricks?" />
<div className="mb-32 grid px-6 md:grid-cols-2 md:gap-8 md:px-16">
<div className="mb-6 rounded-lg bg-gradient-to-b from-slate-200 to-slate-300 px-10 py-6 dark:from-slate-800 dark:to-slate-700 md:mb-0">
<CloudIcon className="h-20 w-20 flex-shrink-0 text-slate-600 dark:text-slate-400" />
<h2 className="mt-7 text-4xl font-bold text-slate-800 dark:text-slate-200">Cloud</h2>
<p className="text-sm text-slate-500">Managed hosting by Formbricks core team</p>
<p className="mt-7 font-semibold text-slate-700 dark:text-slate-300">
<span className="font-bold ">Free</span> for 200 submissions/mo
</p>
<p className="text-sm text-slate-500 dark:text-slate-500">then $0.01/submission</p>
<div className="font-medium text-slate-500 dark:text-slate-400">
<div className="mt-7 flex items-center py-1">
<InboxArrowDownIcon className="mr-3 h-7 w-7 flex-shrink-0 text-slate-600 dark:text-slate-300" />
<p>Start receiving submissions right away</p>
</div>
<div className="flex items-center py-1">
<ArrowPathIcon className="mr-3 h-7 w-7 flex-shrink-0 text-slate-600 dark:text-slate-300" />
<p>Automatic upgrades</p>
</div>
<div className="flex items-center py-1">
<PuzzlePieceIcon className="mr-3 h-7 w-7 flex-shrink-0 text-slate-600 dark:text-slate-300" />
<p>All enterprise features included</p>
</div>
</div>
{/* <Button
className="mt-7 w-full justify-center text-center font-bold"
variant="highlight"
onClick={() => router.push("https://hq.formbricks.com")}>
Start FREE on Formbricks Cloud
</Button> */}
<Button
className="mt-7 w-full justify-center text-center font-bold"
variant="highlight"
onClick={() => router.push("https://hq.formbricks.com")}
disabled>
Coming soon
</Button>
</div>
{/* <div className="rounded-lg bg-gradient-to-b from-slate-200 to-slate-300 px-10 py-6 dark:from-slate-800 dark:to-slate-700 ">
<ServerStackIcon className="h-20 w-20 flex-shrink-0 text-slate-600 dark:text-slate-400" />
<h2 className="mt-7 text-4xl font-bold text-slate-800 dark:text-slate-200">Self-host</h2>
<p className="text-sm text-gray-500">Submission data never leaves your infrastructure</p>
<p className="mt-7 font-semibold text-slate-700 dark:text-slate-300">
<span className="font-bold ">Free</span> for 500 submissions/mo
</p>
<p className="text-sm text-slate-500 dark:text-slate-500">then $0.01/submission</p>
<div className="font-medium text-slate-500 dark:text-slate-400">
<div className="mt-7 flex items-center py-1">
<ShieldCheckIcon className="h- mr-3 w-7 flex-shrink-0 text-slate-600 dark:text-slate-300" />
<p>Easy deploy for most private cloud platforms</p>
</div>
<div className="flex items-center py-1">
<CommandLineIcon className="mr-3 h-7 w-7 flex-shrink-0 text-slate-600 dark:text-slate-300" />
<p>Full access to production instance</p>
</div>
<div className="flex items-center py-1">
<BuildingLibraryIcon className="mr-3 h-7 w-7 flex-shrink-0 text-slate-600 dark:text-slate-300" />
<p>Full compliance with all data privacy regulation</p>
</div>
</div>
<Button
className="mt-7 w-full justify-center text-center font-bold"
variant="secondary"
onClick={() => router.push("/discord")}>
Sign up for beta test
</Button>
</div> */}
<div className="rounded-lg bg-gradient-to-b from-slate-200 to-slate-300 px-10 py-6 dark:from-slate-800 dark:to-slate-700 ">
<ServerStackIcon className="h-20 w-20 flex-shrink-0 text-slate-600 dark:text-slate-400" />
<h2 className="mt-7 text-4xl font-bold text-slate-800 dark:text-slate-200">Self-host</h2>
<p className="text-sm text-gray-500">Submission data never leaves your infrastructure</p>
<p className="mt-7 font-semibold text-slate-700 dark:text-slate-300">
Open-Source, free forever
<br />
<br />
</p>
<div className="font-medium text-slate-500 dark:text-slate-400">
<div className="mt-7 flex items-center py-1">
<ShieldCheckIcon className="h- mr-3 w-7 flex-shrink-0 text-slate-600 dark:text-slate-300" />
<p>Easy deploy for most private cloud platforms</p>
</div>
<div className="flex items-center py-1">
<CommandLineIcon className="mr-3 h-7 w-7 flex-shrink-0 text-slate-600 dark:text-slate-300" />
<p>Infinite Customization Capabilities</p>
</div>
<div className="flex items-center py-1">
<BuildingLibraryIcon className="mr-3 h-7 w-7 flex-shrink-0 text-slate-600 dark:text-slate-300" />
<p>Open Source under MIT License</p>
</div>
</div>
<Button
className="mt-7 w-full justify-center text-center font-bold"
variant="primary"
onClick={() => router.push("https://github.com/formbricks/formbricks")}>
View on Github
</Button>
</div>
</div>
</Layout>
);
}