-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
16,422 additions
and
18,085 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import { useEffect, useState } from 'react'; | ||
|
||
const CompanyLogos = function () { | ||
const companyLogos = [ | ||
{ src: '/images/logos/impala.svg', alt: 'Impala logo' }, | ||
{ src: '/images/logos/picpay.svg', alt: 'PicPay logo' }, | ||
{ src: '/images/logos/daimler.svg', alt: 'Daimler logo' }, | ||
{ src: '/images/logos/amadeus.svg', alt: 'Amadeus logo' }, | ||
{ src: '/images/logos/localazy.svg', alt: 'Localazy logo' }, | ||
{ src: '/images/logos/koreanair.svg', alt: 'Korean Air logo' }, | ||
{ src: '/images/logos/wargaming.svg', alt: 'War Gaming logo' }, | ||
{ src: '/images/logos/rbc.svg', alt: 'RBC logo' }, | ||
{ src: '/images/logos/cloudflight.svg', alt: 'CloudFlight logo' }, | ||
{ src: '/images/logos/shopee.svg', alt: 'Shopee logo' }, | ||
{ src: '/images/logos/ford.svg', alt: 'Ford logo' }, | ||
{ src: '/images/logos/walmart.svg', alt: 'Walmart logo' }, | ||
{ src: '/images/logos/ntt-docomo.svg', alt: 'NTT Docomo logo' }, | ||
{ src: '/images/logos/jpmchase.svg', alt: 'JP Morgan Chase logo' }, | ||
{ src: '/images/logos/cryptocom.svg', alt: 'Crypto.com logo' }, | ||
{ src: '/images/logos/audi.svg', alt: 'Audi logo' } | ||
]; | ||
const [logos, setLogos] = useState([]); | ||
|
||
useEffect(() => { | ||
setLogos(companyLogos.sort(() => 0.5 - Math.random())); | ||
}, []); | ||
|
||
return ( | ||
<section className='py-6 py-md-8 border-top bg-gradient-light-white'> | ||
<div className='container'> | ||
<h4 className='text-muted text-center pb-6 fw-bold'> | ||
Trusted by awesome teams | ||
</h4> | ||
<div className='row align-items-center justify-content-center'> | ||
{logos.slice(0, 6).map((logo, logoIndex) => ( | ||
<div | ||
key={`logo${logoIndex}`} | ||
className='col-6 col-sm-3 col-lg-2 mb-4 mb-md-0 px-xl-8 text-center' | ||
> | ||
<div className='img-fluid mb-2 mb-md-0'> | ||
<img src={logo.src} alt={logo.alt} /> | ||
</div> | ||
</div> | ||
))} | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
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
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
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,32 @@ | ||
import { FunctionComponent } from 'react'; | ||
|
||
const SidebarBanner: FunctionComponent<{ | ||
title: string; | ||
link: string; | ||
text: string; | ||
ctaText: string; | ||
pro?: boolean; | ||
}> = function ({ title, link, text, ctaText, pro }) { | ||
return ( | ||
<div className='card shadow-light-lg mb-6 mb-md-0 lift lift-lg'> | ||
<div className='card-body'> | ||
{pro && ( | ||
<span className='badge text-bg-warning badge-float badge-float-outside'> | ||
PRO | ||
</span> | ||
)} | ||
|
||
<h4 className='fw-bold'>{title}</h4> | ||
|
||
<p className='text-gray-800'>{text}</p> | ||
|
||
<a href={link} className='fs-sm fw-bold text-decoration-none'> | ||
{ctaText} | ||
<i className='fe fe-arrow-right ms-3'></i> | ||
</a> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default SidebarBanner; |
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
Oops, something went wrong.