Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions apps/web/src/lib/seo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export function openGraphMeta({
export const noIndexMeta = [{ name: "robots", content: "noindex, nofollow" }] as const;

export const faqJsonLd = {
"@context": "https://schema.org",
"@type": "FAQPage",
mainEntity: [
{
Expand Down Expand Up @@ -101,7 +100,6 @@ export const faqJsonLd = {
};

export const productJsonLd = {
"@context": "https://schema.org",
"@type": "SoftwareApplication",
name: "Amend.sh",
applicationCategory: "BusinessApplication",
Expand Down Expand Up @@ -154,7 +152,6 @@ export const productJsonLd = {
};

export const organizationJsonLd = {
"@context": "https://schema.org",
"@type": "Organization",
name: "Amend.sh",
url: siteUrl,
Expand Down
5 changes: 4 additions & 1 deletion apps/web/src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ function HomeComponent() {
type="application/ld+json"
suppressHydrationWarning
dangerouslySetInnerHTML={{
__html: JSON.stringify([organizationJsonLd, productJsonLd, faqJsonLd]),
__html: JSON.stringify({
"@context": "https://schema.org",
"@graph": [organizationJsonLd, productJsonLd, faqJsonLd],
}),
}}
/>
<HomeHeader />
Expand Down
Loading