Add Toolbox promo card to student dashboard (Мои курсы)
Entry point into /tools alongside courses, per gate #3 decision. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@ import { redirect } from "next/navigation";
|
||||
import { prisma } from "@/lib/prisma";
|
||||
import Link from "next/link";
|
||||
import { ArchetypeBanner } from "@/components/student/archetype-banner";
|
||||
import { ToolboxPromoCard } from "@/components/tools/ToolboxPromoCard";
|
||||
|
||||
// Продаваемая линейка курсов → лендинг продукта. Курсы из этого списка,
|
||||
// которых нет у студента, показываются на дашборде заблюренными карточками
|
||||
@@ -167,6 +168,10 @@ export default async function StudentDashboard() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="mt-8">
|
||||
<ToolboxPromoCard />
|
||||
</div>
|
||||
|
||||
{locked.length > 0 && (
|
||||
<div className="mt-10">
|
||||
<p className="text-xs font-bold uppercase tracking-widest mb-3" style={{ color: "var(--muted-foreground)" }}>
|
||||
|
||||
Reference in New Issue
Block a user