mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-03-12 17:51:53 +08:00
Remove new badge from projects
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { Bell, Check, FolderKanbanIcon } from 'lucide-react';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { cn } from '../../lib/classname.ts';
|
||||
import { Spinner } from '../ReactIcons/Spinner.tsx';
|
||||
import { isLoggedIn } from '../../lib/jwt.ts';
|
||||
import { showLoginPopup } from '../../lib/popup.ts';
|
||||
|
||||
@@ -15,7 +14,7 @@ export function EmptyProjects() {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className="relative my-2.5 flex min-h-[400px] flex-col items-center justify-center rounded-lg border bg-white">
|
||||
<div className="relative mt-2.5 mb-5 flex min-h-[400px] flex-col items-center justify-center rounded-lg border bg-white">
|
||||
<FolderKanbanIcon className="h-14 w-14 text-gray-300" strokeWidth={1.5} />
|
||||
<h2 className="mb-0.5 mt-2 text-center text-base font-medium text-gray-900 sm:text-xl">
|
||||
<span className="hidden sm:inline">Projects are coming soon!</span>
|
||||
|
||||
@@ -134,7 +134,7 @@ const roadmapTitle =
|
||||
icon={FolderKanbanIcon}
|
||||
text='Projects'
|
||||
isActive={activeTab === 'projects'}
|
||||
badgeText={projectCount > 0 ? 'new' : 'soon'}
|
||||
badgeText={projectCount > 0 ? '' : 'soon'}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user