improved user experience

This commit is contained in:
daniel31x13
2023-10-24 17:03:33 -04:00
parent cb8c2d5f10
commit c38c5b2cc5
5 changed files with 82 additions and 25 deletions
+10 -2
View File
@@ -6,6 +6,7 @@ import {
faChartSimple,
faChevronDown,
faLink,
faGlobe,
} from "@fortawesome/free-solid-svg-icons";
import useTagStore from "@/store/tags";
import Link from "next/link";
@@ -151,10 +152,17 @@ export default function Sidebar({ className }: { className?: string }) {
className="w-6 h-6 drop-shadow"
style={{ color: e.color }}
/>
<p className="text-black dark:text-white truncate w-full pr-7">
<p className="text-black dark:text-white truncate w-full">
{e.name}
</p>
{e.isPublic ? (
<FontAwesomeIcon
icon={faGlobe}
title="This collection is being shared publicly."
className="w-4 h-4 drop-shadow text-gray-500 dark:text-gray-300"
/>
) : undefined}
</div>
</Link>
);