fix(ui): change tab names
fix(api): change api url
This commit is contained in:
@ -1,5 +1,13 @@
|
||||
import { Outlet, NavLink, useNavigate } from "react-router-dom";
|
||||
import { Home, BookOpen, TrendingUp, Award, User, Menu } from "lucide-react";
|
||||
import {
|
||||
Home,
|
||||
BookOpen,
|
||||
TrendingUp,
|
||||
Award,
|
||||
User,
|
||||
Menu,
|
||||
Video,
|
||||
} from "lucide-react";
|
||||
import { useAuthStore } from "../../stores/authStore";
|
||||
|
||||
export function StudentLayout() {
|
||||
@ -14,8 +22,8 @@ export function StudentLayout() {
|
||||
|
||||
const navItems = [
|
||||
{ to: "/student/home", icon: Home, label: "Home" },
|
||||
{ to: "/student/practice", icon: BookOpen, label: "Practice" },
|
||||
{ to: "/student/progress", icon: TrendingUp, label: "Progress" },
|
||||
{ to: "/student/drills", icon: BookOpen, label: "Drills" },
|
||||
{ to: "/student/lessons", icon: Video, label: "Lessons" },
|
||||
{ to: "/student/rewards", icon: Award, label: "Rewards" },
|
||||
{ to: "/student/profile", icon: User, label: "Profile" },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user