Changes
Co-authored-by: yusuf-intern <248833874+yusuf-intern@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { createFileRoute, Link } from "@tanstack/react-router";
|
||||
import { Link } from "@tanstack/react-router";
|
||||
import { ArrowUpRight, type LucideIcon } from "lucide-react";
|
||||
|
||||
export function PageHero({ eyebrow, title, lede }: { eyebrow: string; title: string; lede?: string }) {
|
||||
@@ -6,9 +6,7 @@ export function PageHero({ eyebrow, title, lede }: { eyebrow: string; title: str
|
||||
<section className="border-b">
|
||||
<div className="container-page py-20">
|
||||
<div className="text-xs uppercase tracking-[0.25em] text-brand-blue font-semibold">{eyebrow}</div>
|
||||
<h1 className="mt-4 font-display text-5xl md:text-6xl font-black leading-[1]">
|
||||
{title}
|
||||
</h1>
|
||||
<h1 className="mt-4 font-display text-5xl md:text-6xl font-black leading-[1]">{title}</h1>
|
||||
{lede && <p className="mt-6 max-w-2xl text-lg text-muted-foreground">{lede}</p>}
|
||||
</div>
|
||||
</section>
|
||||
@@ -26,7 +24,7 @@ export function FeatureRow({ img, title, body, reverse, Icon }: { img: string; t
|
||||
<div>
|
||||
{Icon && <Icon className="h-6 w-6 text-brand-red" />}
|
||||
<h3 className="mt-4 font-display text-3xl font-black">{title}</h3>
|
||||
<p className="mt-4 text-muted-foreground">{body}</p>
|
||||
<p className="mt-4 text-muted-foreground whitespace-pre-line">{body}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
@@ -47,6 +45,3 @@ export function CTA() {
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
// Dummy export so this file is treated as a module but not a route.
|
||||
export const Route = createFileRoute("/_shared")({ component: () => null });
|
||||
|
||||
Reference in New Issue
Block a user