Hard Code of List

This commit is contained in:
Yifei Hu 2024-07-08 16:20:56 +08:00
parent 78738c9282
commit 2ca85ad015
17 changed files with 18943 additions and 1002 deletions

View file

@ -1,7 +1,7 @@
"use client";
import { cn } from "@/lib/utils";
import { BookOpenText, Home, Search, SquarePen, Settings } from "lucide-react";
import { BookOpenText, Home, Search, SquarePen, Settings, Rss } from "lucide-react";
import Link from "next/link";
import { useSelectedLayoutSegments } from "next/navigation";
import React, { useState, type ReactNode } from "react";
@ -36,6 +36,12 @@ const Sidebar = ({ children }: { children: React.ReactNode }) => {
active: segments.includes("library"),
label: "Library",
},
{
icon: Rss,
href: "/news",
active: segments.includes("news"),
label: "News",
},
];
return (