progress: breadcrumbs fixation, submission task fixation and add new UI after submitted, Certificates change layout and new page (Certificate List)

This commit is contained in:
Kemas M. Aryadary Rasyad
2026-06-16 14:50:31 +07:00
parent 8b20c11822
commit f9bb21a961
23 changed files with 549 additions and 234 deletions
@@ -1,5 +1,7 @@
import { useNavigate } from 'react-router-dom'
const toSlug = (name: string) => name.toLowerCase().replace(/\s+/g, '-');
interface ProjectCardProps {
id: number | string
name: string
@@ -12,7 +14,6 @@ interface ProjectCardProps {
}
const ProjectCard = ({
id,
name,
mentor,
avatarUrl,
@@ -65,7 +66,7 @@ const ProjectCard = ({
{/* Button */}
<div className="flex items-end justify-end px-3 pb-1">
<button
onClick={() => navigate(`/intern/projects/${id}`)}
onClick={() => navigate(`/intern/projects/${toSlug(name)}`)}
className="bg-red-600 hover:bg-red-700 text-white text-xs font-medium py-1.5 px-3 rounded-xl transition-colors"
>
View Project