restructuring file storage service

This commit is contained in:
2024-09-20 11:34:47 -06:00
parent 6e0526ee08
commit 6fdba7506f
13 changed files with 276 additions and 253 deletions

View File

@@ -24,15 +24,15 @@ export default async function RootLayout({
<html lang="en">
<head></head>
<body className="flex justify-center">
<div className="bg-slate-900 h-screen p-1 text-slate-300 w-full">
<MyToaster />
<Suspense>
<Providers>
<HydrationBoundary state={dehydratedState}>
{children}
</HydrationBoundary>
</Providers>
</Suspense>
<div className="bg-slate-900 h-screen text-slate-300 w-full p-1">
<MyToaster />
<Suspense>
<Providers>
<HydrationBoundary state={dehydratedState}>
{children}
</HydrationBoundary>
</Providers>
</Suspense>
</div>
</body>
</html>

View File

@@ -155,6 +155,7 @@ function OtherSettings({
label={"Storage Folder"}
options={emptyDirectories}
getOptionName={(d) => d}
emptyOptionText="--- add a new folder to your docker compose to add more folders ---"
/>
<div>
New folders will not be created automatically, you are expected to mount

View File

@@ -3,7 +3,7 @@ import AddNewCourse from "./newCourse/AddNewCourse";
export default async function Home() {
return (
<main className="min-h-screen flex justify-center">
<main className="min-h-0 flex justify-center">
<div>
<CourseList />
<br />