generated from muhtadeetaron/nextjs-template
fix(nav): improve redirection logic
This commit is contained in:
@ -8,6 +8,7 @@ import BackgroundWrapper from "@/components/BackgroundWrapper";
|
||||
import { API_URL, getToken } from "@/lib/auth";
|
||||
import { Loader, RefreshCw, Star, StarHalf } from "lucide-react";
|
||||
import { useAuthStore } from "@/stores/authStore";
|
||||
import { FaStar } from "react-icons/fa";
|
||||
|
||||
type Subject = {
|
||||
subject_id: string;
|
||||
@ -110,11 +111,11 @@ export default function PaperScreen() {
|
||||
className="w-full border-1 border-[#B0C2DA] py-4 rounded-[10px] px-6 space-y-2 text-left hover:bg-gray-50 transition-colors"
|
||||
>
|
||||
<h3 className="text-xl font-medium">{subject.name}</h3>
|
||||
<p className="text-md font-normal flex">
|
||||
<Star size={17} />
|
||||
<Star size={17} />
|
||||
<Star size={17} />
|
||||
<Star size={17} />
|
||||
<p className="text-xl font-medium text-[#113768] flex items-center gap-1">
|
||||
<FaStar size={15} />
|
||||
<FaStar size={15} />
|
||||
<FaStar size={15} />
|
||||
<FaStar size={15} />
|
||||
</p>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user