remove unfinished template subpage

This commit is contained in:
Johannes
2023-08-17 16:57:40 +02:00
parent c667b7d949
commit dd43a55e20

View File

@@ -1,49 +0,0 @@
import DemoPreview from "@/components/dummyUI/DemoPreview";
import BestPracticeNavigation from "@/components/shared/BestPracticeNavigation";
import Layout from "@/components/shared/Layout";
import UseCaseHeader from "@/components/shared/UseCaseHeader";
import { useEffect } from "react";
export default function OnboardingSegmentationPage() {
useEffect(() => {
fetch("http://localhost:1337/api/templates")
.then((response) => response.json())
.then((data) => console.log(data))
.catch((error) => console.error("An error occurred:", error));
}, []);
return (
<Layout
title="Onboarding Segmentation"
description="Add a survey to your onboarding to loop in Formbricks right from the start.">
<div className="grid grid-cols-1 items-center md:grid-cols-2 md:gap-12 md:py-20">
<div className="p-6 md:p-0">
<UseCaseHeader title="Onboarding Segments" difficulty="Advanced" setupMinutes="90" />
<h3 className="text-md mb-1.5 mt-6 font-semibold text-slate-800 dark:text-slate-200">
Why is it useful?
</h3>
<p className="text-slate-600 dark:text-slate-400">
In your Onboarding you likely want to ask two or three questions to be able to segment your users
best. These attributes can be used to create cohorts and survey users down the line. You can
identify who uses your product most and use Formbricks to gather relevant qualitative data on
scale.
</p>
<h3 className="text-md mb-1.5 mt-6 font-semibold text-slate-800 dark:text-slate-200">
How to get started:
</h3>
<p className="text-slate-600 dark:text-slate-400">
Onboardings are unique to every product. Formbricks does not help you build the right onboarding.
Currently, you can use the Formbricks API to send survey data to Formbricks for later usage. Down
the line, we might offer a simple way to add survey questions to your Onboarding.
</p>
</div>
<DemoPreview template="Onboarding Segmentation" />
</div>
<h2 className="mb-6 ml-4 mt-12 text-2xl font-semibold text-slate-700 dark:text-slate-400 md:mt-0">
Other Best Practices
</h2>
<BestPracticeNavigation />
</Layout>
);
}