feat: implement homepage blocks, animations and sticky whatsapp CTA

This commit is contained in:
MichalC
2026-08-31 23:04:48 +02:00
parent d728108b3e
commit 0a1e74dbe4
26 changed files with 1056 additions and 43 deletions
+19
View File
@@ -0,0 +1,19 @@
import type { Block } from 'payload'
export const Hero: Block = {
slug: 'hero',
fields: [
{ name: 'title', type: 'text', required: true, localized: true },
{ name: 'subtitle', type: 'text', required: true, localized: true },
{ name: 'primaryCta', type: 'text', required: true, localized: true },
{
name: 'secondaryCta',
type: 'group',
fields: [
{ name: 'text', type: 'text', localized: true },
{ name: 'url', type: 'text' },
],
},
{ name: 'yearsOfExperience', type: 'text', localized: true },
],
}