Ship site UI checklist, move admin to /mstcontroller, and add safe taxonomy label migration.
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Production already has migrations through 008; 009 only updates four seed labels by id. Faculty sync remains upsert-by-email/name and does not wipe curated data. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3eea1c35a6
commit
2b0db26a93
171 files changed
+1477
-807
No files matched your search
@@ -12,13 +12,15 @@ import { SurfaceCard } from "@/components/molecules/SurfaceCard";
|
||||
import { buttonVariants } from "@/components/ui/button";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { getPrograms } from "@/lib/data/programs";
|
||||
import { pageMetadata } from "@/lib/seo/metadata";
|
||||
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
const t = await getTranslations("pages");
|
||||
return {
|
||||
return pageMetadata({
|
||||
title: t("programsTitle"),
|
||||
description: t("programsIntro"),
|
||||
};
|
||||
path: "/programs",
|
||||
});
|
||||
}
|
||||
|
||||
export default async function ProgramsPage() {
|
||||
@@ -29,7 +31,11 @@ export default async function ProgramsPage() {
|
||||
|
||||
return (
|
||||
<main id="main-content">
|
||||
<PageHero title={t("programsTitle")} intro={t("programsIntro")} />
|
||||
<PageHero
|
||||
title={t("programsTitle")}
|
||||
intro={t("programsIntro")}
|
||||
imageUrl="/brand/neural-tree-knowledge.png"
|
||||
/>
|
||||
<Section tone="subtle">
|
||||
<Container className="space-y-16">
|
||||
<ProgramGroup title={t("standardGroup")} items={standard} />
|
||||
@@ -58,7 +64,7 @@ function ProgramGroup({
|
||||
<BadgeLabel className="w-fit">{program.tagline}</BadgeLabel>
|
||||
) : null}
|
||||
<Heading as="h3" level={3} className="mt-3">
|
||||
<Link href={program.href} className="transition-colors hover:text-primary">
|
||||
<Link href={program.href} className="transition-colors hover:text-accent">
|
||||
{program.title}
|
||||
</Link>
|
||||
</Heading>
|
||||
|
||||
Reference in new issue
Block a user