Skip to content

Commit

Permalink
Merge pull request #1196 from ReactTooltip/chore/update-sponsors
Browse files Browse the repository at this point in the history
chore: remove dopt from sponsors list
  • Loading branch information
danielbarion committed Jun 14, 2024
2 parents e59397c + b07c321 commit c13bde2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 19 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ React Tooltip is proud to be sponsored by [Frigade](https://frigade.com/?source=

#### Silver Sponsors ✪

<a href="https://dopt.com/?source=react-tooltip">
<img alt="Dopt" style="height: 200px; width: 200px;" src="docs/static/img/sponsors/dopt.png" />
</a>
<!-- <a href="#">
<img alt="Slot" style="height: 200px; width: 200px;" src="docs/static/img/sponsors/slot.png" />
</a> -->

## Powered by

Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/AdsContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const AdsContainer = () => {
<div className="ads-container fixed">
<BannerSponsor sponsorKey="frigade" tier="gold" />
<AdsContainerElement />
<BannerSponsor sponsorKey="dopt" tier="silver" />
{/* <BannerSponsor sponsorKey="slot" tier="silver" /> */}
</div>
)
}
Expand Down
7 changes: 0 additions & 7 deletions docs/src/components/BannerSponsor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import React from 'react'
// @ts-ignore
import LogoFrigade from '@site/static/img/sponsors/frigade.png'
// @ts-ignore
import LogoDopt from '@site/static/img/sponsors/dopt.png'
import './styles.css'

declare global {
Expand All @@ -19,11 +17,6 @@ const SPONSORS = {
title: 'Frigade',
href: 'https://frigade.com/',
},
dopt: {
logo: LogoDopt,
title: 'Dopt',
href: 'https://dopt.com/',
},
}

interface BannerSponsorProps {
Expand Down
16 changes: 8 additions & 8 deletions docs/src/components/HomepageSponsored/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,20 @@ const SponsorList: SponsorItem[] = [
eventTitle: 'frigade',
tier: 'gold',
},
{
title: 'Dopt',
src: require('@site/static/img/sponsors/dopt.png').default,
link: 'https://dopt.com/?source=react-tooltip',
eventTitle: 'dopt',
tier: 'silver',
},
// {
// title: 'Slot',
// src: require('@site/static/img/sponsors/slot.png').default,
// link: '#',
// eventTitle: 'slot',
// tier: 'silver',
// },
]

function Feature({ title, Svg, link }: FeatureItem) {
return (
<div className={clsx('col col--6')}>
<div className="text--center">
<a href={link} title={title} target="_blank" rel="noreferrer">
<a href={link} title={title} target="_blank" rel="noreferrer" aria-label={title}>
<Svg className={styles.featureSvg} role="img" />
</a>
</div>
Expand Down

0 comments on commit c13bde2

Please sign in to comment.