design: limit semester buttons filter to All, 1st Sem, and 2nd Sem

This commit is contained in:
Amudieshwar A G
2026-07-23 22:58:20 +05:30
parent 8106d2b279
commit b44365543d

View File

@@ -1949,7 +1949,7 @@ export default function Notes() {
{/* Semester Filter */} {/* Semester Filter */}
<div className="flex gap-2 flex-wrap items-center"> <div className="flex gap-2 flex-wrap items-center">
{SEMESTERS.slice(0, 5).map((sem) => ( {SEMESTERS.slice(0, 3).map((sem) => (
<button <button
key={sem} key={sem}
onClick={() => { setSelectedSem(sem); setSelectedSubject('All Subjects'); }} onClick={() => { setSelectedSem(sem); setSelectedSubject('All Subjects'); }}