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
refactor: update navigation links and translations from _Product_ to _Home_ across multiple components and language files (#225)
Vlad Sazonau0c879c8e330a
diff --git a/e2e/about.test.ts b/e2e/about.test.tsindex f56835e..e02ffe6 100644--- a/e2e/about.test.ts+++ b/e2e/about.test.ts@@ -32,7 +32,7 @@ test.describe("About page", () => {).toBeHidden();await expect(- header.getByRole("link", { name: "Product", exact: true }),+ header.getByRole("link", { name: "Home", exact: true }),).toBeHidden();} else {// Desktop: nav links and language switcher visible inline, burger button hidden@@ -41,7 +41,7 @@ test.describe("About page", () => {).toBeVisible();const productLink = header.getByRole("link", {- name: "Product",+ name: "Home",exact: true,});@@ -467,7 +467,7 @@ test.describe("About page", () => {const header = page.getByRole("banner");const productLink = header.getByRole("link", {- name: "Product",+ name: "Home",exact: true,});@@ -539,7 +539,7 @@ test.describe("About page", () => {await expect(goToAppButton).toHaveAttribute("href", "/?template=default");await expect(- header.getByRole("link", { name: "Product", exact: true }),+ header.getByRole("link", { name: "Home", exact: true }),).toBeHidden();await expect(@@ -552,7 +552,7 @@ test.describe("About page", () => {const sheet = page.getByRole("dialog", { name: "Mobile Menu" });const productLink = sheet.getByRole("link", {- name: "Product",+ name: "Home",exact: true,});await expect(productLink).toBeVisible();diff --git a/messages/de.json b/messages/de.jsonindex ae1ae46..d527e9c 100644--- a/messages/de.json+++ b/messages/de.json@@ -56,7 +56,6 @@},"footer": {"description": "Ein kostenloses Open-Source-Tool zur Erstellung professioneller PDF-Rechnungen mit Live-Vorschau.<br></br><br></br>Keine Buchhaltungssoftware. Keine Compliance-Garantien. Durch die Nutzung dieses Tools stimmen Sie den <tosLink>Nutzungsbedingungen</tosLink> zu.",- "product": "Produkt","links": {"features": "Funktionen","github": "GitHub",@@ -69,7 +68,7 @@},"buttons": {"goToApp": "Öffnen",- "home": "Produkt",+ "home": "Startseite","viewOnGithub": "Auf GitHub ansehen","starOnGithub": "Auf GitHub bewerten","switchLanguage": "Sprache wechseln",diff --git a/messages/en.json b/messages/en.jsonindex 88648e2..be2a57e 100644--- a/messages/en.json+++ b/messages/en.json@@ -56,7 +56,6 @@},"footer": {"description": "Create professional invoices in seconds with our free & open-source invoice maker. 100% in-browser, no sign-up required. Includes live PDF preview and a Stripe-style template - perfect for freelancers, startups, and small businesses.<br></br><br></br>Not accounting software. No compliance guarantees. By using this tool, you agree to the <tosLink>Terms of Service</tosLink>.",- "product": "Product","links": {"features": "Features","github": "GitHub",@@ -69,7 +68,7 @@},"buttons": {"goToApp": "Open app",- "home": "Product",+ "home": "Home","viewOnGithub": "Star on GitHub","starOnGithub": "Star on GitHub","switchLanguage": "Switch language",diff --git a/messages/es.json b/messages/es.jsonindex 8291f25..d910db9 100644--- a/messages/es.json+++ b/messages/es.json@@ -56,7 +56,6 @@},"footer": {"description": "Una herramienta gratuita de código abierto para crear facturas PDF profesionales con vista previa en tiempo real.<br></br><br></br>No es software de contabilidad. Sin garantías de cumplimiento. Al usar esta herramienta, aceptas los <tosLink>Términos del servicio</tosLink>.",- "product": "Producto","links": {"features": "Características","github": "GitHub",@@ -69,7 +68,7 @@},"buttons": {"goToApp": "Abrir",- "home": "Producto",+ "home": "Inicio","viewOnGithub": "Ver en GitHub","starOnGithub": "Dar estrella en GitHub","switchLanguage": "Cambiar idioma",diff --git a/messages/fr.json b/messages/fr.jsonindex c1bc08c..0623997 100644--- a/messages/fr.json+++ b/messages/fr.json@@ -48,7 +48,6 @@},"footer": {"description": "Un outil gratuit et open-source pour créer des factures PDF professionnelles avec aperçu en temps réel.<br></br><br></br>Pas un logiciel de comptabilité. Aucune garantie de conformité. En utilisant cet outil, vous acceptez les <tosLink>Conditions d'utilisation</tosLink>.",- "product": "Produit","links": {"features": "Fonctionnalités","github": "GitHub",@@ -61,7 +60,7 @@},"buttons": {"goToApp": "Ouvrir",- "home": "Produit",+ "home": "Accueil","viewOnGithub": "Voir sur GitHub","starOnGithub": "Mettre une étoile sur GitHub","switchLanguage": "Changer de langue",diff --git a/messages/it.json b/messages/it.jsonindex cedac3e..367f63f 100644--- a/messages/it.json+++ b/messages/it.json@@ -56,7 +56,6 @@},"footer": {"description": "Uno strumento gratuito e open-source per creare fatture PDF professionali con anteprima in tempo reale.<br></br><br></br>Non è un software di contabilità. Nessuna garanzia di conformità. Utilizzando questo strumento, accetti i <tosLink>Termini di servizio</tosLink>.",- "product": "Prodotto","links": {"features": "Funzionalità","github": "GitHub",@@ -69,7 +68,7 @@},"buttons": {"goToApp": "Apri",- "home": "Prodotto",+ "home": "Home","viewOnGithub": "Visualizza su GitHub","starOnGithub": "Metti una stella su GitHub","switchLanguage": "Cambia lingua",diff --git a/messages/nl.json b/messages/nl.jsonindex a6f1ff2..89a3fc4 100644--- a/messages/nl.json+++ b/messages/nl.json@@ -56,7 +56,6 @@},"footer": {"description": "Een gratis, open-source tool voor het maken van professionele PDF-facturen met realtime voorbeeld.<br></br><br></br>Geen boekhoudsoftware. Geen nalevingsgaranties. Door deze tool te gebruiken, gaat u akkoord met de <tosLink>Servicevoorwaarden</tosLink>.",- "product": "Product","links": {"features": "Functies","github": "GitHub",@@ -69,7 +68,7 @@},"buttons": {"goToApp": "Open",- "home": "Product",+ "home": "Startpagina","viewOnGithub": "Bekijk op GitHub","starOnGithub": "Ster geven op GitHub","switchLanguage": "Verander taal",diff --git a/messages/pl.json b/messages/pl.jsonindex fb601c5..74d8670 100644--- a/messages/pl.json+++ b/messages/pl.json@@ -56,7 +56,6 @@},"footer": {"description": "Darmowe narzędzie open-source do tworzenia profesjonalnych faktur PDF z podglądem w czasie rzeczywistym.<br></br><br></br>Nie jest oprogramowaniem księgowym. Brak gwarancji zgodności. Korzystając z tego narzędzia, akceptujesz <tosLink>Regulamin</tosLink>.",- "product": "Produkt","links": {"features": "Funkcje","github": "GitHub",@@ -69,7 +68,7 @@},"buttons": {"goToApp": "Otwórz",- "home": "Produkt",+ "home": "Strona","viewOnGithub": "Zobacz na GitHub","starOnGithub": "Oznacz gwiazdką na GitHub","switchLanguage": "Zmień język",diff --git a/messages/pt.json b/messages/pt.jsonindex 5f5430b..b37732f 100644--- a/messages/pt.json+++ b/messages/pt.json@@ -56,7 +56,6 @@},"footer": {"description": "Uma ferramenta gratuita de código aberto para criar faturas PDF profissionais com pré-visualização em tempo real.<br></br><br></br>Não é um software de contabilidade. Sem garantias de conformidade. Ao usar esta ferramenta, você concorda com os <tosLink>Termos de serviço</tosLink>.",- "product": "Produto","links": {"features": "Recursos","github": "GitHub",@@ -69,7 +68,7 @@},"buttons": {"goToApp": "Abrir",- "home": "Produto",+ "home": "Página inicial","viewOnGithub": "Ver no GitHub","starOnGithub": "Dar estrela no GitHub","switchLanguage": "Mudar idioma",diff --git a/messages/ru.json b/messages/ru.jsonindex 78ace52..31cceea 100644--- a/messages/ru.json+++ b/messages/ru.json@@ -56,7 +56,6 @@},"footer": {"description": "Бесплатный инструмент с открытым исходным кодом для создания профессиональных PDF-инвойсов с предпросмотром в реальном времени.<br></br><br></br>Не является бухгалтерским программным обеспечением. Никаких гарантий соответствия. Используя этот инструмент, вы соглашаетесь с <tosLink>Условиями использования</tosLink>.",- "product": "Продукт","links": {"features": "Возможности","github": "GitHub",@@ -69,7 +68,7 @@},"buttons": {"goToApp": "Открыть",- "home": "Продукт",+ "home": "Главная","viewOnGithub": "Посмотреть на GitHub","starOnGithub": "Поставить звезду на GitHub","switchLanguage": "Изменить язык",diff --git a/messages/uk.json b/messages/uk.jsonindex 0fd6f1e..146f240 100644--- a/messages/uk.json+++ b/messages/uk.json@@ -56,7 +56,6 @@},"footer": {"description": "Створюйте професійні рахунки за секунди за допомогою нашого безкоштовного інструменту з відкритим кодом. 100% у браузері, без реєстрації. Включає попередній перегляд PDF та шаблон у стилі Stripe - ідеально для фрілансерів, стартапів і малого бізнесу.<br></br><br></br>Не є бухгалтерським програмним забезпеченням. Жодних гарантій відповідності. Використовуючи цей інструмент, ви погоджуєтесь з <tosLink>Умовами використання</tosLink>.",- "product": "Продукт","links": {"features": "Можливості","github": "GitHub",@@ -69,7 +68,7 @@},"buttons": {"goToApp": "Відкрити",- "home": "Продукт",+ "home": "Головна","viewOnGithub": "Переглянути на GitHub","starOnGithub": "Поставити зірку на GitHub","switchLanguage": "Змінити мову",diff --git a/src/app/(app)/page.client.tsx b/src/app/(app)/page.client.tsxindex ef391cd..1635179 100644--- a/src/app/(app)/page.client.tsx+++ b/src/app/(app)/page.client.tsx@@ -759,7 +759,7 @@ export function AppPageClient({href="/en/about"className="text-sm text-slate-500 hover:text-slate-900">- About+ Home</Link></li><li>diff --git a/src/app/(seo-landings)/components/seo-landing-shell.tsx b/src/app/(seo-landings)/components/seo-landing-shell.tsxindex e67bddf..161e6dc 100644--- a/src/app/(seo-landings)/components/seo-landing-shell.tsx+++ b/src/app/(seo-landings)/components/seo-landing-shell.tsx@@ -38,7 +38,7 @@ export function SeoLandingShell({ definition }: SeoLandingShellProps) {locale="en"translations={{navLinks: {- home: "Product",+ home: "Home",features: "Features",faq: "FAQ",github: "GitHub",@@ -223,7 +223,7 @@ export function SeoLandingShell({ definition }: SeoLandingShellProps) {href="/en/about"className="text-sm text-slate-500 hover:text-slate-900">- About+ Home</Link></li><li>diff --git a/src/app/changelog/layout.tsx b/src/app/changelog/layout.tsxindex eee4491..80e57e7 100644--- a/src/app/changelog/layout.tsx+++ b/src/app/changelog/layout.tsx@@ -91,7 +91,7 @@ export default function ChangelogLayout({ children }: ChangelogLayoutProps) {locale={"en"}translations={{navLinks: {- home: "Product",+ home: "Home",features: "Features",faq: "FAQ",github: "GitHub",@@ -145,7 +145,7 @@ export default function ChangelogLayout({ children }: ChangelogLayoutProps) {href="/en/about"className="text-sm text-slate-500 hover:text-slate-900">- About+ Home</Link></li>diff --git a/src/app/founder/layout.tsx b/src/app/founder/layout.tsxindex 287dffe..601c963 100644--- a/src/app/founder/layout.tsx+++ b/src/app/founder/layout.tsx@@ -92,7 +92,7 @@ export default function FounderLayout({ children }: FounderLayoutProps) {locale={"en"}translations={{navLinks: {- home: "Product",+ home: "Home",features: "Features",faq: "FAQ",github: "GitHub",@@ -146,7 +146,7 @@ export default function FounderLayout({ children }: FounderLayoutProps) {href="/en/about"className="text-sm text-slate-500 hover:text-slate-900">- About+ Home</Link></li>diff --git a/src/app/schema/i18n-schema.ts b/src/app/schema/i18n-schema.tsindex 5d67d87..64fd11a 100644--- a/src/app/schema/i18n-schema.ts+++ b/src/app/schema/i18n-schema.ts@@ -60,7 +60,6 @@ const aboutSchema = zfooter: z.object({description: z.string(),- product: z.string(),links: z.object({features: z.string(),diff --git a/src/app/tos/layout.tsx b/src/app/tos/layout.tsxindex a0b48d2..dbf6908 100644--- a/src/app/tos/layout.tsx+++ b/src/app/tos/layout.tsx@@ -85,7 +85,7 @@ export default function TosLayout({ children }: TosLayoutProps) {locale={"en"}translations={{navLinks: {- home: "Product",+ home: "Home",features: "Features",faq: "FAQ",github: "GitHub",@@ -139,7 +139,7 @@ export default function TosLayout({ children }: TosLayoutProps) {href="/en/about"className="text-sm text-slate-500 hover:text-slate-900">- About+ Home</Link></li>