initial commit after project creation

This commit is contained in:
Gerhard Scheikl
2026-04-01 09:38:50 +02:00
commit b02af637d4
292 changed files with 61408 additions and 0 deletions

33
tina/config.ts Normal file
View File

@@ -0,0 +1,33 @@
import { defineConfig } from "tinacms";
import { schema } from "./schema";
export const config = defineConfig({
telemetry: 'disabled',
schema,
clientId: process.env.NEXT_PUBLIC_TINA_CLIENT_ID,
branch:
process.env.NEXT_PUBLIC_TINA_BRANCH || // custom branch env override
process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF || // Vercel branch env
process.env.HEAD, // Netlify branch env
token: process.env.TINA_TOKEN,
media: {
// If you wanted cloudinary do this
// loadCustomStore: async () => {
// const pack = await import("next-tinacms-cloudinary");
// return pack.TinaCloudCloudinaryMediaStore;
// },
// this is the config for the tina cloud media store
tina: {
publicFolder: "public",
mediaRoot: "",
},
accept: ["image/*", "video/*", "application/json", ".json"],
},
build: {
publicFolder: "public", // The public asset folder for your framework
outputFolder: "admin", // within the public folder
basePath: process.env.TINA_BASE_PATH || "",
},
});
export default config;