Skip to content

Commit 81bb39d

Browse files
committed
fix: apply VT323 font using inline styles for FOSSRadar.in logo
Changed from Tailwind font-logo class to inline style with CSS variable. This ensures VT323 font properly renders on all logo instances. Changes: - Homepage: Use style={{ fontFamily: 'var(--font-vt323)' }} - Radar page: Use style={{ fontFamily: 'var(--font-vt323)' }} - Project pages: Use style={{ fontFamily: 'var(--font-vt323)' }} The VT323 variable is loaded via Next.js Google Fonts optimization and applied to the body element, making it accessible via CSS variable.
1 parent ed54754 commit 81bb39d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function Home() {
3131
<div className="container mx-auto px-4 py-6">
3232
<div className="flex items-center justify-between">
3333
<div>
34-
<h1 className="text-4xl font-logo text-gray-900 dark:text-gray-100 tracking-wider">
34+
<h1 className="text-4xl text-gray-900 dark:text-gray-100 tracking-wider" style={{ fontFamily: 'var(--font-vt323)' }}>
3535
FOSSRadar.in
3636
</h1>
3737
<p className="text-gray-600 dark:text-gray-400 mt-1 text-sm">

app/projects/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default async function ProjectPage({ params }: ProjectPageProps) {
115115
<div className="container mx-auto px-4 py-6">
116116
<div className="flex items-center justify-between">
117117
<Link href="/" className="block">
118-
<h1 className="text-4xl font-logo text-gray-900 dark:text-gray-100 tracking-wider">
118+
<h1 className="text-4xl text-gray-900 dark:text-gray-100 tracking-wider" style={{ fontFamily: 'var(--font-vt323)' }}>
119119
FOSSRadar.in
120120
</h1>
121121
<p className="text-gray-600 dark:text-gray-400 mt-1 text-sm">

app/radar/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function RadarPage() {
5252
<div className="container mx-auto px-4 py-6">
5353
<div className="flex items-center justify-between">
5454
<Link href="/" className="block">
55-
<h1 className="text-4xl font-logo text-gray-900 dark:text-gray-100 tracking-wider">
55+
<h1 className="text-4xl text-gray-900 dark:text-gray-100 tracking-wider" style={{ fontFamily: 'var(--font-vt323)' }}>
5656
FOSSRadar.in
5757
</h1>
5858
<p className="text-gray-600 dark:text-gray-400 mt-1 text-sm">

0 commit comments

Comments
 (0)