improved UI

This commit is contained in:
Daniel
2023-06-01 06:13:42 +03:30
parent a4e2dfee56
commit 185d0f4f98
6 changed files with 49 additions and 75 deletions
+6 -4
View File
@@ -52,12 +52,14 @@ export default function Links() {
<MainLayout>
<div className="p-5 flex flex-col gap-5 w-full">
<div className="flex gap-3 justify-between items-center">
<div className="flex gap-2 items-center">
<div className="flex gap-2">
<FontAwesomeIcon
icon={faBookmark}
className="w-5 h-5 text-sky-300"
className="sm:w-8 sm:h-8 w-6 h-6 mt-2 text-sky-300"
/>
<p className="text-lg text-sky-900">All Links</p>
<p className="sm:text-4xl text-3xl capitalize bg-gradient-to-tr from-sky-500 to-slate-400 bg-clip-text text-transparent font-bold">
All Links
</p>
</div>
<div className="relative">
@@ -75,7 +77,7 @@ export default function Links() {
{sortDropdown ? (
<SortLinkDropdown
handleSortChange={(e) => setSortBy(e.target.value)}
handleSortChange={handleSortChange}
sortBy={sortBy}
toggleSortDropdown={() => setSortDropdown(!sortDropdown)}
/>