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:
2026-06-23 16:00:58 +05:00
parent b6d555ab3b
commit 1aa99b9def
2 changed files with 31 additions and 0 deletions
+5
View File
@@ -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)" }}>