import { defineConfig } from 'tinacms';
import { schema } from './schema';

export default defineConfig({
  schema,
  ui: {
    navigation: {
      'content/posts': { label: 'Posts' },
      'content/pages': { label: 'Pages' },
    },
  },
  media: {
    tina: {
      publicFolder: 'public',
      mediaRoot: 'uploads',
    },
  },
});