Skip to content

Free & Open-Source Invoice Generator - No Sign-Up, No Ads, Instant PDF Export, 100% In-Browser, and Fully Customizable Templates.

refactor: update SEO metadata and breadcrumb labels for consistency (#247)

Vlad Sazonau66216c932ab4
diff --git a/e2e/invoice-form.test.ts b/e2e/invoice-form.test.ts
index 1b6c994..d4e7650 100644
--- a/e2e/invoice-form.test.ts
+++ b/e2e/invoice-form.test.ts
@@ -63,13 +63,13 @@ test.describe("Invoice Generator Page", () => {
// Check other meta tags for Stripe template
await expect(page.locator('meta[property="og:title"]')).toHaveAttribute(
"content",
- "Free Invoice Generator - Create PDF Invoices Instantly",
+ "Free Invoice Generator - Create PDF Invoices Online",
);
await expect(
page.locator('meta[property="og:description"]'),
).toHaveAttribute(
"content",
- "Create invoices online for free with our PDF invoice generator. Customize templates, download instantly, no signup required.",
+ "Create professional PDF invoices online for free. Customize invoice templates, add your logo, download instantly, and send invoices without signup.",
);
await expect(page.locator('meta[property="og:site_name"]')).toHaveAttribute(
"content",
@@ -95,7 +95,7 @@ test.describe("Invoice Generator Page", () => {
// Check title and branding
await expect(page).toHaveTitle(
- "Free Invoice Generator - Create PDF Invoices Instantly",
+ "Free Invoice Generator - Create PDF Invoices Online",
);
const header = page.getByTestId("header");
diff --git a/e2e/stripe-invoice-template/stripe-invoice-template.test.ts b/e2e/stripe-invoice-template/stripe-invoice-template.test.ts
index 4fac815..4c4310e 100644
--- a/e2e/stripe-invoice-template/stripe-invoice-template.test.ts
+++ b/e2e/stripe-invoice-template/stripe-invoice-template.test.ts
@@ -53,7 +53,7 @@ test.describe("Stripe Invoice Template", () => {
page.locator('meta[property="og:description"]'),
).toHaveAttribute(
"content",
- "Create invoices online for free with our PDF invoice generator. Customize templates, download instantly, no signup required.",
+ "Create professional PDF invoices online for free. Customize invoice templates, add your logo, download instantly, and send invoices without signup.",
);
await expect(page.locator('meta[property="og:site_name"]')).toHaveAttribute(
"content",
diff --git a/src/app/(app)/page.tsx b/src/app/(app)/page.tsx
index ae79bbe..a279dab 100644
--- a/src/app/(app)/page.tsx
+++ b/src/app/(app)/page.tsx
@@ -9,10 +9,10 @@ import { computeIndexingFlags } from "@/lib/seo/indexing-utils";
import * as Sentry from "@sentry/nextjs";
const APP_PAGE_DESCRIPTION =
- "Create invoices online for free with our PDF invoice generator. Customize templates, download instantly, no signup required.";
+ "Create professional PDF invoices online for free. Customize invoice templates, add your logo, download instantly, and send invoices without signup.";
const DEFAULT_TEMPLATE_META = {
- title: "Free Invoice Generator - Create PDF Invoices Instantly",
+ title: "Free Invoice Generator - Create PDF Invoices Online",
canonical: `${APP_URL}/`, // we use root URL as canonical for SEO purposes
images: [
{
diff --git a/src/app/(seo-landings)/build-seo-landing-json-ld.ts b/src/app/(seo-landings)/build-seo-landing-json-ld.ts
index 046c367..ea6baca 100644
--- a/src/app/(seo-landings)/build-seo-landing-json-ld.ts
+++ b/src/app/(seo-landings)/build-seo-landing-json-ld.ts
@@ -79,7 +79,7 @@ export function buildSeoLandingJsonLd(
};
const breadcrumb = buildBreadcrumbList(pageUrl, [
- { name: "Home", item: `${baseUrl}/` },
+ { name: "Start Invoicing", item: `${baseUrl}/` },
{ name: definition.metadata.title },
]);
diff --git a/src/app/[locale]/about/__tests__/about-json-ld-graph.test.ts b/src/app/[locale]/about/__tests__/about-json-ld-graph.test.ts
index 86c53f1..8d7ffcd 100644
--- a/src/app/[locale]/about/__tests__/about-json-ld-graph.test.ts
+++ b/src/app/[locale]/about/__tests__/about-json-ld-graph.test.ts
@@ -42,7 +42,7 @@ describe("buildAboutJsonLdGraph", () => {
{
"@type": "ListItem",
position: 1,
- name: "Home",
+ name: "Start Invoicing",
item: "https://easyinvoicepdf.com/",
},
{
diff --git a/src/app/[locale]/about/about-json-ld-graph.ts b/src/app/[locale]/about/about-json-ld-graph.ts
index bda3109..4eb5b20 100644
--- a/src/app/[locale]/about/about-json-ld-graph.ts
+++ b/src/app/[locale]/about/about-json-ld-graph.ts
@@ -26,7 +26,7 @@ export function buildAboutJsonLdGraph(
): Graph {
const pageUrl = `${baseUrl}/${locale}/about`;
const faqUrl = pageFaqId(pageUrl);
- const homeLabel = "Home";
+ const homeLabel = "Start Invoicing";
const aboutLabel = messages.About.buttons.home;
const faqEntities = ABOUT_FAQ_ITEM_KEYS.map((key) => {
diff --git a/src/app/changelog/build-changelog-json-ld.ts b/src/app/changelog/build-changelog-json-ld.ts
index 7d8cbb4..fcc1be8 100644
--- a/src/app/changelog/build-changelog-json-ld.ts
+++ b/src/app/changelog/build-changelog-json-ld.ts
@@ -61,7 +61,7 @@ export function buildChangelogIndexJsonLdGraph(
},
buildOrganization(),
buildBreadcrumbList(CHANGELOG_INDEX_URL, [
- { name: "Home", item: `${PROD_WEBSITE_URL}/` },
+ { name: "Start Invoicing", item: `${PROD_WEBSITE_URL}/` },
{ name: "Changelog" },
]),
],
@@ -118,7 +118,7 @@ export function buildChangelogPostJsonLdGraph(entry: ChangelogEntry): Graph {
},
buildOrganization(),
buildBreadcrumbList(pageUrl, [
- { name: "Home", item: `${PROD_WEBSITE_URL}/` },
+ { name: "Start Invoicing", item: `${PROD_WEBSITE_URL}/` },
{ name: "Changelog", item: CHANGELOG_INDEX_URL },
{ name: title },
]),
diff --git a/src/app/founder/build-founder-json-ld.ts b/src/app/founder/build-founder-json-ld.ts
index 6ba407f..05086b4 100644
--- a/src/app/founder/build-founder-json-ld.ts
+++ b/src/app/founder/build-founder-json-ld.ts
@@ -39,7 +39,7 @@ export function buildFounderJsonLdGraph(): Graph {
},
},
buildBreadcrumbList(pageUrl, [
- { name: "Home", item: `${PROD_WEBSITE_URL}/` },
+ { name: "Start Invoicing", item: `${PROD_WEBSITE_URL}/` },
{ name: "Founder" },
]),
],
diff --git a/src/app/how-it-works/build-how-it-works-json-ld.ts b/src/app/how-it-works/build-how-it-works-json-ld.ts
index ecabc44..5c86cf6 100644
--- a/src/app/how-it-works/build-how-it-works-json-ld.ts
+++ b/src/app/how-it-works/build-how-it-works-json-ld.ts
@@ -58,7 +58,7 @@ export function buildHowItWorksJsonLd(baseUrl = PROD_WEBSITE_URL): Graph {
},
},
buildBreadcrumbList(pageUrl, [
- { name: "Home", item: `${baseUrl}/` },
+ { name: "Start Invoicing", item: `${baseUrl}/` },
{ name: "How it works" },
]),
],
diff --git a/src/lib/seo/__tests__/site-entities.test.ts b/src/lib/seo/__tests__/site-entities.test.ts
index c9e07e7..7be0c48 100644
--- a/src/lib/seo/__tests__/site-entities.test.ts
+++ b/src/lib/seo/__tests__/site-entities.test.ts
@@ -86,7 +86,7 @@ describe("site-entities", () => {
describe("buildBreadcrumbList", () => {
it("should build ordered crumbs with optional last item URL", () => {
const breadcrumb = buildBreadcrumbList("https://easyinvoicepdf.com/foo", [
- { name: "Home", item: "https://easyinvoicepdf.com/" },
+ { name: "Start Invoicing", item: "https://easyinvoicepdf.com/" },
{ name: "Foo" },
]);
@@ -97,7 +97,7 @@ describe("buildBreadcrumbList", () => {
{
"@type": "ListItem",
position: 1,
- name: "Home",
+ name: "Start Invoicing",
item: "https://easyinvoicepdf.com/",
},
{
diff --git a/src/lib/seo/site-entities.ts b/src/lib/seo/site-entities.ts
index 63a58b6..b346052 100644
--- a/src/lib/seo/site-entities.ts
+++ b/src/lib/seo/site-entities.ts
@@ -26,7 +26,7 @@ const SITE_DESCRIPTION =
"Create and download professional invoices instantly with EasyInvoicePDF. Free and open-source. No signup required.";
export const HOME_PAGE_DESCRIPTION =
- "Create invoices online for free with our PDF invoice generator. Customize templates, download instantly, no signup required.";
+ "Create professional PDF invoices online for free. Customize invoice templates, add your logo, download instantly, and send invoices without signup.";
export const FOUNDER_PAGE_URL = `${PROD_WEBSITE_URL}/founder`;