Free & Open-Source Invoice Generator - No Sign-Up, No Ads, Instant PDF Export, 100% In-Browser, and Fully Customizable Templates.
TypeScript fintechinvoiceinvoice-generatorinvoice-pdfinvoice-templateinvoicesnextjsopen-sourcequotesreactreact-pdf-rendererself-hostedshadcn-uitailwindcsstypescript
import type { Graph } from "schema-dts";
import { PROD_WEBSITE_URL } from "@/config";
import { buildBreadcrumbList } from "@/lib/seo/breadcrumb";
import {
JSON_LD_IDS,
pageBreadcrumbId,
pageWebPageId,
} from "@/lib/seo/json-ld-ids";
import {
buildPerson,
FOUNDER_PAGE_DESCRIPTION,
FOUNDER_PAGE_TITLE,
FOUNDER_PAGE_URL,
} from "@/lib/seo/site-entities";
export function buildFounderJsonLdGraph(): Graph {
const pageUrl = FOUNDER_PAGE_URL;
return {
"@context": "https://schema.org",
"@graph": [
buildPerson(),
{
"@type": "ProfilePage",
"@id": pageWebPageId(pageUrl),
url: pageUrl,
name: FOUNDER_PAGE_TITLE,
description: FOUNDER_PAGE_DESCRIPTION,
inLanguage: "en",
isPartOf: {
"@id": JSON_LD_IDS.website,
},
breadcrumb: {
"@id": pageBreadcrumbId(pageUrl),
},
mainEntity: {
"@id": JSON_LD_IDS.person,
},
},
buildBreadcrumbList({
pageUrl,
items: [
{ name: "Start Invoicing", item: `${PROD_WEBSITE_URL}/` },
{ name: "Founder" },
],
}),
],
};
}