formatting

This commit is contained in:
2025-12-06 14:15:18 +01:00
parent 21a8c95a2b
commit cd2179f7a0
5 changed files with 15 additions and 16 deletions

View File

@@ -1,22 +1,22 @@
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
import { Card, CardContent } from "@/components/ui/card"; import { Card, CardContent } from '@/components/ui/card';
export function AuthorBio() { export function AuthorBio() {
return ( return (
<Card className="mt-12 bg-muted/50"> <Card className="bg-muted/50 mt-12">
<CardContent className="flex items-center gap-4 p-6"> <CardContent className="flex items-center gap-4 p-6">
<Avatar className="h-16 w-16 border-2 border-background"> <Avatar className="border-background h-16 w-16 border-2">
<AvatarImage src="/images/author-profile.jpg" alt="Author" /> <AvatarImage src="/images/author-profile.jpg" alt="Author" />
<AvatarFallback>IF</AvatarFallback> <AvatarFallback>IF</AvatarFallback>
</Avatar> </Avatar>
<div> <div>
<p className="text-sm font-semibold">Written by The InvestingFIRE Team</p> <p className="text-sm font-semibold">Written by The InvestingFIRE Team</p>
<p className="text-sm text-muted-foreground"> <p className="text-muted-foreground text-sm">
We are a group of financial data enthusiasts and early retirees dedicated to building the most accurate FIRE tools on the web. Our goal is to replace guesswork with math. We are a group of financial data enthusiasts and early retirees dedicated to building the
most accurate FIRE tools on the web. Our goal is to replace guesswork with math.
</p> </p>
</div> </div>
</CardContent> </CardContent>
</Card> </Card>
); );
} }

View File

@@ -11,7 +11,6 @@ export const metadata = {
export default function LearnHubPage() { export default function LearnHubPage() {
return ( return (
<div className="container mx-auto max-w-4xl px-4 py-12"> <div className="container mx-auto max-w-4xl px-4 py-12">
<div className="mb-12 text-center"> <div className="mb-12 text-center">
<h1 className="mb-4 text-4xl font-extrabold tracking-tight lg:text-5xl">FIRE Knowledge Base</h1> <h1 className="mb-4 text-4xl font-extrabold tracking-tight lg:text-5xl">FIRE Knowledge Base</h1>
<p className="text-muted-foreground text-xl"> <p className="text-muted-foreground text-xl">
@@ -26,7 +25,7 @@ export default function LearnHubPage() {
<BlurThing /> <BlurThing />
<CardHeader> <CardHeader>
<div className="mb-2"> <div className="mb-2">
<span className="rounded-full bg-green-100 px-2.5 py-0.5 text-xs font-medium text-green-800 "> <span className="rounded-full bg-green-100 px-2.5 py-0.5 text-xs font-medium text-green-800">
Beginner Beginner
</span> </span>
</div> </div>
@@ -52,7 +51,7 @@ export default function LearnHubPage() {
<Card className="hover:border-primary/50 h-full cursor-pointer border-2"> <Card className="hover:border-primary/50 h-full cursor-pointer border-2">
<CardHeader> <CardHeader>
<div className="mb-2"> <div className="mb-2">
<span className="rounded-full bg-blue-100 px-2.5 py-0.5 text-xs font-medium text-blue-800 "> <span className="rounded-full bg-blue-100 px-2.5 py-0.5 text-xs font-medium text-blue-800">
Strategy Strategy
</span> </span>
</div> </div>
@@ -76,7 +75,7 @@ export default function LearnHubPage() {
<Card className="hover:border-primary/50 h-full cursor-pointer border-2"> <Card className="hover:border-primary/50 h-full cursor-pointer border-2">
<CardHeader> <CardHeader>
<div className="mb-2"> <div className="mb-2">
<span className="rounded-full bg-purple-100 px-2.5 py-0.5 text-xs font-medium text-purple-800 "> <span className="rounded-full bg-purple-100 px-2.5 py-0.5 text-xs font-medium text-purple-800">
Comparison Comparison
</span> </span>
</div> </div>

View File

@@ -1,12 +1,12 @@
import { BASE_URL } from "@/lib/constants"; import { BASE_URL } from '@/lib/constants';
import { type MetadataRoute } from "next"; import { type MetadataRoute } from 'next';
export default function sitemap(): MetadataRoute.Sitemap { export default function sitemap(): MetadataRoute.Sitemap {
return [ return [
{ {
url: BASE_URL, url: BASE_URL,
lastModified: new Date(), lastModified: new Date(),
changeFrequency: "yearly", changeFrequency: 'yearly',
priority: 1, priority: 1,
}, },
]; ];

View File

@@ -8,7 +8,7 @@ function Input({ className, type, ...props }: React.ComponentProps<'input'>) {
type={type} type={type}
data-slot="input" data-slot="input"
className={cn( className={cn(
'z-30 file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground border-input bg-background flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm', 'file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground border-input bg-background z-30 flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]', 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',
'aria-invalid:ring-destructive/20 aria-invalid:border-destructive', 'aria-invalid:ring-destructive/20 aria-invalid:border-destructive',
className, className,

View File

@@ -31,7 +31,7 @@ function SelectTrigger({
data-slot="select-trigger" data-slot="select-trigger"
data-size={size} data-size={size}
className={cn( className={cn(
"z-30 border-input data-placeholder:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 aria-invalid:border-destructive bg-background flex w-fit items-center justify-between gap-2 rounded-md border px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "border-input data-placeholder:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 aria-invalid:border-destructive bg-background z-30 flex w-fit items-center justify-between gap-2 rounded-md border px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className, className,
)} )}
{...props} {...props}