import { AboutBannerEditor, AboutGalleryEditor, AboutHeroEditor, AboutStoryEditor } from '@/components/content/about-editor';
import { BlockPicker } from '@/components/content/block-picker';
import { Stack, Text, Title } from '@mantine/core';

export default function Page() {
  return (
    <Stack gap="xl">
      <Stack gap="sm">
        <Text c="var(--mantine-color-orange-deep)" fw={700} size="xs" tt="uppercase">
          Páginas internas
        </Text>
        <Title order={1} size="h2">
          A Hidrotintas
        </Title>
        <Text c="var(--mantine-color-muted)" maw={680} size="md">
          Escolha um bloco para editar.
        </Text>
      </Stack>
      <BlockPicker
        blocks={[
          { title: 'Banner', editor: <AboutHeroEditor /> },
          { title: 'Bloco - Compromisso e excelência', editor: <AboutStoryEditor /> },
          { title: 'Bloco - Cada Cor uma História', editor: <AboutBannerEditor /> },
          { title: 'Bloco - Galeria', editor: <AboutGalleryEditor /> },
        ]}
      />
    </Stack>
  );
}
