initial commit

This commit is contained in:
2026-04-03 18:25:54 +01:00
commit 17e26fc87f
35 changed files with 4716 additions and 0 deletions

9
app/settings/layout.tsx Normal file
View File

@@ -0,0 +1,9 @@
export default function layout({ children }: { children: React.ReactNode}){
return <>
<h1>This is a Settings layout \/</h1>
{children}
<h1>This is a Settings layout /\</h1>
</>
}

22
app/settings/page.tsx Normal file
View File

@@ -0,0 +1,22 @@
"use client";
import { UploadButton } from "../../lib/uploadthing";
export default function Home() {
return (
<main className="flex min-h-screen flex-col items-center justify-between p-24">
<UploadButton
endpoint="imageUploader"
onClientUploadComplete={(res) => {
// Do something with the response
console.log("Files: ", res);
alert("Upload Completed");
}}
onUploadError={(error: Error) => {
// Do something with the error.
alert(`ERROR! ${error.message}`);
}}
/>
</main>
);
}