Remove new badge from projects

pull/8456/head
Kamran Ahmed 2 weeks ago
parent d2d7e54c74
commit 81bb0bac83
  1. 3
      src/components/Projects/EmptyProjects.tsx
  2. 2
      src/components/RoadmapHeader.astro

@ -1,7 +1,6 @@
import { Bell, Check, FolderKanbanIcon } from 'lucide-react'; import { Bell, Check, FolderKanbanIcon } from 'lucide-react';
import { useEffect, useState } from 'react'; import { useEffect, useState } from 'react';
import { cn } from '../../lib/classname.ts'; import { cn } from '../../lib/classname.ts';
import { Spinner } from '../ReactIcons/Spinner.tsx';
import { isLoggedIn } from '../../lib/jwt.ts'; import { isLoggedIn } from '../../lib/jwt.ts';
import { showLoginPopup } from '../../lib/popup.ts'; import { showLoginPopup } from '../../lib/popup.ts';
@ -15,7 +14,7 @@ export function EmptyProjects() {
}, []); }, []);
return ( 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} /> <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"> <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> <span className="hidden sm:inline">Projects are coming soon!</span>

@ -134,7 +134,7 @@ const roadmapTitle =
icon={FolderKanbanIcon} icon={FolderKanbanIcon}
text='Projects' text='Projects'
isActive={activeTab === 'projects'} isActive={activeTab === 'projects'}
badgeText={projectCount > 0 ? 'new' : 'soon'} badgeText={projectCount > 0 ? '' : 'soon'}
/> />
</div> </div>

Loading…
Cancel
Save