Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update customer data #11075

Merged
merged 3 commits into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 55 additions & 19 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",
"href": "https://www.depop.com/",
"blank": true
},
"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",
"href": "https://get.betterup.com/",
"blank": true
},
"logo": {
"asset": {
"_ref": "/img/logos/scrollingCompanies/betterup.webp"
"_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/5988a55b3c090a12ddc3f3cae07b290ac3134771-360x180.png"
},
"alt": "Twilio"
"alt": "Betterup"
}
},
{
"link": {
"href": "https://www.ovoenergy.com/",
"blank": true
},
"logo": {
"asset": {
"_ref": "https://cdn.sanity.io/images/cqo9wkgf/production/5e7bd32dfbc769849dca136947ebd2fc2f5e91f3-540x270.png"
},
"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",
"href": "https://www.dpgmediagroup.com/",
"blank": true
},
"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",
"href": "https://www.notion.so/",
"blank": true
},
"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://www.sae.org/",
"blank": true
},
"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": "https://cdn.sanity.io/images/cqo9wkgf/production/0c17141cad5baa053da18dffb17d9c182d242e69-1200x475.png"
},
"alt": "Viator"
}
},
{
"link": {
"href": "https://xero.com",
"href": "https://www.tripadvisor.co.uk/",
"blank": true
},
"logo": {
"asset": {
"_ref": "/img/logos/scrollingCompanies/notion.webp"
"_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
Loading