* wip: implement activity stream * feat: add empty stream * fix: filter empty topic ids * fix: update progress group * fix: update icon * feat: add topic titles * fix: update topic title * fix: update http call * Redesign activity stream * Add activity stream --------- Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
32 lines
1017 B
TypeScript
32 lines
1017 B
TypeScript
import { List } from 'lucide-react';
|
|
|
|
export function EmptyStream() {
|
|
return (
|
|
<div className="rounded-md">
|
|
<div className="flex flex-col items-center p-7 text-center">
|
|
<List className="mb-2 h-[60px] w-[60px] opacity-10 sm:h-[120px] sm:w-[120px]" />
|
|
|
|
<h2 className="text-lg font-bold sm:text-xl">No Activities</h2>
|
|
<p className="my-1 max-w-[400px] text-balance text-sm text-gray-500 sm:my-2 sm:text-base">
|
|
Activities will appear here as you start tracking your
|
|
<a href="/roadmaps" className="mt-4 text-blue-500 hover:underline">
|
|
Roadmaps
|
|
</a>
|
|
,
|
|
<a
|
|
href="/best-practices"
|
|
className="mt-4 text-blue-500 hover:underline"
|
|
>
|
|
Best Practices
|
|
</a>
|
|
or
|
|
<a href="/questions" className="mt-4 text-blue-500 hover:underline">
|
|
Questions
|
|
</a>
|
|
progress.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|