+
+
+
\ No newline at end of file
diff --git a/.storybook/preview.js b/.storybook/preview.js
index 7b83f546..0e770427 100644
--- a/.storybook/preview.js
+++ b/.storybook/preview.js
@@ -18,7 +18,21 @@ setup((app) => {
export const parameters = {
options: {
storySort: {
- order: ['Blocks', 'Components Group', 'Components', 'Elements'],
+ method: 'alphabetical',
+ order: [
+ 'Blocks',
+ [
+ 'Hero',
+ 'Sections',
+ 'Banner',
+ 'Pages',
+ 'List'
+ ],
+ 'Components Group',
+ 'Components',
+ 'Layout',
+ 'Elements'
+ ],
},
},
backgrounds: {
diff --git a/package.json b/package.json
index c6c58f2b..29aff456 100644
--- a/package.json
+++ b/package.json
@@ -71,6 +71,7 @@
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.6",
"@semantic-release/release-notes-generator": "12.1.0",
+ "@storybook/addon-docs": "^8.3.2",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-links": "^8.2.9",
diff --git a/src/stories/Rules.js b/src/stories/Rules.js
new file mode 100644
index 00000000..48f8444b
--- /dev/null
+++ b/src/stories/Rules.js
@@ -0,0 +1,53 @@
+// rules.js
+
+const Rules = {
+ hero: {
+ title: "- **Title:** Titles should be between 40 and 60 characters, or a maximum of 3 lines in 1440px (width) for better readability.",
+ description: "- **Description:** Descriptions should be between 80 and 160 characters, ensuring they are concise and informative, without overwhelming the user.",
+ overline: "- **Overline:** Overlines should not exceed 32 characters to maintain their auxiliary purpose.",
+ image: '- **Image:** A image need to be included to enrich the content. Ensure that the option enhances the message without distracting from the main purpose of the Hero.',
+ imageVideo: '- **Image/Video:** A image or video can be included to enrich the content. Ensure that the option enhances the message without distracting from the main purpose of the Hero.',
+ cards: '- **Cards:** It is recommended to limit the number of cards to a maximum of 4, with each card title limited to 30 characters and the card description to 60 characters.',
+ cta: '- **Actions (CTA):** Limit the number of CTA buttons to a maximum of 2. The first should be a primary button, and the second a secondary button. Ensure button labels are concise, with a maximum of 20 characters, and all links should be valid.',
+ form: '- **Forms:** Use clear and descriptive placeholders for fields, and avoid including too many fields. Keep the form as practical as possible to increase the likelihood of user submission.',
+ logos: '- **Logos:** Try to put multiples of 4 logos in logo-content-block. Ensure the svg logos are balanced and with the currentColor property in fill. The title is optional, when used try to limit to the maximum of 50 characters.',
+ banner: '- **Banner:** The banner is optional. Use it to inform some important news about the product or company, try to keep the text between 40 and 100 characters for better banner esthetic.',
+ avatar: '- **Avatar:** The avatar need to have a photo of the person face, the name and role.',
+ },
+ heroProduct: {
+ overline: '- **Overline:** The overline must always mention the pillar where the product is categorized (e.g., "Build", "Secure", "Deploy", "Observe") or if it is a "Solution".',
+ title: '- **Title:** The title should clearly state the product’s value proposition, summarizing its key benefits in a concise way. Also, the product name needs to appear above in gray. The title should be between 40 and 60 characters.',
+ cta: '- **Actions (CTA):** Limit to 2 CTA buttons. The primary button should lead to key product actions, and the secondary button should offer additional options. Labels should not exceed 20 characters.',
+ image: '- **Image:** The image must clearly reflect a key feature of the product, ensuring visual coherence with the product’s message and benefits.',
+ list: '- **List:** The list of benefits should contain short and direct items, with a clear focus on the main features and advantages of the product. Each item title should not exceed 30 characters, and each description should not exceed 80 characters.'
+ },
+ section: {
+ overline: "- **Overline:** Overlines should not exceed 32 characters to maintain their auxiliary purpose.",
+ title: "- **Title:** Titles should be between 40 and 60 characters, or a maximum of 3 lines in 1440px (width) for better readability.",
+ description: "- **Description:** Descriptions should be between 80 and 160 characters, ensuring they are concise and informative, without overwhelming the user.",
+ cta: '- **Actions (CTA):** Limit the number of CTA buttons to a maximum of 2. Ensure button labels are concise, with a maximum of 20 characters, and all links should be valid.',
+ navigation: "- **Navigation:** Navigations is like a buttons, ensure the labels are concise, with a maximum of 20 characters, and all links should be valid. ",
+ logos: '- **Logos:** Try to put multiples of 2 logos in logo-content-block. Ensure the svg logos are balanced and with the currentColor property in fill.',
+ cards: "- **Cards:** Cards highlight important information and can have an overline and a title, both following the same rules outlined above.",
+ cardsProducts: "- **Product Cards:** The product name should be used as the title, followed by a brief description of up to 240 characters. Ensure that all product and add-ons links are valid.",
+ cardsRelease: "- **Carousel Cards:** The tag can only be filled with either 'Tech Article' or 'Award'. The card title must not exceed 180 characters. Each card should include a valid link leading to an article with detailed information. Ensure that the logo functions well in both dark and light themes, and the description below the logo is concise yet provides additional details about the source and date. Additionally, ensure the call-to-action (CTA) is clear and follows the established CTA guidelines.",
+ cardsNavigation: "- **Cards Navigation:** Follow the same rules above for title and description. Cards navigation can have a multiple links, try to not exceed more of 6.",
+ bigNumbers: "- **Big Numbers:** Each number should include a concise title and a brief description (maximum 60 characters) explaining its significance. The title should highlight key achievements or statistics. Ensure that all icons are clear, visually support the metric, and maintain consistency with the overall visual style.",
+ cardsCases: "- **Cases Cards:** Each card should include a recognizable logo, a concise description (up to 240 characters) highlighting the key benefits and outcomes, and a valid link to the full success story. Ensure that the description clearly conveys the value of the solution in a brief and engaging manner. The tag should reflect the type of success, and the logo should be visually consistent across dark and light modes. The CTA link should direct users to detailed case study pages.",
+ image: "- **Image:** A image is required. Ensure that the option enhances the message.",
+ list: "- **List:** A clear and concise title (up to 50 characters), and a brief description (up to 240 characters) that summarizes the key point. Ensure that the icon used is relevant to the content. Avoid of more of 6 itens.",
+ avatars: "- **Avatars:** Each avatar should include a clear image (minimum size of 160x160px). Ensure that the name and role of the person are displayed below the avatar. All avatars should link to the individual's LinkedIn profile, and the link should open in a new tab.",
+ link: "- **Link:** Links buttons can be used to gave more details for the section content that already existis in another. Try to be clear and dont use more than 6 words to compose the label.",
+ form: '- **Forms:** Use clear and descriptive placeholders for fields, and avoid including too many fields. Keep the form as practical as possible to increase the likelihood of user submission.',
+ },
+ banner: {
+ overline: "- **Overline:** Overlines should not exceed 32 characters to maintain their auxiliary purpose.",
+ title: "- **Title:** Titles should be between 40 and 60 characters, or a maximum of 3 lines in 1440px (width) for better readability.",
+ description: "- **Description:** Descriptions should be between 80 and 160 characters, ensuring they are concise and informative, without overwhelming the user.",
+ cta: '- **Actions (CTA):** Limit the number of CTA buttons to a maximum of 2. Ensure button labels are concise, with a maximum of 20 characters, and all links should be valid.',
+ image: "- **Image:** A image is required. Ensure that the option enhances the message.",
+ list: "- **List:** A clear and concise title (up to 50 characters) that summarizes the key point. Ensure that the icon used is relevant to the content.",
+ }
+};
+
+export default Rules;
diff --git a/src/stories/templates/sections/section-highlight.stories.js b/src/stories/templates/banner/banner-architecture.stories.js
similarity index 72%
rename from src/stories/templates/sections/section-highlight.stories.js
rename to src/stories/templates/banner/banner-architecture.stories.js
index bde52601..87476410 100644
--- a/src/stories/templates/sections/section-highlight.stories.js
+++ b/src/stories/templates/banner/banner-architecture.stories.js
@@ -1,10 +1,23 @@
-import Container from '../../../templates/container'
-import SectionHighlight from '../../../templates/sectionhighlight'
+import Container from '../../../templates/container/Container'
+import SectionHighlight from '../../../templates/sectionhighlight/SectionHighlight'
+import Rules from '../../rules'
export default {
- title: 'Blocks/Sections/section-highlight',
+ title: 'Blocks/Banner/banner-architecture',
tags: ['autodocs'],
+ parameters: {
+ docs: {
+ description: {
+ component: `
+### Content rules
+${Rules.section.overline}
+${Rules.section.title}
+${Rules.section.image}
+ `,
+ },
+ },
+ },
}
const MOCK = {
diff --git a/src/stories/templates/sections/SectionSimpleCTA.stories.js b/src/stories/templates/banner/banner-get-started.stories.js
similarity index 80%
rename from src/stories/templates/sections/SectionSimpleCTA.stories.js
rename to src/stories/templates/banner/banner-get-started.stories.js
index 2790b81d..5e1cbc45 100644
--- a/src/stories/templates/sections/SectionSimpleCTA.stories.js
+++ b/src/stories/templates/banner/banner-get-started.stories.js
@@ -1,11 +1,25 @@
-import Container from '../../../templates/container'
-import ContentSection from '../../../templates/contentsection'
-import LinkButton from '../../../templates/linkbutton'
+import Container from '../../../templates/container/Container'
+import ContentSection from '../../../templates/contentsection/ContentSection'
+import LinkButton from '../../../templates/linkbutton/LinkButton'
+import Rules from '../../rules'
export default {
- title: 'Blocks/Sections/Simple CTA',
+ title: 'Blocks/Banner/banner-get-started',
tags: ['autodocs'],
+ parameters: {
+ docs: {
+ description: {
+ component: `
+### Content rules
+${Rules.banner.overline}
+${Rules.banner.title}
+${Rules.banner.cta}
+${Rules.banner.list}
+ `,
+ },
+ },
+ },
}
const MOCK = {
diff --git a/src/stories/templates/sections/SectionCardBanner.stories.js b/src/stories/templates/banner/banner-live-map.stories.js
similarity index 75%
rename from src/stories/templates/sections/SectionCardBanner.stories.js
rename to src/stories/templates/banner/banner-live-map.stories.js
index 40e1c3e0..c872ad3d 100644
--- a/src/stories/templates/sections/SectionCardBanner.stories.js
+++ b/src/stories/templates/banner/banner-live-map.stories.js
@@ -1,14 +1,28 @@
-import Overline from '../../../templates/overline'
-import LinkButton from '../../../templates/linkbutton'
-import CardBase from '../../../templates/cardbase'
-import CardDescription from '../../../templates/carddescription'
-import CardTitle from '../../../templates/cardtitle'
-import Container from '../../../templates/container'
+import Overline from '../../../templates/overline/Overline'
+import LinkButton from '../../../templates/linkbutton/LinkButton'
+import CardBase from '../../../templates/cardbase/CardBase'
+import CardDescription from '../../../templates/carddescription/CardDescription'
+import CardTitle from '../../../templates/cardtitle/CardTitle'
+import Container from '../../../templates/container/Container'
+import Rules from '../../rules'
export default {
- title: 'Blocks/Sections/Card Banner',
+ title: 'Blocks/Banner/banner-live-map',
tags: ['autodocs'],
+ parameters: {
+ docs: {
+ description: {
+ component: `
+### Content rules
+${Rules.banner.overline}
+${Rules.banner.title}
+${Rules.banner.cta}
+${Rules.banner.image}
+ `,
+ },
+ },
+ },
}
const MOCK = {
diff --git a/src/stories/templates/Lists/ListWithHero.stories.js b/src/stories/templates/hero/hero-blog-featured.stories.js
similarity index 96%
rename from src/stories/templates/Lists/ListWithHero.stories.js
rename to src/stories/templates/hero/hero-blog-featured.stories.js
index c01ebdf3..358c17a0 100644
--- a/src/stories/templates/Lists/ListWithHero.stories.js
+++ b/src/stories/templates/hero/hero-blog-featured.stories.js
@@ -1,10 +1,24 @@
-import FeaturedPost from '../../../templates/featuredpost'
-import CardGridBlock from '../../../templates/cardgridblock'
-import Container from '../../../templates/container'
+import FeaturedPost from '../../../templates/featuredpost/FeaturedPost'
+import CardGridBlock from '../../../templates/cardgridblock/CardGridBlock'
+import Container from '../../../templates/container/Container'
+import Rules from '../../rules'
export default {
- title: 'Blocks/List/Featured Hero',
+ title: 'Blocks/Hero/hero-blog-featured',
tags: ['autodocs'],
+ parameters: {
+ docs: {
+ description: {
+ component: `
+### Content rules
+${Rules.hero.image}
+${Rules.hero.title}
+${Rules.hero.description}
+${Rules.hero.avatar}
+ `,
+ },
+ },
+ },
argTypes: {
isSearchEnabled: {
options: [true, false],
diff --git a/src/stories/templates/content/ContentNavigation.stories.js b/src/stories/templates/hero/hero-content-navigation.stories.js
similarity index 94%
rename from src/stories/templates/content/ContentNavigation.stories.js
rename to src/stories/templates/hero/hero-content-navigation.stories.js
index 6b23e947..ec3d3de6 100644
--- a/src/stories/templates/content/ContentNavigation.stories.js
+++ b/src/stories/templates/hero/hero-content-navigation.stories.js
@@ -1,10 +1,10 @@
-import HeroArticle from '../../../templates/heroarticle';
+import HeroArticle from '../../../templates/heroarticle/HeroArticle';
import Breadcrumb from "primevue/breadcrumb";
-import MenuNavigation from '../../../templates/menunavigationblock'
+import MenuNavigation from '../../../templates/menunavigationblock/MenuNavigationBlock'
import Divider from 'primevue/divider'
export default {
- title: 'Blocks/Content/Content Navigation',
+ title: 'Blocks/Hero/hero-content-navigation',
component: HeroArticle,
tags: ['autodocs'],
argTypes: {}
diff --git a/src/stories/templates/content/ArticleHero.stories.js b/src/stories/templates/hero/hero-content.stories.js
similarity index 77%
rename from src/stories/templates/content/ArticleHero.stories.js
rename to src/stories/templates/hero/hero-content.stories.js
index 8b13a42e..fa4e7f29 100644
--- a/src/stories/templates/content/ArticleHero.stories.js
+++ b/src/stories/templates/hero/hero-content.stories.js
@@ -1,9 +1,22 @@
-import HeroArticle from '../../../templates/heroarticle';
+import HeroArticle from '../../../templates/heroarticle/HeroArticle';
import Breadcrumb from "primevue/breadcrumb";
-import Container from "../../../templates/container"
+import Container from "../../../templates/container/Container"
+import Rules from '../../rules'
export default {
- title: 'Blocks/Content/Article Hero',
+ title: 'Blocks/Hero/hero-content',
+ parameters: {
+ docs: {
+ description: {
+ component: `
+### Content rules
+${Rules.hero.title}
+${Rules.hero.description}
+${Rules.hero.avatar}
+ `,
+ },
+ },
+ },
component: HeroArticle,
tags: ['autodocs'],
argTypes: {}
diff --git a/src/stories/templates/hero/hero-form-horizontal.stories.js b/src/stories/templates/hero/hero-form-right.stories.js
similarity index 96%
rename from src/stories/templates/hero/hero-form-horizontal.stories.js
rename to src/stories/templates/hero/hero-form-right.stories.js
index 7d42792c..0e1b867c 100644
--- a/src/stories/templates/hero/hero-form-horizontal.stories.js
+++ b/src/stories/templates/hero/hero-form-right.stories.js
@@ -3,10 +3,26 @@ import LinkButton from '../../../templates/linkbutton'
import ContentLogoBlock from '../../../templates/contentlogo'
import FormBePartner from '../../../../dist/formbepartner'
import Container from '../../../templates/container'
+import Rules from '../../rules'
export default {
- title: 'Blocks/Hero/hero-form-horizontal',
+ title: 'Blocks/Hero/hero-form-right',
tags: ['autodocs'],
+ parameters: {
+ docs: {
+ description: {
+ component: `
+### Content rules
+${Rules.hero.overline}
+${Rules.hero.title}
+${Rules.hero.description}
+${Rules.hero.cta}
+${Rules.hero.logos}
+${Rules.hero.form}
+ `,
+ },
+ },
+ },
}
const logos = Array(3).fill({
diff --git a/src/stories/templates/hero/hero-home-vertical.stories.js b/src/stories/templates/hero/hero-home.stories.js
similarity index 90%
rename from src/stories/templates/hero/hero-home-vertical.stories.js
rename to src/stories/templates/hero/hero-home.stories.js
index cf0fa633..5046ae14 100644
--- a/src/stories/templates/hero/hero-home-vertical.stories.js
+++ b/src/stories/templates/hero/hero-home.stories.js
@@ -1,11 +1,26 @@
-import HeroBlockBase from '../../../templates/herobase'
-import LinkButton from '../../../templates/linkbutton'
-import ContentLogoBlock from '../../../templates/contentlogo'
-import Container from '../../../templates/container'
+import HeroBlockBase from '../../../templates/herobase/HeroBase'
+import LinkButton from '../../../templates/linkbutton/LinkButton'
+import ContentLogoBlock from '../../../templates/contentlogo/ContentLogo'
+import Container from '../../../templates/container/Container'
+import Rules from '../../rules'
export default {
- title: 'Blocks/Hero/hero-home-vertical',
+ title: 'Blocks/Hero/hero-home',
tags: ['autodocs'],
+ parameters: {
+ docs: {
+ description: {
+ component: `
+### Content rules
+${Rules.hero.banner}
+${Rules.hero.title}
+${Rules.hero.description}
+${Rules.hero.cta}
+${Rules.hero.logos}
+ `,
+ },
+ },
+ },
}
const logos = Array(4).fill({
@@ -41,7 +56,7 @@ const MOCK = {
}
],
bannerNews: {
- description: "Azion Console for Developerss!",
+ description: "Azion Console for Developers!",
cta: {
label: "Access now.",
link: "https://console.azion.com/login"
diff --git a/src/stories/templates/hero/hero-marketplace-horizontal.stories.js b/src/stories/templates/hero/hero-image-right-logos.stories.js
similarity index 90%
rename from src/stories/templates/hero/hero-marketplace-horizontal.stories.js
rename to src/stories/templates/hero/hero-image-right-logos.stories.js
index ff477532..780cef07 100644
--- a/src/stories/templates/hero/hero-marketplace-horizontal.stories.js
+++ b/src/stories/templates/hero/hero-image-right-logos.stories.js
@@ -1,12 +1,26 @@
-import HeroBlockBase from '../../../templates/herobase'
-import LinkButton from '../../../templates/linkbutton'
-import ContentLogoBlock from '../../../templates/contentlogo'
-import ImageSwitcher from '../../../templates/themeawareimageswitcher'
-import Container from '../../../templates/container'
+import HeroBlockBase from '../../../templates/herobase/HeroBase'
+import LinkButton from '../../../templates/linkbutton/LinkButton'
+import ContentLogoBlock from '../../../templates/contentlogo/ContentLogo'
+import ImageSwitcher from '../../../templates/themeawareimageswitcher/ImageSwitcher'
+import Container from '../../../templates/container/Container'
+import Rules from '../../rules'
export default {
- title: 'Blocks/Hero/hero-marketplace-horizontal',
+ title: 'Blocks/Hero/hero-image-right-logos',
tags: ['autodocs'],
+ parameters: {
+ docs: {
+ description: {
+ component: `
+### Content rules
+${Rules.hero.overline}
+${Rules.hero.title}
+${Rules.hero.cta}
+${Rules.hero.imageVideo}
+ `,
+ },
+ },
+ },
}
const logos = Array(3).fill({
@@ -90,11 +104,6 @@ Default.parameters = {
docs: {
description: {
story: `
-
- * exemplo de description *
-
- Definições:
- - Utilizar apenas 3 logos
`
},
source: { code: HeroDisplay } },
diff --git a/src/stories/templates/hero/hero-product-vertical.stories.js b/src/stories/templates/hero/hero-product-bottom.stories.js
similarity index 79%
rename from src/stories/templates/hero/hero-product-vertical.stories.js
rename to src/stories/templates/hero/hero-product-bottom.stories.js
index 6aefaa50..0de9079b 100644
--- a/src/stories/templates/hero/hero-product-vertical.stories.js
+++ b/src/stories/templates/hero/hero-product-bottom.stories.js
@@ -1,11 +1,26 @@
-import HeroBlockBase from '../../../templates/herobase'
-import LinkButton from '../../../templates/linkbutton'
-import ImageSwitcher from '../../../templates/themeawareimageswitcher'
-import Container from '../../../templates/container'
+import HeroBlockBase from '../../../templates/herobase/HeroBase'
+import LinkButton from '../../../templates/linkbutton/LinkButton'
+import ImageSwitcher from '../../../templates/themeawareimageswitcher/ImageSwitcher'
+import Container from '../../../templates/container/Container'
+import Rules from '../../rules'
export default {
- title: 'Blocks/Hero/hero-product-vertical',
+ title: 'Blocks/Hero/hero-product-bottom',
tags: ['autodocs'],
+ parameters: {
+ docs: {
+ description: {
+ component: `
+### Content rules
+${Rules.heroProduct.overline}
+${Rules.heroProduct.title}
+${Rules.heroProduct.cta}
+${Rules.heroProduct.image}
+
+ `,
+ },
+ },
+ },
}
const MOCK = {
diff --git a/src/stories/templates/hero/hero-product-horizontal.stories.js b/src/stories/templates/hero/hero-product-right.stories.js
similarity index 83%
rename from src/stories/templates/hero/hero-product-horizontal.stories.js
rename to src/stories/templates/hero/hero-product-right.stories.js
index ebba3d3d..04f8659b 100644
--- a/src/stories/templates/hero/hero-product-horizontal.stories.js
+++ b/src/stories/templates/hero/hero-product-right.stories.js
@@ -1,10 +1,24 @@
-import HeroProductHorizontal from "../../../templates/heroproductshorizontal"
-import Container from "../../../templates/container"
-
+import HeroProductHorizontal from "../../../templates/heroproductshorizontal/HeroProductsHorizontal"
+import Container from "../../../templates/container/Container"
+import Rules from '../../rules'
export default {
- title: 'Blocks/Hero/hero-products-horizontal',
+ title: 'Blocks/Hero/hero-products-right',
tags: ['autodocs'],
+ parameters: {
+ docs: {
+ description: {
+ component: `
+### Content rules
+${Rules.heroProduct.overline}
+${Rules.heroProduct.title}
+${Rules.heroProduct.cta}
+${Rules.heroProduct.image}
+${Rules.heroProduct.list}
+ `,
+ },
+ },
+ },
}
const MOCK = {
diff --git a/src/stories/templates/hero/hero-about-horizontal.stories.js b/src/stories/templates/hero/hero-video-right.stories.js
similarity index 93%
rename from src/stories/templates/hero/hero-about-horizontal.stories.js
rename to src/stories/templates/hero/hero-video-right.stories.js
index 89b38997..01a2852d 100644
--- a/src/stories/templates/hero/hero-about-horizontal.stories.js
+++ b/src/stories/templates/hero/hero-video-right.stories.js
@@ -1,16 +1,30 @@
-import HeroBlockBase from '../../../templates/herobase'
-import BaseModal from "../../../templates/basemodal"
+import HeroBlockBase from '../../../templates/herobase/HeroBase'
+import BaseModal from "../../../templates/basemodal/Modal"
import CardBaseClickable from "../../../templates/cardbaseclickable"
-import CardTitle from "../../../templates/cardtitle"
+import CardTitle from "../../../templates/cardtitle/CardTitle"
import CardDescription from "../../../templates/carddescription"
-import Tile from "../../../templates/tile"
-import Container from '../../../templates/container'
+import Tile from "../../../templates/tile/Tile"
+import Container from '../../../templates/container/Container'
+import Rules from '../../rules'
export default {
- title: 'Blocks/Hero/hero-about-horizontal',
+ title: 'Blocks/Hero/hero-video-right',
tags: ['autodocs'],
-}
-
+ parameters: {
+ docs: {
+ description: {
+ component: `
+### Content rules
+${Rules.hero.overline}
+${Rules.hero.title}
+${Rules.hero.description}
+${Rules.hero.imageVideo}
+${Rules.hero.cards}
+ `,
+ },
+ },
+ },
+};
const HeroDisplay = `
diff --git a/src/stories/templates/layout/Container.stories.js b/src/stories/templates/layout/Container.stories.js
index 42d1b7cf..73cbdb10 100644
--- a/src/stories/templates/layout/Container.stories.js
+++ b/src/stories/templates/layout/Container.stories.js
@@ -1,7 +1,7 @@
import Container from '../../../templates/container'
export default {
- title: 'Layout/ Container',
+ title: 'Layout/Container',
component: Container,
tags: ['autodocs'],
argTypes: {}
diff --git a/src/stories/templates/content/ContentView.stories.js b/src/stories/templates/layout/ContentView.stories.js
similarity index 99%
rename from src/stories/templates/content/ContentView.stories.js
rename to src/stories/templates/layout/ContentView.stories.js
index 41547137..125cab6e 100644
--- a/src/stories/templates/content/ContentView.stories.js
+++ b/src/stories/templates/layout/ContentView.stories.js
@@ -1,8 +1,8 @@
-import HeroArticle from '../../../templates/heroarticle';
+import HeroArticle from '../../../templates/heroarticle/HeroArticle';
import Breadcrumb from "primevue/breadcrumb";
-import ReadableContent from "../../../templates/readablecontent";
-import TableOfContents from "../../../templates/tableofcontents";
-import Sharer from "../../../templates/sharerblock";
+import ReadableContent from "../../../templates/readablecontent/ReadableContent";
+import TableOfContents from "../../../templates/tableofcontents/TableOfContents";
+import Sharer from "../../../templates/sharerblock/SharerBlock";
export default {
title: 'Layout/Content',
diff --git a/src/stories/templates/Lists/RelatedContent.stories.js b/src/stories/templates/list/content-related-blog.stories.js
similarity index 98%
rename from src/stories/templates/Lists/RelatedContent.stories.js
rename to src/stories/templates/list/content-related-blog.stories.js
index 711bc7a8..2cdd97a7 100644
--- a/src/stories/templates/Lists/RelatedContent.stories.js
+++ b/src/stories/templates/list/content-related-blog.stories.js
@@ -1,9 +1,9 @@
import Divider from 'primevue/divider'
-import CardGridListWithLoadMore from '../../../templates/cardgridlistwithloadmore'
-import Container from '../../../templates/container'
+import CardGridListWithLoadMore from '../../../templates/cardgridlistwithloadmore/CardGridListWithLoadMore'
+import Container from '../../../templates/container/Container'
export default {
- title: 'Blocks/List/Related Content',
+ title: 'Blocks/List/content-related-blog',
tags: ['autodocs'],
argTypes: {
diff --git a/src/stories/templates/extras/404.stories.js b/src/stories/templates/pages/page-404.stories.js
similarity index 93%
rename from src/stories/templates/extras/404.stories.js
rename to src/stories/templates/pages/page-404.stories.js
index f46e7b1e..9bcbe2bf 100644
--- a/src/stories/templates/extras/404.stories.js
+++ b/src/stories/templates/pages/page-404.stories.js
@@ -1,10 +1,10 @@
-import Overline from '../../../templates/overline'
-import EmptyState from '../../../templates/emptystateblock'
-import Container from '../../../templates/container'
+import Overline from '../../../templates/overline/Overline'
+import EmptyState from '../../../templates/emptystateblock/EmptyStateBlock'
+import Container from '../../../templates/container/Container'
export default {
- title: 'Blocks/Extras/404',
+ title: 'Blocks/Pages/page-404',
tags: ['autodocs'],
}
diff --git a/src/stories/templates/sections/SectionCustomersCards.stories.js b/src/stories/templates/sections/SectionCustomersCards.stories.js
deleted file mode 100644
index e91cc157..00000000
--- a/src/stories/templates/sections/SectionCustomersCards.stories.js
+++ /dev/null
@@ -1,65 +0,0 @@
-
-import ContentSection from '../../../templates/contentsection'
-import CardCases from '../../../templates/cardcases'
-import Container from '../../../templates/container'
-
-export default {
- title: 'Blocks/Sections/Customer Cards',
- tags: ['autodocs'],
-}
-
-const logo = ``
-
-const MOCK = {
- title: 'Customers Are Achieving Great Results With Jamstack websites',
- "cards": [
- {
- "logo": logo,
- "tag": "Tech",
- "description": "GetNinjas improves data analysis with Azion Data Streaming and obtains incredible performance, security, and availability in its applications.",
- "link": "https://www.azion.com/en/success-case/getninjas/"
- },
- {
- "logo": logo,
- "tag": "Tech",
- "description": "VTEX builds ultra-low latency serverless applications with Azion and allows thousands of customers to accelerate their sales on the web.",
- "link": "https://www.azion.com/en/success-case/vtex/"
- }
- ]
-}
-
-const template = `
-
-
-
-
-
-
-`
-
-const Template = (args) => ({
- components: { ContentSection, LinkButton, Tile, Container },
- setup() {
- return { args }
- },
- template: template
-})
-
-export const Default = Template.bind({})
-Default.args = MOCK
-
-Default.parameters = {
- docs: {
- description: {
- story: ''
- },
- source: { code: template } },
-};
diff --git a/src/stories/templates/sections/SectionTabMenuCarousel.stories.js b/src/stories/templates/sections/SectionTabMenuCarousel.stories.js
deleted file mode 100644
index cdb53be8..00000000
--- a/src/stories/templates/sections/SectionTabMenuCarousel.stories.js
+++ /dev/null
@@ -1,172 +0,0 @@
-
-import ContentSection from '../../../templates/contentsection'
-import TabView from 'primevue/tabview';
-import TabPanel from 'primevue/tabpanel';
-import Carousel from "primevue/carousel";
-import Tag from "primevue/tag"
-import CardBlog from "../../../templates/cardblog"
-import CardBaseClickable from "../../../templates/cardbaseclickable"
-import CardTitle from "../../../templates/cardtitle"
-import CardDescription from "../../../templates/carddescription"
-import Container from "../../../templates/container"
-
-export default {
- title: 'Blocks/Sections/Tab Menu Carousel',
- tags: ['autodocs'],
-}
-
-const MOCK = {
- "overline": "RECURSOS PARA A SOLUÇÃO",
- "title": "Saiba mais sobre soluções edge enhanced por meio de exemplos de arquiteturas, guias e templates",
- "description": "Aumente a performance dos seus ativos monolíticos e de microsserviços com as soluções da Azion para aplicações edge enhanced",
- responsiveOptions: [
- {
- breakpoint: '1400px',
- numVisible: 3,
- numScroll: 1
- },
- {
- breakpoint: '1199px',
- numVisible: 2,
- numScroll: 1
- },
- {
- breakpoint: '767px',
- numVisible: 1,
- numScroll: 1
- },
- ],
- "data": [
- {
- "panelName": "Arquiteturas",
- "cards": [
- {
- "imgSrc": "https://www.azion.com/assets/docs/images/uploads/edge-enhanced.png",
- "imgAlt": "aplicacoes-edge-enhanced-1",
- "title": "Aumente a performance dos seus ativos monolíticos e de microsserviços com as soluções da Azion para aplicações edge enhanced",
- "description": "Aprenda como melhorar suas aplicações e APIs com edge computing.",
- "link": "https://www.azion.com/pt-br/documentacao/arquiteturas/edge-enhanced/"
- }
- ]
- },
- {
- "panelName": "Guias e recursos",
- "cards": [
- {
- "icon": "pi pi-book",
- "docType": "Documentação",
- "title": "Novo na Azion? Comece sua jornada sem complicações",
- "description": "Esta documentação vai ajudar você nos seus primeiros passos com a Azion.",
- "link": "https://www.azion.com/pt-br/documentacao/produtos/ponto-de-partida/"
- },
- {
- "icon": "pi pi-book",
- "docType": "Documentação",
- "title": "Construa e execute suas aplicações no edge",
- "description": "O Edge Application é um produto que permite construir aplicações no edge da Azion, reduzindo a latência e a taxa de transferência entre servidores de origem e usuários.",
- "link": "https://www.azion.com/pt-br/documentacao/produtos/build/edge-application/"
- },
- {
- "icon": "pi pi-book",
- "docType": "Documentação",
- "title": "Armazene objetos facilmente no edge com o Azion Edge Storage",
- "description": "O Azion Edge Storage é um serviço de armazenamento escalável e seguro, projetado para integrar o armazenamento de objetos com a Plataforma de Edge Computing da Azion usando o padrão S3.",
- "link": "https://www.azion.com/pt-br/produtos/edge-storage/"
- },
- {
- "icon": "pi pi-book",
- "docType": "Documentação",
- "title": "Vincule suas aplicações atuais ao edge em poucos passos com nossa CLI",
- "description": "Vinculação de um projeto existente para execução no edge da Azion.",
- "link": "https://www.azion.com/pt-br/documentacao/produtos/azion-cli/link-comando/"
- },
- {
- "icon": "pi pi-book",
- "docType": "Documentação",
- "title": "Entregue seu conteúdo dinâmico e estático usando a Azion como CDN",
- "description": "Esse template ajuda você a implantar uma aplicação com políticas de cache padronizadas para otimizar a entrega do seu conteúdo.",
- "link": "https://www.azion.com/pt-br/documentacao/produtos/guias/dynamic-static-file-optimization-template/"
- },
- {
- "icon": "pi pi-tag",
- "docType": "Conteúdo",
- "title": "Descubra por que você deve aprimorar suas aplicações com edge computing",
- "description": "A modernização de aplicações no edge permite desenvolver vantagens tecnológicas cruciais para as empresas.",
- "link": "https://www.azion.com/pt-br/lp/infografico-cinco-razoes-modernizar-apps-2024/"
- },
- {
- "icon": "pi pi-bookmark",
- "docType": "Blog",
- "title": "Controle os acessos à sua plataforma com esta função pronta para uso",
- "description": "Aprenda a gerenciar o acesso às suas aplicações usando a Azion Scheduled Blocking Function, uma edge function que controla o acesso com base em janelas de tempo.",
- "link": "https://www.azion.com/pt-br/blog/controle-os-acessos-a-sua-plataforma-com-a-funcao-scheduled-blocking/"
- }
- ]
- }
- ]
-}
-
-const template = `
-
-
-
-
-
-
-