fix: seo issues to improve site health (#1864)

This commit is contained in:
Johannes
2024-01-08 14:30:15 -06:00
committed by GitHub
parent 1f79416367
commit 3e2452b10f
3 changed files with 13 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
import { Fence } from "@/components/shared/Fence";
export const metadata = {
title: "Formbricks Responses API Documentation - Manage Your Survey Data Seamlessly",
title: "Formbricks Actions API Documentation - Manage Your Survey Data Seamlessly",
description:
"Unlock the full potential of Formbricks' Client Actions API. Create Actions right from the API.",
};
@@ -13,8 +13,8 @@ export const metadata = {
The Public Client API is designed for the JavaScript SDK and does not require authentication. It's primarily used for creating persons, sessions, and responses within the Formbricks platform. This API is ideal for client-side interactions, as it doesn't expose sensitive information.
This API can be used to:
- [Add Action for User](#add-action-for-user)
- [Add Action for User](#add-action-for-user)
---
@@ -85,4 +85,3 @@ Adds an Actions for a given User by their User ID
</Row>
---

View File

@@ -1,4 +1,5 @@
import Head from "next/head";
import { useRouter } from "next/router";
interface Props {
title: string;
@@ -19,8 +20,10 @@ export default function MetaInformation({
section,
tags,
}: Props) {
const router = useRouter();
const pageTitle = `${title}`;
const BASE_URL = `https://${process.env.VERCEL_URL}`;
const canonicalLink = `${BASE_URL}${router.asPath}`;
return (
<Head>
<title>{pageTitle}</title>
@@ -30,7 +33,7 @@ export default function MetaInformation({
<meta name="image" content={`https://${BASE_URL}/favicon.ico`} />
<meta property="og:image" content={`https://${BASE_URL}/social-image.png`} />
<link rel="icon" type="image/x-icon" href={`https://${BASE_URL}/favicon.ico`} />
<link rel="canonical" href="https://formbricks.com/" />
<link rel="canonical" href={canonicalLink} />
<meta name="msapplication-TileColor" content="#00C4B8" />
<meta name="msapplication-TileImage" content={`https://${BASE_URL}/favicon.ico`} />
<meta property="og:image:alt" content="Open Source Experience Management, Privacy-first" />

View File

@@ -1,8 +1,9 @@
import Image from "next/image";
import LayoutMdx from "@/components/shared/LayoutMdx";
import TitleImage from "./formbricks-sponsored-by-github-accelerator-2023.webp";
import NewsletterSignup from "@/components/shared/NewsletterSignup";
import AuthorBox from "@/components/shared/AuthorBox";
import LayoutMdx from "@/components/shared/LayoutMdx";
import NewsletterSignup from "@/components/shared/NewsletterSignup";
import Image from "next/image";
import TitleImage from "./formbricks-sponsored-by-github-accelerator-2023.webp";
export const meta = {
title: "Formbricks Joins GitHub Accelerator's Inaugural Cohort 💃",
@@ -15,14 +16,14 @@ export const meta = {
tags: ["GitHub Accelerator", "Open-Source"],
};
<AuthorBox name="Johannes" title="Co-Founder" date="April 7th, 2023" duration="4" author={"Johannes"}/>
<AuthorBox name="Johannes" title="Co-Founder" date="April 7th, 2023" duration="4" author={"Johannes"} />
_We're getting ready to take our open-source experience management platform to new heights, thanks to being part of the first-ever GitHub Accelerator program!_
<Image
src={TitleImage}
alt="GitHub sponsors Formbricks to join their open-source accelerator program"
className="rounded-lg w-full"
className="w-full rounded-lg"
/>
## Hey there,