From 8d9e8a489b75189325d6d281d07c05d7d0342b49 Mon Sep 17 00:00:00 2001 From: Zotov Ivan Yuryevich Date: Sun, 3 May 2026 18:43:52 +0300 Subject: [PATCH] feat: add anchore to sections --- src/components/sections/about.json | 3 +++ src/components/sections/cases.json | 3 +++ src/components/sections/home-hero.json | 3 +++ src/components/sections/services.json | 3 +++ src/components/sections/solutions.json | 3 +++ types/generated/components.d.ts | 5 +++++ 6 files changed, 20 insertions(+) diff --git a/src/components/sections/about.json b/src/components/sections/about.json index 4de1359..a2b51a2 100644 --- a/src/components/sections/about.json +++ b/src/components/sections/about.json @@ -11,6 +11,9 @@ "description": { "type": "text" }, + "anchor": { + "type": "string" + }, "partners": { "type": "component", "component": "shared.string", diff --git a/src/components/sections/cases.json b/src/components/sections/cases.json index 875a0b1..b1b5d10 100644 --- a/src/components/sections/cases.json +++ b/src/components/sections/cases.json @@ -11,6 +11,9 @@ "description": { "type": "string" }, + "anchor": { + "type": "string" + }, "cards": { "type": "component", "component": "cards.case", diff --git a/src/components/sections/home-hero.json b/src/components/sections/home-hero.json index 13690c5..07130ac 100644 --- a/src/components/sections/home-hero.json +++ b/src/components/sections/home-hero.json @@ -14,6 +14,9 @@ "badge": { "type": "string" }, + "anchor": { + "type": "string" + }, "stats": { "type": "component", "component": "shared.attribute", diff --git a/src/components/sections/services.json b/src/components/sections/services.json index 3d23e6d..b64dda2 100644 --- a/src/components/sections/services.json +++ b/src/components/sections/services.json @@ -11,6 +11,9 @@ "description": { "type": "string" }, + "anchor": { + "type": "string" + }, "cards": { "type": "component", "component": "cards.service", diff --git a/src/components/sections/solutions.json b/src/components/sections/solutions.json index 8300601..daa6801 100644 --- a/src/components/sections/solutions.json +++ b/src/components/sections/solutions.json @@ -11,6 +11,9 @@ "description": { "type": "text" }, + "anchor": { + "type": "string" + }, "cards": { "type": "component", "component": "cards.solution", diff --git a/types/generated/components.d.ts b/types/generated/components.d.ts index 609d928..bf62bfa 100644 --- a/types/generated/components.d.ts +++ b/types/generated/components.d.ts @@ -63,6 +63,7 @@ export interface SectionsAbout extends Struct.ComponentSchema { displayName: 'About'; }; attributes: { + anchor: Schema.Attribute.String; cards: Schema.Attribute.Component<'cards.advantage', true>; description: Schema.Attribute.Text; partners: Schema.Attribute.Component<'shared.string', true>; @@ -76,6 +77,7 @@ export interface SectionsCases extends Struct.ComponentSchema { displayName: 'Cases'; }; attributes: { + anchor: Schema.Attribute.String; cards: Schema.Attribute.Component<'cards.case', true>; description: Schema.Attribute.String; title: Schema.Attribute.String; @@ -88,6 +90,7 @@ export interface SectionsHomeHero extends Struct.ComponentSchema { displayName: 'HomeHero'; }; attributes: { + anchor: Schema.Attribute.String; badge: Schema.Attribute.String; description: Schema.Attribute.Text; stats: Schema.Attribute.Component<'shared.attribute', true>; @@ -101,6 +104,7 @@ export interface SectionsServices extends Struct.ComponentSchema { displayName: 'Services'; }; attributes: { + anchor: Schema.Attribute.String; cards: Schema.Attribute.Component<'cards.service', true>; description: Schema.Attribute.String; title: Schema.Attribute.String; @@ -113,6 +117,7 @@ export interface SectionsSolutions extends Struct.ComponentSchema { displayName: 'Solutions'; }; attributes: { + anchor: Schema.Attribute.String; cards: Schema.Attribute.Component<'cards.solution', true>; description: Schema.Attribute.Text; title: Schema.Attribute.String;