Apply the public site UI checklist.
Align header, footer, brand, homepage course preview, faculty links, and the course catalog with the documented changes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
8886aa8640
commit
de800d27b1
139 files changed
+3311
-1547
No files matched your search
@@ -20,7 +20,7 @@ export function ProgramCard({
|
||||
className?: string;
|
||||
}) {
|
||||
return (
|
||||
<Card className={cn("group h-full gap-2 border-border/70 py-6 shadow-sm transition-[box-shadow,border-color] hover:border-primary/25 hover:shadow-lg", className)}>
|
||||
<Card className={cn("group h-full gap-2 py-6 hover:shadow-md hover:ring-primary/25", className)}>
|
||||
<CardHeader className="gap-1">
|
||||
{program.tagline ? (
|
||||
<p className="text-xs font-bold text-primary">{program.tagline}</p>
|
||||
@@ -219,38 +219,6 @@ export function EventCard({
|
||||
);
|
||||
}
|
||||
|
||||
export function StatItem({ value, label }: { value: string; label: string }) {
|
||||
return (
|
||||
<div className="text-center">
|
||||
<p className="text-4xl font-extrabold text-accent">{value}</p>
|
||||
<p className="mt-2 text-sm text-background/70">{label}</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function QuoteBlock({
|
||||
quote,
|
||||
name,
|
||||
role,
|
||||
courseTitle,
|
||||
}: {
|
||||
quote: string;
|
||||
name: string;
|
||||
role: string;
|
||||
courseTitle: string;
|
||||
}) {
|
||||
return (
|
||||
<blockquote className="flex h-full flex-col rounded-xl bg-background/5 p-7 ring-1 ring-background/10">
|
||||
<p className="flex-1 text-sm leading-8 text-background/90">«{quote}»</p>
|
||||
<footer className="mt-7">
|
||||
<p className="font-bold text-background">{name}</p>
|
||||
<p className="mt-0.5 text-sm text-background/55">{role}</p>
|
||||
<p className="mt-2 text-xs font-semibold text-accent">{courseTitle}</p>
|
||||
</footer>
|
||||
</blockquote>
|
||||
);
|
||||
}
|
||||
|
||||
export function IntersectionCard({
|
||||
title,
|
||||
description,
|
||||
|
||||
Reference in new issue
Block a user