Skip to content

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

fix: changelog updates, add founder recognition + minor style fixes (#210)

Vlad Sazonau8a67b2ef323e
diff --git a/README.md b/README.md
index 7c23435..f4d5bf5 100644
--- a/README.md
+++ b/README.md
@@ -141,11 +141,11 @@ https://github.com/user-attachments/assets/1b39eb6f-e2be-493f-9825-cbce3dc6fa16
---
-### EasyInvoicePDF v1.0.1 — Stripe Template & Tax Customization (June 12, 2025)
+### EasyInvoicePDF v1.0.1 — Customizable Tax/VAT Labels & Major Improvements (January 12, 2026)
-- **Stripe-inspired invoice template** — professional styling with logo upload and payment URL field
- **Customizable tax labels** — set VAT, GST, Sales Tax, or any custom label per invoice language
- **Improved i18n** — dynamic tax label updates and better locale-based currency handling
+- **Enhanced VAT validation** — accepts numeric values and specific strings
https://github.com/user-attachments/assets/4eef2b90-678b-4a55-9ee5-8fcf195c993a
@@ -157,6 +157,7 @@ https://github.com/user-attachments/assets/4eef2b90-678b-4a55-9ee5-8fcf195c993a
- **Live preview** — invoice updates in real-time as you type
- **Instant PDF download** — one-click, no sign-up required
+- **Default and Stripe-inspired invoice templates** — choose the look you want
- **Shareable links** — send invoices directly to clients without attachments
- **10 languages & 120+ currencies** — full multi-language and currency support out of the box
diff --git a/e2e/changelog.test.ts b/e2e/changelog.test.ts
index 9f34d31..f5a8cc7 100644
--- a/e2e/changelog.test.ts
+++ b/e2e/changelog.test.ts
@@ -101,14 +101,14 @@ test.describe("Changelog page", () => {
);
await expect(linkedinShareLink).toBeVisible();
- // Check "Go to App" CTA button
+ // Check CTA button
const goToAppButtonContainer = page.getByTestId(
"go-to-app-button-container",
);
- const goToAppButton = goToAppButtonContainer.getByRole("link");
- await expect(goToAppButton).toBeVisible();
- await expect(goToAppButton).toHaveText("Go to App");
+ const ctaButton = goToAppButtonContainer.getByRole("link");
+ await expect(ctaButton).toBeVisible();
+ await expect(ctaButton).toHaveText("Start Invoicing");
});
test("should navigate back to changelog from individual entry", async ({
diff --git a/e2e/default-invoice-template/default-invoice-template.test.ts b/e2e/default-invoice-template/default-invoice-template.test.ts
index 7e982b5..19bdbf5 100644
--- a/e2e/default-invoice-template/default-invoice-template.test.ts
+++ b/e2e/default-invoice-template/default-invoice-template.test.ts
@@ -779,14 +779,16 @@ test.describe("Default Invoice Template", () => {
await download.saveAs(pdfFilePath);
+ const downloadPdfToast = page.getByTestId("download-pdf-toast");
+
// Verify toast appears after download
- await expect(page.getByTestId("download-pdf-toast")).toBeVisible();
+ await expect(downloadPdfToast).toBeVisible();
await expect(
- page.getByRole("link", { name: "Star on GitHub" }),
+ downloadPdfToast.getByRole("link", { name: "Star on GitHub" }),
).toBeVisible();
- await expect(page.getByTestId("toast-cta-btn")).toBeVisible();
+ await expect(downloadPdfToast.getByTestId("toast-cta-btn")).toBeVisible();
// Convert to absolute path and use proper file URL format
const absolutePath = path.resolve(pdfFilePath);
diff --git a/eslint.config.mjs b/eslint.config.mjs
index 1424830..b2cecae 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -62,6 +62,7 @@ export default tseslint.config(
],
},
],
+ "@next/next/no-img-element": "off",
},
},
{
diff --git a/src/app/(app)/components/index.tsx b/src/app/(app)/components/index.tsx
index 2f98117..4ba9b89 100644
--- a/src/app/(app)/components/index.tsx
+++ b/src/app/(app)/components/index.tsx
@@ -14,6 +14,7 @@ import { TWITTER_URL } from "@/config";
import type { Dispatch, SetStateAction } from "react";
import { getAppMetadata, updateAppMetadata } from "../utils/get-app-metadata";
import { InvoiceForm } from "./invoice-form";
+
import { InvoicePDFDownloadLink } from "./invoice-pdf-download-link";
import { MobileFormScrollContainer } from "./mobile-form-scroll-container";
@@ -271,19 +272,32 @@ export function InvoiceClientPage({
{invoiceLastUpdatedAtFormatted}
</div>
)}
- {/** Mobile version */}
+ {/* Founders info section (Mobile version) */}
<div className="mt-3 flex w-full justify-center">
- <span className="inline-block text-xs text-zinc-900 duration-500 animate-in fade-in slide-in-from-bottom-2">
- Made by{" "}
- <a
- href={TWITTER_URL}
- target="_blank"
- rel="noopener noreferrer"
- className="underline hover:text-black"
- >
- Vlad Sazonau
+ <div className="flex items-center gap-1.5 text-xs text-zinc-900 duration-500 animate-in fade-in slide-in-from-bottom-2">
+ <a href={TWITTER_URL} target="_blank" rel="noopener noreferrer">
+ <img
+ src="https://ik.imagekit.io/fl2lbswwo/avatar.jpeg?updatedAt=1757456439459"
+ alt="Vlad Sazonau"
+ className="size-6 rounded-full"
+ height="24"
+ width="24"
+ loading="lazy"
+ decoding="async"
+ />
</a>
- </span>
+ <span>
+ Made by{" "}
+ <a
+ href={TWITTER_URL}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="underline hover:text-black"
+ >
+ Vlad Sazonau
+ </a>
+ </span>
+ </div>
</div>
</div>
) : (
@@ -298,17 +312,31 @@ export function InvoiceClientPage({
/>
</div>
- <span className="mt-1 inline-block text-end text-xs text-zinc-700 duration-500 animate-in fade-in slide-in-from-bottom-2">
- Made by{" "}
- <a
- href={TWITTER_URL}
- target="_blank"
- rel="noopener noreferrer"
- className="underline hover:text-black"
- >
- Vlad Sazonau
+ {/* Founders info section (Desktop version) */}
+ <div className="mt-1 flex items-center gap-1.5 text-xs text-zinc-800 duration-500 animate-in fade-in slide-in-from-bottom-2">
+ <a href={TWITTER_URL} target="_blank" rel="noopener noreferrer">
+ <img
+ src="https://ik.imagekit.io/fl2lbswwo/avatar.jpeg?updatedAt=1757456439459"
+ alt="Vlad Sazonau"
+ className="size-6 rounded-full"
+ height="24"
+ width="24"
+ loading="lazy"
+ decoding="async"
+ />
</a>
- </span>
+ <span>
+ Made by{" "}
+ <a
+ href={TWITTER_URL}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="underline hover:text-black"
+ >
+ Vlad Sazonau
+ </a>
+ </span>
+ </div>
</div>
<div className="relative col-span-8 h-[620px] w-full max-w-full 2xl:h-[700px]">
{invoiceLastUpdatedAtFormatted && (
diff --git a/src/app/(app)/components/invoice-page-header.tsx b/src/app/(app)/components/invoice-page-header.tsx
index 40c8388..b6f1aea 100644
--- a/src/app/(app)/components/invoice-page-header.tsx
+++ b/src/app/(app)/components/invoice-page-header.tsx
@@ -234,11 +234,11 @@ function ProjectInfoLinks() {
href={GITHUB_URL}
target="_blank"
rel="noopener noreferrer"
- className="group inline-flex items-center gap-1.5 rounded-full border border-slate-200 px-3 py-1 text-xs font-medium text-slate-900 shadow-sm transition-[colors,transform,border-color] duration-200 hover:border-blue-300 hover:text-blue-600 active:scale-[0.96]"
+ className="group inline-flex items-center gap-1.5 rounded-full border border-slate-300 px-3 py-1 text-xs font-medium text-slate-900 shadow transition-[colors,transform,border-color] duration-200 hover:border-blue-300 hover:text-blue-600 active:scale-[0.96]"
>
<GithubIcon className="size-4 transition-[transform,fill] duration-200 group-hover:scale-105 group-hover:fill-blue-600" />
<span className="transition-colors duration-200 group-hover:text-blue-600">
- View on GitHub
+ Star on GitHub
</span>
</a>
</div>
diff --git a/src/app/[locale]/about/components/github-star-cta-body.tsx b/src/app/[locale]/about/components/github-star-cta-body.tsx
index c6ba918..8c314b6 100644
--- a/src/app/[locale]/about/components/github-star-cta-body.tsx
+++ b/src/app/[locale]/about/components/github-star-cta-body.tsx
@@ -1,6 +1,12 @@
import { fetchGithubStars } from "@/actions/fetch-github-stars";
import { GITHUB_URL } from "@/config";
+/**
+ * Server component that renders a GitHub star CTA button for the marketing/about page.
+ * Fetches the current GitHub star count and displays it alongside a call-to-action.
+ *
+ * @returns A styled button linking to the GitHub repository with star count
+ */
export async function GithubStarCtaMarketingPageBody() {
const githubStarsCount = await fetchGithubStars();
diff --git a/src/app/[locale]/about/page.tsx b/src/app/[locale]/about/page.tsx
index 01e5550..cfd1e66 100644
--- a/src/app/[locale]/about/page.tsx
+++ b/src/app/[locale]/about/page.tsx
@@ -173,7 +173,7 @@ function HeroSection() {
return (
<section
id="hero"
- className="relative flex w-full items-center justify-center overflow-hidden bg-gradient-to-b from-white to-slate-50 py-10 md:py-16 lg:py-24"
+ className="relative flex w-full items-center justify-center overflow-hidden bg-gradient-to-b from-white to-slate-50 py-10 md:py-16 xl:py-24"
>
{/* Background decorative elements */}
<div className="absolute inset-0 overflow-hidden">
diff --git a/src/app/changelog/[slug]/page.tsx b/src/app/changelog/[slug]/page.tsx
index 6958dfe..33fa324 100644
--- a/src/app/changelog/[slug]/page.tsx
+++ b/src/app/changelog/[slug]/page.tsx
@@ -11,6 +11,8 @@ import type { Metadata } from "next";
import Link from "next/link";
import { notFound } from "next/navigation";
import { Suspense } from "react";
+import { ChangelogAuthorByline } from "../components/changelog-author-byline";
+import { ChangelogVersionBadgeLink } from "../components/changelog-version-badge-link";
import { DateTime } from "../components/date-time";
import { BlackGoToAppButton } from "@/components/go-to-app-button-cta";
import * as Sentry from "@sentry/nextjs";
@@ -163,7 +165,12 @@ export default async function ChangelogEntryPage({
{entry.metadata.title || `Update ${formattedDate}`}
</h1>
</div>
- <div className="flex items-center gap-4 text-sm text-gray-600 dark:text-gray-400">
+ {entry.metadata.version ? (
+ <div className="mt-2 flex items-center gap-2">
+ <ChangelogVersionBadgeLink version={entry.metadata.version} />
+ </div>
+ ) : null}
+ <div className="mt-2 flex items-center gap-4 text-sm text-gray-600 dark:text-gray-400">
<DateTime dateTime={entry.metadata.date}>
{formattedDate}
</DateTime>
@@ -173,50 +180,7 @@ export default async function ChangelogEntryPage({
{/* Author and social sharing */}
<div className="my-4 flex flex-col justify-between sm:my-8 sm:flex-row sm:items-center">
<div className="flex items-center gap-x-8">
- <div
- className="flex items-center space-x-3"
- data-testid="author-info-img"
- >
- <Link
- href="https://dub.sh/vldszn-x.com"
- target="_blank"
- rel="noopener noreferrer"
- className="group"
- >
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img
- alt="Vlad Sazonau"
- loading="lazy"
- width="36"
- height="36"
- decoding="async"
- className="rounded-full blur-0 transition-all group-hover:brightness-95"
- src={
- "https://ik.imagekit.io/fl2lbswwo/avatar.jpeg?updatedAt=1757456439459"
- }
- />
- </Link>
- <div className="flex flex-col" data-testid="author-info-text">
- <Link
- href="https://dub.sh/vldszn-x.com"
- target="_blank"
- rel="noopener noreferrer"
- className="text-sm font-medium text-neutral-800 no-underline hover:underline hover:underline-offset-2 dark:text-neutral-300"
- >
- Vlad Sazonau
- </Link>
- <span className="text-sm text-slate-500 dark:text-neutral-400">
- Founder,{" "}
- <Link
- href="/?template=default"
- className="text-slate-500 no-underline hover:underline hover:underline-offset-2 dark:text-neutral-400"
- >
- {" "}
- EasyInvoicePDF
- </Link>
- </span>
- </div>
- </div>
+ <ChangelogAuthorByline />
</div>
<div className="flex items-center gap-x-6">
{/* Twitter/X share */}
@@ -330,7 +294,7 @@ export default async function ChangelogEntryPage({
data-testid="go-to-app-button-container"
>
<BlackGoToAppButton className="w-full py-6 text-lg">
- Go to App
+ Start Invoicing
</BlackGoToAppButton>
</div>
diff --git a/src/app/changelog/components/changelog-author-byline.tsx b/src/app/changelog/components/changelog-author-byline.tsx
new file mode 100644
index 0000000..f453539
--- /dev/null
+++ b/src/app/changelog/components/changelog-author-byline.tsx
@@ -0,0 +1,50 @@
+import Link from "next/link";
+
+/**
+ * Displays author information for changelog entries.
+ * Shows avatar, name, and role with links to social profiles.
+ *
+ * @returns Author byline component with avatar and text information
+ */
+export function ChangelogAuthorByline() {
+ return (
+ <div className="flex items-center space-x-3" data-testid="author-info-img">
+ <Link
+ href="https://x.com/vladsazonau"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="group"
+ >
+ <img
+ alt="Vlad Sazonau"
+ loading="lazy"
+ width="36"
+ height="36"
+ decoding="async"
+ className="rounded-full blur-0 transition-all group-hover:brightness-95"
+ src="https://ik.imagekit.io/fl2lbswwo/avatar.jpeg?updatedAt=1757456439459"
+ />
+ </Link>
+ <div className="flex flex-col" data-testid="author-info-text">
+ <Link
+ href="https://x.com/vladsazonau"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="text-sm font-medium text-neutral-800 no-underline hover:underline hover:underline-offset-2 dark:text-neutral-300"
+ >
+ Vlad Sazonau
+ </Link>
+ <span className="text-sm text-slate-500 dark:text-neutral-400">
+ Founder,{" "}
+ <Link
+ href="/?template=default"
+ className="text-slate-500 no-underline hover:underline hover:underline-offset-2 dark:text-neutral-400"
+ >
+ {" "}
+ EasyInvoicePDF
+ </Link>
+ </span>
+ </div>
+ </div>
+ );
+}
diff --git a/src/app/changelog/components/changelog-version-badge-link.tsx b/src/app/changelog/components/changelog-version-badge-link.tsx
new file mode 100644
index 0000000..225e3b1
--- /dev/null
+++ b/src/app/changelog/components/changelog-version-badge-link.tsx
@@ -0,0 +1,30 @@
+import { getChangelogReleaseNotesUrl } from "@/app/changelog/utils";
+
+interface ChangelogVersionBadgeLinkProps {
+ version: string;
+}
+
+export function ChangelogVersionBadgeLink({
+ version,
+}: ChangelogVersionBadgeLinkProps) {
+ if (!version) {
+ return null;
+ }
+
+ const versionUrl = getChangelogReleaseNotesUrl(version);
+
+ if (!versionUrl) {
+ return null;
+ }
+
+ return (
+ <a
+ href={versionUrl}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="inline-flex items-center rounded-full border border-slate-300 bg-slate-50 px-2.5 py-1 text-sm font-medium text-slate-600 transition-colors hover:border-slate-400 hover:bg-slate-100 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:border-gray-600 dark:hover:bg-gray-700"
+ >
+ v{version}
+ </a>
+ );
+}
diff --git a/src/app/changelog/content/easy-invoice-pdf-launch.mdx b/src/app/changelog/content/easy-invoice-pdf-launch.mdx
index 709c2a4..d32793e 100644
--- a/src/app/changelog/content/easy-invoice-pdf-launch.mdx
+++ b/src/app/changelog/content/easy-invoice-pdf-launch.mdx
@@ -1,22 +1,28 @@
export const metadata = {
title: "EasyInvoicePDF v1.0.0 - Free & Open-Source Invoice Generator",
description:
- "Create professional invoices instantly with real-time preview and shareable links. No registration needed.",
+ "Create professional invoices instantly with real-time preview, default and Stripe-style templates, and shareable links. No registration needed.",
date: "2025-11-19",
version: "1.0.0",
type: "major",
};
-![EasyInvoicePDF Launch](https://ik.imagekit.io/fl2lbswwo/CHANGELOG/easy-invoice-pdf-launch/launch.png?updatedAt=1751028191862)
+![Default Invoice Template](https://github.com/user-attachments/assets/7779cd52-e2a9-442a-8ac8-262387319b3e)
## 🎉 Initial Release
### Welcome to EasyInvoicePDF!
-We're excited to launch **EasyInvoicePDF** - a free, open-source tool that helps you create professional invoices instantly with real-time preview. No sign-up required, completely free to use!
+We're excited to launch **EasyInvoicePDF** - a free, open-source tool that helps you create professional invoices instantly with real-time preview. Pick the **default layout** or a **Stripe-inspired invoice template** so PDFs match the look you want. No sign-up required, completely free to use!
+
+![Stripe Invoice Template](https://github.com/user-attachments/assets/ee8d5337-89fc-461c-b1c1-2680287df514)
## ✨ Core Features
+### 💳 Stripe-inspired template
+
+Switch to a **Stripe-style invoice template** for a clean, familiar layout (in addition to the default template). Same fields and PDF download; only the visual design changes.
+
### 🔴 Live Preview
See your invoice update in real-time as you make changes, ensuring it looks exactly how you want before downloading.
@@ -59,6 +65,7 @@ Automatically calculate European VAT rates and totals for your invoices. Complia
### 🏢 Professional Invoice Features
+- Default and Stripe-inspired PDF templates
- Complete seller and buyer information management
- Detailed invoice items with descriptions, quantities, and pricing
- Automatic tax calculations and totals
diff --git a/src/app/changelog/content/stripe-pdf-template.mdx b/src/app/changelog/content/stripe-pdf-template.mdx
index f092f6b..b3680ff 100644
--- a/src/app/changelog/content/stripe-pdf-template.mdx
+++ b/src/app/changelog/content/stripe-pdf-template.mdx
@@ -1,50 +1,54 @@
export const metadata = {
title:
- "EasyInvoicePDF v1.0.1 - Stripe Invoice Template & Landing Page Improvements",
+ "EasyInvoicePDF v1.0.1 - Customizable Tax/VAT Labels & Major Improvements",
description:
- "Introducing a modern, Stripe-inspired invoice template with professional styling and layout optimizations",
- date: "2025-06-12",
+ "Customizable tax and VAT labels, per-language tax labels, stronger VAT validation, localization updates, PDF performance, e2e and CI improvements, and bug fixes.",
+ date: "2026-01-12",
version: "1.0.1",
- type: "major",
+ type: "minor",
};
-![New Stripe Invoice Template](https://ik.imagekit.io/fl2lbswwo/CHANGELOG/stripe-pdf-template/stripe-template.png?updatedAt=1751032495134)
+<video
+ src="https://github.com/user-attachments/assets/4eef2b90-678b-4a55-9ee5-8fcf195c993a"
+ controls
+ style={{ width: "100%", borderRadius: "8px" }}
+/>
-## 🚀 New Features
+### ✨ New Features
-### Stripe-inspired Invoice Template
+- **Customizable tax label**: Users can personalize the tax/VAT label text on invoices (for example VAT, GST, Sales Tax)
+- **Customizable tax number label**: Support for custom tax number labels in buyer and seller information sections
+- **Dynamic tax label per language**: Tax labels update automatically based on the selected invoice language
-- 🤩 **Stripe template support**: Introduced a modern, Stripe-inspired invoice template with professional styling and layout optimizations
-- **Dynamic template selection**: Introduced template selection functionality in the invoice form
-- **Logo upload**: Added logo upload capability for the **Stripe** template with validation
-- **Payment links**: Integrated Stripe payment URL field for enhanced invoice functionality
+### 🛠️ Improvements
-![Landing Page](https://ik.imagekit.io/fl2lbswwo/CHANGELOG/stripe-pdf-template/landing.png?updatedAt=1751032507925)
+- Enhanced validation for VAT input to accept both numeric values and specific strings
+- Improved user interface messages for clarity regarding VAT input requirements
+- Updated README with enhanced project description, links, and feature presentation
+- Better localization across all supported languages (EN, DE, ES, FR, IT, NL, PL, PT, RU, UK)
+- Streamlined PDF font handling with improved caching for better performance
+- Enhanced invoice PDF rendering quality
-### User Experience & Design
+### 🧪 Testing & Infrastructure
-- **Landing page cleanup**: Refined About section and footer for better layout and accessibility
-- **Call-to-action toasts**: Added custom, randomized CTA toasts encouraging user support (40-second timer)
-- **Currency expansion**: Added support for more currencies with improved date handling
-- **Improved tooltips**: Enhanced tooltips with detailed explanations and improved styling
+- Added comprehensive E2E tests for new tax label features
+- Improved Playwright test stability with refined screenshot assertions
+- Updated CI/CD to use macOS runners for consistent snapshot generation
+- Added static assets tests for better reliability
-{/* prettier-ignore-start */}
-| Before | After |
-|--------|-------|
-| ![before](https://ik.imagekit.io/fl2lbswwo/CHANGELOG/stripe-pdf-template/before1.png?updatedAt=1751028191085) | ![after](https://ik.imagekit.io/fl2lbswwo/CHANGELOG/stripe-pdf-template/after1.png?updatedAt=1751028191085) |
-| ![before2](https://ik.imagekit.io/fl2lbswwo/CHANGELOG/stripe-pdf-template/before2.png?updatedAt=1751028191085) | ![after2](https://ik.imagekit.io/fl2lbswwo/CHANGELOG/stripe-pdf-template/after2.png?updatedAt=1751028191085) |
-{/* prettier-ignore-end */}
+### 🐛 Bug Fixes
-- **Invoice deletion**: Added confirmation dialog for invoice item deletion
-- **Form validation**: Relaxed date validations for better user experience
-- **Improved PDF viewers**: Enhanced PDF rendering with better error handling and fallback UI
-- **Accessibility**: Improved button component accessibility with proper disabled state handling
-- **Detailed Invoice Footers**: Added comprehensive invoice footer and payment info sections
+- Fixed accordion bug
+- Fixed invoice link generation error message to include a refresh suggestion
+- Improved invoice item tax label helper text
+- Various UI polish and consistency fixes
-![Invoice Footer](https://ik.imagekit.io/fl2lbswwo/CHANGELOG/stripe-pdf-template/invoice-footer.png?updatedAt=1751028191085)
+## What's Changed
+
+- feat: customizable tax/VAT label text + a lot of other improvements and bug fixes by [@VladSez](https://github.com/VladSez) in https://github.com/VladSez/easy-invoice-pdf/pull/163
---
-**Full Changeset**: [`63b097b...7ae733b`](https://github.com/VladSez/easy-invoice-pdf/compare/63b097b...7ae733b)
+**Full Changelog**: [EasyInvoicePDF-v1.0.0...EasyInvoicePDF-1.0.1](https://github.com/VladSez/easy-invoice-pdf/compare/EasyInvoicePDF-v1.0.0...EasyInvoicePDF-1.0.1)
-[View Release Notes for v1.0.1 on GitHub](https://github.com/VladSez/easy-invoice-pdf/releases/tag/EasyInvoicePDF-1.0.1)
+[View release notes for v1.0.1 on GitHub](https://github.com/VladSez/easy-invoice-pdf/releases/tag/EasyInvoicePDF-1.0.1)
diff --git a/src/app/changelog/page.tsx b/src/app/changelog/page.tsx
index 8e0acb8..ea1c500 100644
--- a/src/app/changelog/page.tsx
+++ b/src/app/changelog/page.tsx
@@ -6,6 +6,8 @@ import {
import Link from "next/link";
import { notFound } from "next/navigation";
import { Suspense } from "react";
+import { ChangelogAuthorByline } from "./components/changelog-author-byline";
+import { ChangelogVersionBadgeLink } from "./components/changelog-version-badge-link";
import { DateTime } from "./components/date-time";
// Enable static generation for this page
@@ -88,12 +90,14 @@ function ChangelogEntryCard({ entry }: { entry: ChangelogEntry }) {
{/* Version Badge */}
{entry.metadata.version ? (
<div className="mt-2 flex items-center gap-2">
- <span className="inline-flex items-center rounded-full border border-slate-300 bg-slate-50 px-2.5 py-1 text-sm font-medium text-slate-600 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400">
- v{entry.metadata.version}
- </span>
+ <ChangelogVersionBadgeLink version={entry.metadata.version} />
</div>
) : null}
+ <div className="not-prose mb-2 mt-4">
+ <ChangelogAuthorByline />
+ </div>
+
{/* Article Content */}
<article
data-testid="changelog-entry-card"
diff --git a/src/app/changelog/utils.ts b/src/app/changelog/utils.ts
index 60ec345..2019a8a 100644
--- a/src/app/changelog/utils.ts
+++ b/src/app/changelog/utils.ts
@@ -1,7 +1,29 @@
+import { GITHUB_URL } from "@/config";
import { readdir } from "fs/promises";
import { join } from "path";
import { z } from "zod";
+/** Maps metadata `version` (e.g. "1.0.1") to the GitHub release tag name. */
+const changelogVersionToReleaseTag: Record<string, string> = {
+ "1.0.0": "EasyInvoicePDF-v1.0.0",
+ "1.0.1": "EasyInvoicePDF-1.0.1",
+ "1.0.2": "v1.0.2",
+ "1.0.3": "v1.0.3",
+};
+
+/**
+ * GitHub release URL for changelog entries. Unknown versions default to `v{version}`.
+ */
+export function getChangelogReleaseNotesUrl(version: string) {
+ const tag = changelogVersionToReleaseTag[version];
+
+ if (!tag) {
+ return null;
+ }
+
+ return `${GITHUB_URL}/releases/tag/${tag}`;
+}
+
interface ChangelogMetadata {
title: string;
description: string;
diff --git a/src/components/footer.tsx b/src/components/footer.tsx
index d7881ae..f123769 100644
--- a/src/components/footer.tsx
+++ b/src/components/footer.tsx
@@ -97,12 +97,13 @@ export function Footer({
href="https://startupfa.me/s/easyinvoicepdf?utm_source=easyinvoicepdf.com"
target="_blank"
>
- {/* eslint-disable-next-line @next/next/no-img-element */}
<img
src="https://startupfa.me/badges/featured-badge-small.webp"
alt="Featured on Startup Fame"
width="224"
height="36"
+ loading="lazy"
+ decoding="async"
/>
</a>
</div>
diff --git a/src/components/github-star-cta.tsx b/src/components/github-star-cta.tsx
index 4f5f6b7..7bcd9b3 100644
--- a/src/components/github-star-cta.tsx
+++ b/src/components/github-star-cta.tsx
@@ -23,19 +23,21 @@ export function GitHubStarCTA({
href={GITHUB_URL}
target="_blank"
rel="noopener noreferrer"
- className="group relative inline-flex h-9 items-center overflow-hidden rounded-full bg-slate-900 text-sm font-medium text-white shadow-sm shadow-black/5 transition-[transform,background-color] duration-200 ease-out hover:bg-slate-900/90 active:scale-[0.96]"
+ className="group relative inline-flex h-9 items-center overflow-hidden rounded-full bg-black bg-gradient-to-r from-stone-800 via-stone-900 to-stone-950 text-sm font-medium text-white shadow-sm shadow-black/10 transition-[transform,opacity] duration-200 ease-out hover:opacity-95 active:scale-[0.96]"
onClick={handleStarClick}
aria-label="Star project on GitHub"
data-testid="github-star-cta-button"
>
<span className="flex items-center gap-1.5 px-4">
+ {/* Icon container with relative positioning for layered animation */}
<span className="relative size-4">
+ {/* GitHub icon - visible by default, fades out and shrinks on hover */}
<GithubIcon className="absolute inset-0 size-4 fill-white transition-[opacity,transform,filter] duration-200 ease-out group-hover:scale-75 group-hover:opacity-0 group-hover:blur-[4px]" />
+ {/* Star icon - hidden by default, scales up and fades in on hover to replace GitHub icon */}
<Star className="absolute inset-0 size-4 scale-[0.25] fill-yellow-400 text-yellow-400 opacity-0 blur-[4px] transition-[opacity,transform,filter] duration-200 ease-out group-hover:scale-100 group-hover:opacity-100 group-hover:blur-0" />
</span>
{githubStarsCount > 0 ? (
<>
- <span className="h-3.5 w-px bg-white/25" aria-hidden="true" />
<CountUpNumber number={githubStarsCount} />
</>
) : (
diff --git a/src/components/video.tsx b/src/components/video.tsx
index fdc415e..c92b824 100644
--- a/src/components/video.tsx
+++ b/src/components/video.tsx
@@ -264,7 +264,7 @@ export function ManualPlayVideo({
<button
type="button"
aria-label={description ? description : "Play video"}
- className="absolute inset-0 flex items-center justify-center backdrop-blur-[2px]"
+ className="absolute inset-0 flex items-center justify-center backdrop-blur-[1px]"
onClick={handlePlay}
>
<span className="flex size-14 items-center justify-center rounded-full bg-slate-800/90 shadow-lg transition-transform duration-150 hover:scale-110 active:scale-95">
diff --git a/src/mdx-components.tsx b/src/mdx-components.tsx
index 5c801d5..0248dfe 100644
--- a/src/mdx-components.tsx
+++ b/src/mdx-components.tsx
@@ -59,7 +59,6 @@ export function useMDXComponents(components: MDXComponents): MDXComponents {
// Enhanced image styling with responsive design
img: ({ alt, src, ...props }) => (
- // eslint-disable-next-line @next/next/no-img-element
<img
{...props}
src={src}