diff --git a/src/stories/components-group/ContentQuote.stories.js b/src/stories/components-group/ContentQuote.stories.js index 2043f078..9fc37aa3 100644 --- a/src/stories/components-group/ContentQuote.stories.js +++ b/src/stories/components-group/ContentQuote.stories.js @@ -6,22 +6,56 @@ export default { tags: ['autodocs'], } -const data = Array(4).fill({ - text: `”A Azion acelera a entrega de conteúdo para a maior empresa de entretenimento do Brasil.”` , - imageLight: "https://www.azion.com/assets/pages/products/images/light/edge-application/omelete-co-logo-black.png", - imageDark: "https://www.azion.com/assets/pages/products/images/dark/edge-application/omelete-co-logo-white.png", - label: "", -}) - -export const Default = { - args: { - data +const data = [ + { + quote: { + text: `A Azion protege o Agibank, banco omnichannel brasileiro com 1M+ de clientes, de ataques que ameaçam suas aplicações.` , + imageLight: "https://www.azion.com/assets/pages/products/images/light/edge-application/omelete-co-logo-black.png", + imageDark: "https://www.azion.com/assets/pages/products/images/dark/edge-application/omelete-co-logo-white.png", + author: "Luis Igreja", + button: { + link: "/en/", + label: "See success case" + } + }, + button: { + image: "https://www.azion.com/assets/pages/products/images/dark/edge-application/omelete-co-logo-white.png" } -} +}, +{ + quote: { + text: `A Azion protege o Agibank, banco omnichannel brasileiro com 1M+ de clientes, de ataques que ameaçam suas aplicações.` , + imageLight: "https://www.azion.com/assets/pages/products/images/dark/edge-functions/renner-logo.svg?ims=x40", + imageDark: "https://www.azion.com/assets/pages/products/images/dark/edge-functions/renner-logo.svg?ims=x40", + author: "Luis Igreja", + button: { + link: "/en/", + label: "See success case" + } + }, + button: { + image: "https://www.azion.com/assets/pages/products/images/dark/edge-functions/renner-logo.svg?ims=x40" + } +}, +{ + quote: { + text: `A Azion protege o Agibank, banco omnichannel brasileiro com 1M+ de clientes, de ataques que ameaçam suas aplicações.` , + imageLight: "https://www.azion.com/assets/pages/products/images/light/edge-application/omelete-co-logo-black.png", + imageDark: "https://www.azion.com/assets/pages/products/images/dark/edge-application/omelete-co-logo-white.png", + author: "Luis Igreja", + button: { + link: "/en/", + label: "See success case" + } + }, + button: { + image: "https://www.azion.com/assets/pages/products/images/dark/edge-application/omelete-co-logo-white.png" + } +}, +] -export const isCarousel = { +export const Default = { args: { - isCarousel: true, data } } diff --git a/src/stories/components/Quote.stories.js b/src/stories/components/Quote.stories.js index 2ea3b1dd..4704cfa7 100644 --- a/src/stories/components/Quote.stories.js +++ b/src/stories/components/Quote.stories.js @@ -5,11 +5,6 @@ export default { component: Quote, tags: ['autodocs'], argTypes: { - direction: { - description: "Component orientation", - options: ['row', 'column'], - control: { type: 'select'} - }, alt: { description: "Image alt text" } @@ -17,28 +12,18 @@ export default { } const data = { - text: `”A Azion acelera a entrega de conteúdo para a maior empresa de entretenimento do Brasil.”` , - imageLight: "https://www.azion.com/assets/pages/products/images/light/edge-application/omelete-co-logo-black.png", - imageDark: "https://www.azion.com/assets/pages/products/images/dark/edge-application/omelete-co-logo-white.png", -} + text: `A Azion protege o Agibank, banco omnichannel brasileiro com 1M+ de clientes, de ataques que ameaçam suas aplicações.` , + imageLight: "https://www.azion.com/assets/pages/products/images/light/edge-application/omelete-co-logo-black.png", + imageDark: "https://www.azion.com/assets/pages/products/images/dark/edge-application/omelete-co-logo-white.png", + author: "Luis Igreja", + button: { + link: "/en/", + label: "See success case" + } + } export const Default = { args: { ...data } } - -export const withLabel = { - args: { - ...data, - label: "Lorem Ipsum" - } -} - -export const column = { - args: { - ...data, - label: "Lorem Ipsum", - direction: "column" - } -} diff --git a/src/templates/contentquote/ContentQuote.vue b/src/templates/contentquote/ContentQuote.vue index f1246075..d4eb6d79 100644 --- a/src/templates/contentquote/ContentQuote.vue +++ b/src/templates/contentquote/ContentQuote.vue @@ -1,50 +1,56 @@ + + diff --git a/src/templates/quote/Quote.vue b/src/templates/quote/Quote.vue index 4552ca4a..832c0f12 100644 --- a/src/templates/quote/Quote.vue +++ b/src/templates/quote/Quote.vue @@ -1,12 +1,18 @@