visual improvements

This commit is contained in:
2025-12-06 01:29:08 +01:00
parent fde6a3b7bf
commit 91dadaedaa
4 changed files with 8 additions and 18 deletions

View File

@@ -129,7 +129,7 @@ export default function MultiIconPattern({ opacity = 0.2, spacing = 160 }) {
const IconComponent = iconComponents[randomIndex]; const IconComponent = iconComponents[randomIndex];
// Slightly randomize size and position for more organic feel // Slightly randomize size and position for more organic feel
const size = 28 + Math.floor(Math.random() * 8); const size = 30 + Math.floor(Math.random() * 8);
const xOffset = Math.floor(Math.random() * (spacing / 1.618)); const xOffset = Math.floor(Math.random() * (spacing / 1.618));
const yOffset = Math.floor(Math.random() * (spacing / 1.618)); const yOffset = Math.floor(Math.random() * (spacing / 1.618));
const rotation = Math.round((Math.random() - 0.5) * 30); const rotation = Math.round((Math.random() - 0.5) * 30);
@@ -138,7 +138,8 @@ export default function MultiIconPattern({ opacity = 0.2, spacing = 160 }) {
<IconComponent <IconComponent
key={`icon-${String(x)}-${String(y)}`} key={`icon-${String(x)}-${String(y)}`}
size={size} size={size}
className="text-primary fixed" className="text-primary/30 fixed"
strokeWidth={2.5}
style={{ style={{
left: `${String(x * spacing + xOffset)}px`, left: `${String(x * spacing + xOffset)}px`,
top: `${String(y * spacing + yOffset)}px`, top: `${String(y * spacing + yOffset)}px`,

View File

@@ -17,12 +17,12 @@ import { Button } from '@/components/ui/button';
export function Navbar() { export function Navbar() {
return ( return (
<header className="bg-background/90 supports-[backdrop-filter]:bg-background/70 sticky top-0 z-50 w-full border-b backdrop-blur"> <header className="md:bg-background/90 md:supports-[backdrop-filter]:bg-background/70 sticky top-0 z-50 w-full md:border-b md:backdrop-blur">
<div className="container flex h-16 items-center justify-between px-4 md:px-6"> <div className="container flex h-16 items-center justify-between px-4 md:px-6">
<div className="mr-4 hidden items-center gap-6 md:flex"> <div className="mr-4 hidden items-center gap-6 md:flex">
<Link <Link
href="/" href="/"
className="hover:bg-primary/10 flex items-center gap-2 rounded-full px-2 py-1 transition-colors" className="hover:bg-primary/10 flex items-center gap-2 rounded-md px-2 py-1 transition-colors"
> >
<Image <Image
src="/investingfire_logo_no-bg.svg" src="/investingfire_logo_no-bg.svg"
@@ -137,14 +137,6 @@ export function Navbar() {
</SheetContent> </SheetContent>
</Sheet> </Sheet>
{/* Mobile brand in center */}
<div className="flex flex-1 items-center justify-center md:hidden">
<Link href="/" className="flex items-center gap-2">
<Image src="/investingfire_logo_no-bg.svg" alt="InvestingFIRE" width={24} height={24} />
<span className="text-sm font-bold">InvestingFIRE</span>
</Link>
</div>
<div className="flex flex-1 items-center justify-end space-x-2 md:flex-none"> <div className="flex flex-1 items-center justify-end space-x-2 md:flex-none">
{/* Future: Theme Toggle, GitHub Link etc */} {/* Future: Theme Toggle, GitHub Link etc */}
</div> </div>

View File

@@ -94,7 +94,8 @@ export default function WhatIsFirePage() {
<h2>The 3 Pillars of FIRE</h2> <h2>The 3 Pillars of FIRE</h2>
<p>To achieve financial independence, you need to optimize three levers:</p> <p>To achieve financial independence, you need to optimize three levers:</p>
<ol>
<ol className="mb-8 list-inside list-decimal space-y-2">
<li> <li>
<strong>Spend Less (Frugality):</strong> Cutting unnecessary costs is the most powerful lever <strong>Spend Less (Frugality):</strong> Cutting unnecessary costs is the most powerful lever
because it has a double effect: it increases your savings <em>and</em> lowers the amount you because it has a double effect: it increases your savings <em>and</em> lowers the amount you
@@ -157,8 +158,6 @@ export default function WhatIsFirePage() {
</li> </li>
</ul> </ul>
<Separator className="my-8" />
<h2>Why {new Date().getFullYear().toString()} Changes Things</h2> <h2>Why {new Date().getFullYear().toString()} Changes Things</h2>
<p> <p>
In {new Date().getFullYear().toString()}, we face unique challenges: higher inflation than the In {new Date().getFullYear().toString()}, we face unique challenges: higher inflation than the

View File

@@ -81,9 +81,7 @@ export default function HomePage() {
<span className="bg-primary/15 text-primary rounded-full px-4 py-2 text-xs font-semibold tracking-wide uppercase shadow-sm"> <span className="bg-primary/15 text-primary rounded-full px-4 py-2 text-xs font-semibold tracking-wide uppercase shadow-sm">
100% free built for educational use 100% free built for educational use
</span> </span>
<p className="text-primary-foreground/90 text-xl font-semibold md:text-2xl"> <p className="text-foreground/90 text-xl font-semibold md:text-2xl">The #1 FIRE Calculator</p>
The #1 FIRE Calculator
</p>
<p className="text-foreground/80 max-w-2xl text-base text-balance md:text-lg"> <p className="text-foreground/80 max-w-2xl text-base text-balance md:text-lg">
Plan your path to financial independence with transparent mathad-free and built to teach you Plan your path to financial independence with transparent mathad-free and built to teach you
how FIRE works. how FIRE works.