Skip to content

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

feat: enhance InvoiceClientPage and Footer components (#237)

Vlad Sazonau3698e66cfb9b
diff --git a/src/app/(app)/components/index.tsx b/src/app/(app)/components/index.tsx
index 07e0c31..141244f 100644
--- a/src/app/(app)/components/index.tsx
+++ b/src/app/(app)/components/index.tsx
@@ -272,9 +272,19 @@ export function InvoiceClientPage({
{invoiceLastUpdatedAtFormatted}
</div>
)}
+
+ <div
+ className="mt-5 flex flex-wrap justify-center gap-1 text-xs text-zinc-900"
+ data-testid="mobile-terms-of-service-link"
+ >
+ By using this tool, you agree to the{" "}
+ <Link href="/tos" className="underline hover:text-black">
+ Terms of Service
+ </Link>
+ </div>
{/* Founders info section (Mobile version) */}
- <div className="mt-3 flex w-full justify-center">
- <div className="flex items-center gap-1.5 text-xs text-zinc-900 duration-500 animate-in fade-in slide-in-from-bottom-2">
+ <div className="mt-5 flex w-full justify-center">
+ <div className="flex items-center gap-1.5 text-xs text-zinc-700 duration-500 animate-in fade-in slide-in-from-bottom-2">
<a href={"/founder"}>
<img
src="https://ik.imagekit.io/fl2lbswwo/avatar.jpeg?updatedAt=1757456439459"
@@ -294,15 +304,6 @@ export function InvoiceClientPage({
</span>
</div>
</div>
- <div
- className="mt-3 flex flex-wrap justify-center gap-1 text-xs text-zinc-900"
- data-testid="mobile-terms-of-service-link"
- >
- By using this tool, you agree to the{" "}
- <Link href="/tos" className="underline hover:text-black">
- Terms of Service
- </Link>
- </div>
</div>
) : (
// Desktop View
diff --git a/src/app/(components)/footer.tsx b/src/app/(components)/footer.tsx
index 6817df8..523fb75 100644
--- a/src/app/(components)/footer.tsx
+++ b/src/app/(components)/footer.tsx
@@ -1,3 +1,4 @@
+/* eslint-disable @next/next/no-html-link-for-pages */
import { SEO_FOOTER_SOLUTION_LINKS } from "@/app/(seo-landings)/seo-landing-footer-links";
import { ProjectLogo } from "@/components/etc/project-logo";
import { GITHUB_URL, TWITTER_URL } from "@/config";
@@ -122,17 +123,25 @@ export function Footer({ links, translations }: FooterProps) {
<p className="text-sm text-slate-700">
© {new Date().getFullYear()} EasyInvoicePDF.com
</p>
- <p className="text-sm text-slate-700">
- {footerCreatedBy}{" "}
- <Link
- href={TWITTER_URL}
- target="_blank"
- rel="noopener noreferrer"
- className="underline hover:text-black"
- >
- Vlad Sazonau
- </Link>
- </p>
+ <div className="flex items-center gap-1.5 text-sm text-slate-700">
+ <a href="/founder">
+ <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>
+ {footerCreatedBy}{" "}
+ <a href="/founder" className="underline hover:text-black">
+ Vlad Sazonau
+ </a>
+ </span>
+ </div>
</div>
</div>
</footer>
diff --git a/src/app/founder/page.tsx b/src/app/founder/page.tsx
index 91e9c20..8e36791 100644
--- a/src/app/founder/page.tsx
+++ b/src/app/founder/page.tsx
@@ -50,9 +50,8 @@ export default function ContactPage() {
</p>
<p className="mx-auto text-center text-lg leading-relaxed text-slate-700">
- I&apos;m a product-minded generalist with 8+ years of experience
- building beautiful, functional products. I enjoy solving complex
- problems at the intersection of engineering and design.
+ I enjoy solving complex problems at the intersection of
+ engineering and design.
</p>
</AnimatedDiv>