diff --git a/apps/formbricks-com/pages/docs-feedback/index.tsx b/apps/formbricks-com/pages/docs-feedback/index.tsx index 191b56a3cf..c50f2570c8 100644 --- a/apps/formbricks-com/pages/docs-feedback/index.tsx +++ b/apps/formbricks-com/pages/docs-feedback/index.tsx @@ -7,7 +7,7 @@ import BestPracticeNavigation from "@/components/shared/BestPracticeNavigation"; export default function DocsFeedbackPage() { return (
diff --git a/apps/formbricks-com/pages/docs/api/api-key-setup/index.mdx b/apps/formbricks-com/pages/docs/api/api-key-setup/index.mdx index 1f7a208101..e19805ccf6 100644 --- a/apps/formbricks-com/pages/docs/api/api-key-setup/index.mdx +++ b/apps/formbricks-com/pages/docs/api/api-key-setup/index.mdx @@ -33,7 +33,7 @@ The API requests are authorized with a personal API key. This API key gives you ### Delete a personal API key -1. Go to settings on [app.formbricks.com](https://app.formbricks.com/me/settings). +1. Go to settings on [app.formbricks.com](https://app.formbricks.com/). 2. Go to page “API keys”. 3. Find the key you wish to revoke and select “Delete”. 4. Your API key will stop working immediately. diff --git a/apps/formbricks-com/pages/docs/webhook-api/webhook-payload/index.mdx b/apps/formbricks-com/pages/docs/webhook-api/webhook-payload/index.mdx index 8203bdbc4a..6dedb30726 100644 --- a/apps/formbricks-com/pages/docs/webhook-api/webhook-payload/index.mdx +++ b/apps/formbricks-com/pages/docs/webhook-api/webhook-payload/index.mdx @@ -3,7 +3,7 @@ import { Fence } from "@/components/shared/Fence"; export const meta = { title: "Webhook Payload", - description: "Learn how to use the Formbricks Webhook API.", + description: "Learn how to handle the Formbricks API payload.", }; This documentation helps understand the payload structure that will be received when the webhook is triggered in Formbricks. diff --git a/apps/formbricks-com/pages/imprint.mdx b/apps/formbricks-com/pages/imprint.mdx index ca9b590176..acdd0eb5f9 100644 --- a/apps/formbricks-com/pages/imprint.mdx +++ b/apps/formbricks-com/pages/imprint.mdx @@ -2,6 +2,7 @@ import Layout from "@/components/shared/LayoutMdx"; export const meta = { title: "Imprint", + description: "Imprint of formbricks.com", }; ## Information according to § 5 TMG diff --git a/apps/formbricks-com/pages/oss-friends.tsx b/apps/formbricks-com/pages/oss-friends.tsx index 80d908a17d..eea674fc0a 100644 --- a/apps/formbricks-com/pages/oss-friends.tsx +++ b/apps/formbricks-com/pages/oss-friends.tsx @@ -1,17 +1,18 @@ import Layout from "@/components/shared/Layout"; import HeroTitle from "@/components/shared/HeroTitle"; import { Button } from "@formbricks/ui"; -import { useEffect, useState } from "react"; -export default function OSSFriendsPage() { - const [OSSFriends, setOSSFriends] = useState([]); +type OSSFriend = { + href: string; + name: string; + description: string; +}; - useEffect(() => { - fetch("https://formbricks.com/api/oss-friends") - .then((response) => response.json()) - .then((data) => setOSSFriends(data.data)); - }, []); +type Props = { + OSSFriends: OSSFriend[]; +}; +export default function OSSFriendsPage({ OSSFriends }: Props) { return ( @@ -33,3 +34,16 @@ export default function OSSFriendsPage() { ); } + +export async function getStaticProps() { + const res = await fetch("https://formbricks.com/api/oss-friends"); + const data = await res.json(); + + // By returning { props: { OSSFriends } }, the OSSFriendsPage component + // will receive `OSSFriends` as a prop at build time + return { + props: { + OSSFriends: data.data, + }, + }; +} diff --git a/apps/formbricks-com/pages/privacy-policy.mdx b/apps/formbricks-com/pages/privacy-policy.mdx index 966f5f2f55..dae5a83c9a 100644 --- a/apps/formbricks-com/pages/privacy-policy.mdx +++ b/apps/formbricks-com/pages/privacy-policy.mdx @@ -2,6 +2,7 @@ import Layout from "@/components/shared/LayoutMdx"; export const meta = { title: "Privacy Policy", + description: "Formbricks Privacy Policy", }; ## **1. Introduction** diff --git a/apps/formbricks-com/pages/terms.mdx b/apps/formbricks-com/pages/terms.mdx index 8ed7704142..f42962b758 100644 --- a/apps/formbricks-com/pages/terms.mdx +++ b/apps/formbricks-com/pages/terms.mdx @@ -3,6 +3,7 @@ import { Callout } from "@/components/shared/Callout"; export const meta = { title: "Terms of Service", + description: "Terms of Service of Formbricks Cloud.", }; These Terms of Use constitute a legally binding agreement made between you, whether personally or on behalf of an entity (“you”) and Formbricks ("**Company**", “**we**”, “**us**”, or “**our**”), concerning your access to and use of the https://formbricks.com website as well as any other media form, media channel, mobile website or mobile application related, linked, or otherwise connected thereto (collectively, the “Site”). You agree that by accessing the Site, you have read, understood, and agree to be bound by all of these Terms of Use. If you do not agree with all of these terms of use, then you are expressly prohibited from using the site and you must discontinue use immediately. diff --git a/apps/web/app/(auth)/auth/login/page.tsx b/apps/web/app/(auth)/auth/login/page.tsx index d078b71b67..f3521ccb2b 100644 --- a/apps/web/app/(auth)/auth/login/page.tsx +++ b/apps/web/app/(auth)/auth/login/page.tsx @@ -1,6 +1,12 @@ import { SigninForm } from "@/components/auth/SigninForm"; import Testimonial from "@/components/auth/Testimonial"; import FormWrapper from "@/components/auth/FormWrapper"; +import { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Login", + description: "Open-source Experience Management. Free & open source.", +}; export default function SignInPage() { return ( diff --git a/apps/web/components/auth/SignupForm.tsx b/apps/web/components/auth/SignupForm.tsx index efc567e25d..7f1ba05de4 100644 --- a/apps/web/components/auth/SignupForm.tsx +++ b/apps/web/components/auth/SignupForm.tsx @@ -185,7 +185,7 @@ export const SignupForm = () => { {env.NEXT_PUBLIC_TERMS_URL && ( Terms of Service @@ -195,7 +195,7 @@ export const SignupForm = () => { {env.NEXT_PUBLIC_PRIVACY_URL && ( Privacy Policy.