Skip to content

Commit

Permalink
fix: update customer data
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonhyejin committed Aug 2, 2024
1 parent d5eda0d commit 5dceb85
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 25 deletions.
82 changes: 59 additions & 23 deletions docs-website/src/pages/cloud/CompanyLogos/customersData.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
{
Expand All @@ -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"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion docs-website/src/pages/cloud/CompanyLogos/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
>
<img
src={customer.logo.asset._ref}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}

.scrollingCustomers__inner img {
max-width: 100px!important;
max-width: 160px !important;
min-width: unset;
filter: invert(1) brightness(0) contrast(100); // make image black
}
Expand Down

0 comments on commit 5dceb85

Please sign in to comment.