From 5dceb854cca6d59798b6df58a8d625ef6fabafd0 Mon Sep 17 00:00:00 2001 From: yoonhyejin <0327jane@gmail.com> Date: Fri, 2 Aug 2024 11:05:16 +0900 Subject: [PATCH] fix: update customer data --- .../cloud/CompanyLogos/customersData.json | 82 +++++++++++++------ .../src/pages/cloud/CompanyLogos/index.js | 2 +- .../cloud/CompanyLogos/logos.module.scss | 2 +- 3 files changed, 61 insertions(+), 25 deletions(-) diff --git a/docs-website/src/pages/cloud/CompanyLogos/customersData.json b/docs-website/src/pages/cloud/CompanyLogos/customersData.json index 09943e8ef172f..695e3fda34e45 100644 --- a/docs-website/src/pages/cloud/CompanyLogos/customersData.json +++ b/docs-website/src/pages/cloud/CompanyLogos/customersData.json @@ -2,38 +2,50 @@ "customers": [ { "link": { - "href": "https://robinhood.com", - "blank": true + "href": "/", + "blank": false }, "logo": { "asset": { - "_ref": "/img/logos/scrollingCompanies/acertus.webp" + "_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/345d124a249d43bf0f20b608f8bfa2f7683311fa-360x180.png" }, - "alt": "Robinhood" + "alt": "depop" } }, { "link": { - "href": "https://www.dpgmediagroup.com/", + "href": "https://riskified.com", "blank": true }, "logo": { "asset": { - "_ref": "/img/logos/scrollingCompanies/autoscout24.webp" + "_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/c982e0459bed565273a9b696d9d40aed76f84b1e-360x180.png" }, - "alt": "DPG Media" + "alt": "Riskified" } }, { "link": { - "href": "https://www.twilio.com", - "blank": true + "href": "/", + "blank": false + }, + "logo": { + "asset": { + "_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/5988a55b3c090a12ddc3f3cae07b290ac3134771-360x180.png" + }, + "alt": "Betterup" + } + }, + { + "link": { + "href": "/", + "blank": false }, "logo": { "asset": { - "_ref": "/img/logos/scrollingCompanies/betterup.webp" + "_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/5e7bd32dfbc769849dca136947ebd2fc2f5e91f3-540x270.png" }, - "alt": "Twilio" + "alt": "OVO Energy" } }, { @@ -43,45 +55,69 @@ }, "logo": { "asset": { - "_ref": "/img/logos/scrollingCompanies/depop.webp" + "_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/3d7c10e1bd7c7a062250e092d6d9d0553fb57790-360x180.png" }, "alt": "Myob" } }, { "link": { - "href": "https://regeneron.com", - "blank": true + "href": "/", + "blank": false }, "logo": { "asset": { - "_ref": "/img/logos/scrollingCompanies/dpg_media.webp" + "_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/b446f595b4b13a72ee82a285924715f950e012ca-540x270.png" }, - "alt": "Regeneron" + "alt": "DPG Megia" } }, { "link": { - "href": "https://riskified.com", - "blank": true + "href": "/", + "blank": false }, "logo": { "asset": { - "_ref": "/img/logos/scrollingCompanies/myob.webp" + "_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/c2e84f93572cd1baf30ea7ab8da234ff44182eb6-540x270.png" }, - "alt": "Riskified" + "alt": "Notion" } }, { "link": { - "href": "https://xero.com", + "href": "/", + "blank": false + }, + "logo": { + "asset": { + "_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/a9e8586635cb4039cbfc5836a6a5cacdeba9e6b3-540x270.png" + }, + "alt": "SAE International" + } + }, + { + "link": { + "href": "https://viator.com", "blank": true }, "logo": { "asset": { - "_ref": "/img/logos/scrollingCompanies/notion.webp" + "_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/0c17141cad5baa053da18dffb17d9c182d242e69-1200x475.png" + }, + "alt": "Viator" + } + }, + { + "link": { + "href": "https://www.tripadvisor.co.uk/", + "blank": false + }, + "logo": { + "asset": { + "_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/28255a28d261a074a83d1ee8632f0338bf5cf57e-1112x256.png" }, - "alt": "Xero" + "alt": "Trip Advisor" } } ] diff --git a/docs-website/src/pages/cloud/CompanyLogos/index.js b/docs-website/src/pages/cloud/CompanyLogos/index.js index cd3a79f277893..d395d5b50e48a 100644 --- a/docs-website/src/pages/cloud/CompanyLogos/index.js +++ b/docs-website/src/pages/cloud/CompanyLogos/index.js @@ -32,7 +32,7 @@ const ScrollingCustomers = ({ noOverlay = true, spacing, ...rest }) => { to={customer.link.href} target={customer.link.blank ? '_blank' : '_self'} rel={customer.link.blank ? 'noopener noreferrer' : ''} - style={{ minWidth: 'max-content', padding: '0 3.25rem' }} + style={{ minWidth: 'max-content', padding: '0 1.8rem' }} >