diff --git a/README.md b/README.md
index a333b26b0..255e6588c 100755
--- a/README.md
+++ b/README.md
@@ -123,6 +123,14 @@ Please check our [troubleshooting section](https://react-tooltip.com/docs/troubl
If you can't find your problem here, make sure there isn't [an open issue](https://github.com/ReactTooltip/react-tooltip/issues) already covering it.
If there isn't, feel free to [submit a new issue](https://github.com/ReactTooltip/react-tooltip/issues/new/choose).
+## Sponsors
+
+
+
+
+
+React Tooltip is proud to be sponsored by [Frigade](https://frigade.com/?source=react-tooltip), a developer tool for building better product onboarding: guided tours, getting started checklists, announcements, etc.
+
## Article
[How I insert sass into react component](https://medium.com/@wwayne_me/how-i-insert-sass-into-my-npm-react-component-b46b9811c226#.gi4hxu44a)
diff --git a/docs/src/components/AdsContainer/index.tsx b/docs/src/components/AdsContainer/index.tsx
new file mode 100644
index 000000000..b3cbb4351
--- /dev/null
+++ b/docs/src/components/AdsContainer/index.tsx
@@ -0,0 +1,16 @@
+/* eslint-disable import/no-unresolved */
+import React from 'react'
+import AdsContainerElement from '@site/src/components/AdsContainerElement'
+import BannerFrigade from '@site/src/components/BannerFrigade'
+import './styles.css'
+
+const AdsContainer = () => {
+ return (
+
+ )
+}
+
+export default AdsContainer
diff --git a/docs/src/components/AdsContainer/styles.css b/docs/src/components/AdsContainer/styles.css
new file mode 100644
index 000000000..3c0ed13b3
--- /dev/null
+++ b/docs/src/components/AdsContainer/styles.css
@@ -0,0 +1,3 @@
+.fixed {
+ position: fixed;
+}
diff --git a/docs/src/components/AdsContainerElement/styles.css b/docs/src/components/AdsContainerElement/styles.css
index 52201093d..fe56f7f75 100644
--- a/docs/src/components/AdsContainerElement/styles.css
+++ b/docs/src/components/AdsContainerElement/styles.css
@@ -1,5 +1,4 @@
.carbon-ads {
- position: fixed;
display: grid;
row-gap: 16px;
}
diff --git a/docs/src/components/BannerFrigade/index.tsx b/docs/src/components/BannerFrigade/index.tsx
new file mode 100644
index 000000000..3b1b0eadb
--- /dev/null
+++ b/docs/src/components/BannerFrigade/index.tsx
@@ -0,0 +1,21 @@
+/* eslint-disable import/no-unresolved */
+import React from 'react'
+// @ts-ignore
+import LogoFrigade from '@site/static/img/sponsors/frigade.png'
+
+const BannerFrigade = () => {
+ return (
+
+ )
+}
+
+export default BannerFrigade
diff --git a/docs/src/components/HomepageSponsored/index.tsx b/docs/src/components/HomepageSponsored/index.tsx
index 401543d9b..6f17a813e 100644
--- a/docs/src/components/HomepageSponsored/index.tsx
+++ b/docs/src/components/HomepageSponsored/index.tsx
@@ -1,3 +1,4 @@
+/* eslint-disable react/require-default-props */
/* eslint-disable import/no-unresolved */
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable global-require */
@@ -7,7 +8,9 @@ import styles from './styles.module.css'
type FeatureItem = {
title: string
- Svg: React.ComponentType>
+ Svg?: React.ComponentType>
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, react/no-unused-prop-types
+ src?: any
link: string
}
@@ -24,6 +27,14 @@ const FeatureList: FeatureItem[] = [
},
]
+const SponsorList: FeatureItem[] = [
+ {
+ title: 'Frigade',
+ src: require('@site/static/img/sponsors/frigade.png').default,
+ link: 'https://frigade.com/?source=react-tooltip',
+ },
+]
+
function Feature({ title, Svg, link }: FeatureItem) {
return (
@@ -39,6 +50,21 @@ function Feature({ title, Svg, link }: FeatureItem) {
export default function HomepageSponsored(): JSX.Element {
return (
+
+
Sponsored by
+
+ {SponsorList.map(({ link, title, src }, idx) => (
+ // eslint-disable-next-line react/no-array-index-key
+
+ ))}
+
+
Powered by
diff --git a/docs/src/theme/TOC/index.js b/docs/src/theme/TOC/index.js
index 2116ef421..71a8ae6ab 100644
--- a/docs/src/theme/TOC/index.js
+++ b/docs/src/theme/TOC/index.js
@@ -1,13 +1,13 @@
/* eslint-disable import/no-unresolved */
import React from 'react'
import TOC from '@theme-original/TOC'
-import AdsContainerElement from '@site/src/components/AdsContainerElement'
+import AdsContainer from '@site/src/components/AdsContainer'
export default function TOCWrapper(props) {
return (
<>
-
+
{/*