Skip to content

Commit e55e8a6

Browse files
author
Juli Ovechkina
authored
Merge pull request #52 from gravity-ui/yuberdysheva/fix-storybook
fix: remove unnecessary stories
2 parents 0a567a5 + bc9296c commit e55e8a6

File tree

13 files changed

+17
-116
lines changed

13 files changed

+17
-116
lines changed

.storybook/manager-head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="icon" href="public/favicon.png" />
1+
<link rel="icon" href="https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/favicon.png" />

.storybook/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ export const CloudTheme = create({
2828

2929
brandUrl: 'https://github.com/gravity-ui/page-constructor',
3030
brandTitle: `<div style="font-size: 18px; color: #027bf3; font-weight: 600; margin-top: -6px; margin-bottom: 2px;">Page Constructor</div>
31-
<div style="font-size: 14px;color: #7d7d7d;font-weight: 400;">Yandex.Cloud website components</div>`,
31+
<div style="font-size: 14px;color: #7d7d7d;font-weight: 400;">Website components</div>`,
3232
});

src/blocks/Slider/__stories__/data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
},
9898
"button": {
9999
"text": "Button",
100-
"url": "https://cloud.yandex.ru/datasphere-education-program?utm_source=services&utm_medium=banner&utm_campaign=datasphere-education"
100+
"url": "https://example.com"
101101
}
102102
}
103103
]

src/blocks/Tabs/__stories__/data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"tabName": "Consectetur adipiscing elit",
115115
"title": "Consectetur adipiscing elit",
116116
"media": {
117-
"youtube": "https://youtu.be/bxZRUtMAlFI",
117+
"youtube": "https://youtu.be/0Qd3T6skprA",
118118
"previewImg": "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/images/video_8-12_dark.png"
119119
},
120120
"caption": "Consectetur adipiscing elit",

src/components/Anchor/__stories__/Anchor.stories.tsx

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/components/BalancedMasonry/__stories__/data.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
"default": {
33
"content": {
44
"children": [
5-
"You can always suggest a new feature or improvement under Ideas.",
6-
"Create Managed Services for Kubernetes® clusters, monitor their status, and view logs — all that from your mobile.",
7-
"Get answers to your questions about Yandex Cloud services by writing a message and attaching screenshots of the problem right in the app.",
8-
"Suggest new features that you'd like to have to fully manage your cloud right in the app and we'll add them in future releases.",
9-
"The news feed will help you stay up to date on new service launches and new technology and sign up for upcoming events.",
10-
"Use the app to access your data in Object Storage buckets and monitor the service using charts in dashboards. Use the app to access your data in Object Storage buckets and monitor the service using charts in dashboards.",
11-
"View extensive information about resources and their operations, charts with workload data from the monitoring system, and information about operations on resource pages.",
12-
"The news feed will help you stay up to date on new service launches and new technology and sign up for upcoming events. The news feed will help you stay up to date on new service launches and new technology and sign up for upcoming events.The news feed will help you stay up to date on new service launches and new technology and sign up for upcoming events.The news feed will help you stay up to date on new service launches and new technology and sign up for upcoming events.The news feed will help you stay up to date on new service launches and new technology and sign up for upcoming events.The news feed will help you stay up to date on new service launches and new technology and sign up for upcoming events.",
13-
"Use the app to access your data in Object Storage buckets and monitor the service using charts in dashboards.",
14-
"Configure authentication in Yandex Cloud via your server with Single Sign-On. Identity federation support enables your users to access the app from a corporate account.",
15-
"Use the app to monitor your account balance, add funds, and view a breakdown of your spending."
5+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit",
6+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
7+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
8+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
9+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
10+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ",
11+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
12+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
13+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
14+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
15+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit"
1616
]
1717
}
1818
}

src/components/BlockBase/__stories__/BlockBase.stories.tsx

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/components/BlockBase/__stories__/data.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/components/Foldable/__stories__/Foldable.stories.tsx

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/components/Link/__stories__/Link.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default {
1818

1919
const DefaultTemplate: Story<LinkFullProps> = (args) => <Link {...args} />;
2020
const DarkTemplate: Story<LinkFullProps> = (args) => (
21-
<section style={{color: '#3a74ff'}}>
21+
<section style={{backgroundColor: '#7ccea0', display: 'inline-block', padding: '0 16px 16px'}}>
2222
<Link {...args} />
2323
</section>
2424
);

0 commit comments

Comments
 (0)