add dashboard infobox to formbricks hq

This commit is contained in:
Matthias Nannt
2022-11-26 12:37:45 +01:00
parent 8535986ae8
commit c834cbf8ce
4 changed files with 29 additions and 4 deletions
+2
View File
@@ -33,3 +33,5 @@ yarn-error.log*
# vercel
.vercel
.vscode
-4
View File
@@ -1,4 +0,0 @@
{
"typescript.tsdk": "..\\..\\node_modules\\.pnpm\\typescript@4.9.3\\node_modules\\typescript\\lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
+26
View File
@@ -1,7 +1,33 @@
import { Button } from "@formbricks/ui";
import Link from "next/link";
export default function ProjectsPage() {
return (
<header className="mb-8">
<h1 className="text-3xl font-bold leading-tight tracking-tight text-gray-900">Dashboard</h1>
<div className="max-w-3xl bg-white shadow sm:rounded-lg">
<div className="mt-8 px-4 py-5 sm:p-6 ">
<h3 className="text-lg font-medium leading-6 text-gray-900">Welcome to Formbricks HQ</h3>
<div className="mt-2 text-sm text-gray-500">
<p>
Formbricks HQ is your backend for Form & Survey Data. Collect data from any form, store and
analyze it in Formbricks HQ or pipe it to third party services.
<br />
<br />
To get started read the docs first or go directly to your account settings to create a new
personal API Key.
</p>
</div>
<div className="mt-5">
<Button variant="secondary" href="/app/me/settings">
Create API Key
</Button>
<Button className="ml-3" href="https://formbricks.com/docs">
Read the Docs
</Button>
</div>
</div>
</div>
</header>
);
}
+1
View File
@@ -14,6 +14,7 @@ export const GithubButton = ({ text = "Login with Github" }) => {
return (
<Button
type="button"
StartIcon={FaGithub}
startIconClassName="mr-2"
onClick={handleLogin}