nicer timeline

This commit is contained in:
Jakub Dorfman 2026-05-20 18:11:22 +02:00
parent 7aeb1954b2
commit 1b94a13d7e
3 changed files with 16 additions and 14 deletions

View file

@ -22,7 +22,7 @@ export function createBlock(type: BlockType): ContentBlock {
base.data = { url: '', alt: '', content: '<h2>Image and text</h2><p>Add content here.</p>', imagePosition: 'left' };
break;
case 'timeline':
base.data = { items: [{ year: '2026', title: 'Milestone', description: 'Describe this moment.' }] };
base.data = { items: [{ title: 'Milestone', description: 'Describe this moment.' }] };
break;
case 'hero':
base.data = {