-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into get_started_top_funnel
- Loading branch information
Showing
24 changed files
with
328 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
import React from 'react' | ||
import cn from 'classnames' | ||
|
||
const logoClass = | ||
'flex items-center justify-center opacity-50 hover:opacity-100 transition-opacity duration-300 ease-in-out' | ||
const logoImageClass = 'h-20 grayscale hover:grayscale-0' | ||
const logoImageClassInverted = `${logoImageClass} invert` | ||
|
||
const sm = 'w-16' | ||
const md = 'w-24' | ||
const lg = 'w-32' | ||
const xl = 'w-40' | ||
const xxl = 'w-48' | ||
|
||
const logos = [ | ||
{ | ||
name: 'Aicon', | ||
alt: 'Aicon logo', | ||
src: 'logos/aicon.svg', | ||
className: cn(logoClass, sm), | ||
imageClassName: cn(logoImageClass, 'h-16') | ||
}, | ||
{ | ||
name: 'Billie', | ||
alt: 'Billie logo', | ||
src: 'logos/billie.svg', | ||
className: cn(logoClass, sm), | ||
imageClassName: cn(logoImageClass, 'h-16') | ||
}, | ||
{ | ||
name: 'Cyclica', | ||
alt: 'Cyclica logo', | ||
src: 'logos/cyclica.png', | ||
className: cn(logoClass, lg) | ||
}, | ||
{ | ||
name: 'Degould', | ||
alt: 'Degould logo', | ||
src: 'logos/degould.png', | ||
className: cn(logoClass, md), | ||
imageClassName: logoImageClassInverted | ||
}, | ||
{ | ||
name: 'Huggingface', | ||
alt: 'Huggingface logo', | ||
src: 'logos/huggingface.svg', | ||
className: cn(logoClass, xxl) | ||
}, | ||
{ | ||
name: 'Inlab Digital', | ||
alt: 'Inlab Digital logo', | ||
src: 'logos/inlab-digital.svg', | ||
className: cn(logoClass, lg) | ||
}, | ||
{ | ||
name: 'UBS', | ||
alt: 'UBS logo', | ||
src: 'logos/ubs.png', | ||
className: cn(logoClass, xl), | ||
imageClassName: logoImageClassInverted | ||
}, | ||
{ | ||
name: 'Mantis', | ||
alt: 'Mantis logo', | ||
src: 'logos/mantis.svg', | ||
className: cn(logoClass, lg) | ||
}, | ||
{ | ||
name: 'Papercup', | ||
alt: 'Papercup logo', | ||
src: 'logos/papercup.png', | ||
className: cn(logoClass, xl) | ||
}, | ||
{ | ||
name: 'Pieces', | ||
alt: 'Pieces logo', | ||
src: 'logos/pieces.png', | ||
className: cn(logoClass, md), | ||
imageClassName: logoImageClassInverted | ||
}, | ||
{ | ||
name: 'Plasmasolve', | ||
alt: 'Plasmasolve logo', | ||
src: 'logos/plasmasolve.png', | ||
className: cn(logoClass, lg), | ||
imageClassName: logoImageClassInverted | ||
}, | ||
{ | ||
name: 'Sicara', | ||
alt: 'Sicara logo', | ||
src: 'logos/sicara.png', | ||
className: cn(logoClass, sm) | ||
}, | ||
{ | ||
name: 'UKHO', | ||
alt: 'UKHO logo', | ||
src: 'logos/ukho.png', | ||
className: cn(logoClass, lg), | ||
imageClassName: logoImageClassInverted | ||
}, | ||
{ | ||
name: 'XP Inc', | ||
alt: 'XP Inc logo', | ||
src: 'logos/xp-inc-new.webp', | ||
className: cn(logoClass, md) | ||
} | ||
] | ||
|
||
const CompanyLogos = () => { | ||
return ( | ||
<> | ||
{logos.map((logo, index) => ( | ||
<div key={index} className={logo.className}> | ||
<img | ||
src={logo.src} | ||
alt={logo.alt} | ||
width={200} | ||
height={35} | ||
loading="eager" | ||
className={logo.imageClassName ?? logoImageClass} | ||
style={{ color: 'transparent', objectFit: 'contain' }} | ||
/> | ||
</div> | ||
))} | ||
</> | ||
) | ||
} | ||
|
||
export default CompanyLogos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import React from 'react' | ||
import cn from 'classnames' | ||
|
||
import * as styles from './styles.module.css' | ||
import CompanyLogos from './CompanyLogos' | ||
|
||
const CompanySlider = () => { | ||
return ( | ||
<div className="mt-10"> | ||
<div className="mb-2"> | ||
<h2 className={cn('text-2xl font-medium text-center', styles.title)}> | ||
Empowering thousands of users and customers from startups to Fortune | ||
500 companies | ||
</h2> | ||
</div> | ||
<div | ||
className={cn( | ||
'mb-2 w-full grid place-items-center overflow-hidden relative', | ||
styles.fade | ||
)} | ||
> | ||
<div className="flex justify-between gap-8 animate-slide"> | ||
<CompanyLogos /> | ||
<CompanyLogos /> | ||
<CompanyLogos /> | ||
<CompanyLogos /> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default CompanySlider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.title { | ||
font-family: var(--font-base); | ||
line-height: 45px; | ||
color: var(--color-gray-dark); | ||
margin: 0 auto; | ||
} | ||
|
||
.fade { | ||
&::before { | ||
content: ''; | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
z-index: 1; | ||
width: 50px; | ||
height: 100%; | ||
background: linear-gradient(to left, var(--color-light-blue), transparent); | ||
|
||
@media screen(sm) { | ||
width: 100px; | ||
} | ||
} | ||
|
||
&::after { | ||
content: ''; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
z-index: 1; | ||
width: 50px; | ||
height: 100%; | ||
background: linear-gradient(to right, var(--color-light-blue), transparent); | ||
|
||
@media screen(sm) { | ||
width: 100px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.