added dashboard + sorting functionality done partially

This commit is contained in:
Daniel
2023-05-14 19:11:08 +03:30
parent d5c9e7aaf3
commit 9010627997
14 changed files with 518 additions and 61 deletions
+3 -3
View File
@@ -22,7 +22,7 @@ import {
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { useRouter } from "next/router";
import { useEffect, useState } from "react";
import Dashboard from "@/layouts/Dashboard";
import MainLayout from "@/layouts/MainLayout";
export default function () {
const router = useRouter();
@@ -62,7 +62,7 @@ export default function () {
}, [links, router, collections]);
return (
<Dashboard>
<MainLayout>
<div className="p-5 flex flex-col gap-5 w-full">
<div className="flex gap-3 items-center">
<div className="flex gap-2 items-center">
@@ -146,6 +146,6 @@ export default function () {
return <LinkList key={i} link={e} count={i} />;
})}
</div>
</Dashboard>
</MainLayout>
);
}