Added tag support + Post link and many more changes and optimizations.

This commit is contained in:
Daniel
2023-02-24 21:02:28 +03:30
parent e0f4c71eb2
commit 9b53608097
36 changed files with 1062 additions and 176 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ interface Props {
children: ReactNode;
}
export default function Layout({ children }: Props) {
export default function ({ children }: Props) {
const { status } = useSession();
const router = useRouter();
const redirection = useRedirection();
@@ -29,7 +29,7 @@ export default function Layout({ children }: Props) {
<link rel="icon" href="/favicon.ico" />
</Head>
<Sidebar />
<div className="ml-80 w-full">
<div className="ml-80">
<Navbar />
{children}
</div>