2024-01-18 10:19:54 +00:00
|
|
|
import Image from "next/image";
|
|
|
|
import { useTheme } from "next-themes";
|
|
|
|
// assets
|
|
|
|
import DarkImage from "public/empty-state/dashboard/dark/recent-activity.svg";
|
|
|
|
import LightImage from "public/empty-state/dashboard/light/recent-activity.svg";
|
|
|
|
|
2024-01-24 14:11:02 +00:00
|
|
|
export const RecentActivityEmptyState = () => {
|
2024-01-18 10:19:54 +00:00
|
|
|
// next-themes
|
|
|
|
const { resolvedTheme } = useTheme();
|
|
|
|
|
2024-01-24 14:11:02 +00:00
|
|
|
const image = resolvedTheme === "dark" ? DarkImage : LightImage;
|
|
|
|
|
2024-01-18 10:19:54 +00:00
|
|
|
return (
|
2024-01-24 14:11:02 +00:00
|
|
|
<div className="text-center space-y-6 flex flex-col items-center">
|
|
|
|
<div className="h-24 w-24">
|
|
|
|
<Image src={image} className="w-full h-full" alt="Issues by state group" />
|
|
|
|
</div>
|
2024-01-18 10:19:54 +00:00
|
|
|
<p className="text-sm font-medium text-custom-text-300">
|
2024-01-24 14:11:02 +00:00
|
|
|
All your issue activities across
|
2024-01-18 10:19:54 +00:00
|
|
|
<br />
|
2024-01-24 14:11:02 +00:00
|
|
|
projects will show up here.
|
2024-01-18 10:19:54 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|