Skip to content

Commit 5dce51b

Browse files
authored
Merge pull request #21 from gravity-ui/remove-all-branded-data-form-stories
Remove all branded data form stories
2 parents 4cb46c8 + fa7593d commit 5dce51b

File tree

45 files changed

+1017
-1044
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1017
-1044
lines changed

src/blocks/Banner/__stories__/data.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@
33
"content": {
44
"theme": "dark",
55
"type": "banner-block",
6-
"title": "Education and science promotion program in the field of computer science",
7-
"subtitle": "<p>Get a grant for computing resources for training and research in MT, computer vision, and data analysis.</p> ",
8-
"image": "https://storage.yandexcloud.net/cloud-www-assets/edu/bnr-education-blue.png",
6+
"title": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
7+
"subtitle": "<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> ",
8+
"image": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/img-black.png",
99
"disableCompress": true,
1010
"color": "#000",
1111
"button": {
1212
"text": "Learn more",
13-
"url": "https://cloud.yandex.com/en-ru/datasphere-education-program"
13+
"url": "https://example.com"
1414
}
1515
}
1616
},
1717
"default": {
1818
"content": {
1919
"theme": "light",
2020
"type": "banner-block",
21-
"title": "Education and science promotion program in the field of computer science",
22-
"subtitle": "<p>Get a grant for computing resources for training and research in MT, computer vision, and data analysis.</p> ",
21+
"title": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
22+
"subtitle": "<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> ",
2323
"image": {
24-
"light": "https://storage.yandexcloud.net/cloud-www-assets/edu/bnr-compscience-new.png",
25-
"dark": "https://storage.yandexcloud.net/cloud-www-assets/edu/bnr-education-blue.png"
24+
"light": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/img-gray.png",
25+
"dark": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/img-white.png"
2626
},
2727
"disableCompress": true,
2828
"color": {
@@ -31,7 +31,7 @@
3131
},
3232
"button": {
3333
"text": "Learn more",
34-
"url": "https://cloud.yandex.com/en-ru/datasphere-education-program"
34+
"url": "https://example.com"
3535
}
3636
}
3737
}

src/blocks/CardLayout/__stories__/data.json

Lines changed: 136 additions & 150 deletions
Large diffs are not rendered by default.

src/blocks/ContentLayout/__stories__/ContentLayout.stories.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ const ThemesTemplate: Story<ContentLayoutBlockModel> = (args) => (
6262
{
6363
text: data.theme.getStartedButtonTitle,
6464
theme: 'normal-contrast',
65-
url: 'https://console.cloud.yandex.${tld}/',
65+
url: 'https://example.com',
6666
},
6767
{
6868
text: data.theme.contactButtonTitle,
6969
theme: 'outlined-contrast',
70-
url: '/#contact-form',
70+
url: 'https://example.com',
7171
},
7272
],
7373
...args.textContent,
@@ -92,12 +92,12 @@ const ThemesTemplate: Story<ContentLayoutBlockModel> = (args) => (
9292
{
9393
text: data.theme.getStartedButtonTitle,
9494
theme: 'monochrome',
95-
url: 'https://console.cloud.yandex.${tld}/',
95+
url: 'https://example.com',
9696
},
9797
{
9898
text: data.theme.contactButtonTitle,
9999
theme: 'normal',
100-
url: '/#contact-form',
100+
url: 'https://example.com',
101101
},
102102
],
103103
...args.textContent,

0 commit comments

Comments
 (0)