Update share card with fb, whatsapp, download and export date; update CBT and Doubt Forum UI

This commit is contained in:
2026-09-22 20:53:15 +05:30
parent 9705ee96e6
commit 18006c97ac
4 changed files with 73 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
"use client"
import { ReactNode, useState, useEffect, useRef } from "react"
import { BookOpen, LayoutDashboard, Settings, FileText, Activity, LineChart, Trophy, User, ChevronUp, Lock, ShieldAlert, Flame, Target, Gauge, Zap, Calendar, Clock, BrainCircuit, BarChart3, School, CheckSquare } from "lucide-react"
import { BookOpen, LayoutDashboard, Settings, FileText, Activity, LineChart, Trophy, User, ChevronUp, Lock, ShieldAlert, Flame, Target, Gauge, Zap, Calendar, Clock, BrainCircuit, BarChart3, School, CheckSquare, MessageSquare } from "lucide-react"
import Link from "next/link"
import { usePathname } from "next/navigation"
import { LanguageToggle } from "@/components/LanguageToggle"
@@ -145,7 +145,7 @@ export default function DashboardLayout({ children }: { children: ReactNode }) {
<NavItem
section="pro"
href="/dashboard/community"
icon={<School size={17} />}
icon={<MessageSquare size={17} />}
label="Doubt Forum"
active={pathname.startsWith("/dashboard/community")}
isLocked={!hasAccessTo("doubt-resolution-community")}