implemented file upload for attachments

This commit is contained in:
2024-06-11 02:23:22 +02:00
parent e841ba8938
commit 86eb422dd5
23 changed files with 332 additions and 147 deletions
+2 -6
View File
@@ -1,7 +1,7 @@
'use server'
import { getCookieAuth } from "@/app/lib/actions";
import { getCookieAuth } from "@/app/lib/actions/actions";
import AuthHandler from "@/components/server/admin/authHandler";
import Sidebar from "@/components/server/admin/views/sidebar";
import Sidebar, { SidebarEntry } from "@/components/server/admin/views/sidebar";
import { cookies } from "next/headers";
import PostView from "@/components/server/admin/views/PostView";
import { ReactNode } from "react";
@@ -12,10 +12,6 @@ type Props = {
};
}
export type SidebarEntry = {
label:string;
view:string;
}
function Home(){