Skip to content

Commit

Permalink
(docs) add sponsors section
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Nov 16, 2024
1 parent 0d49897 commit 90981dc
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
11 changes: 11 additions & 0 deletions docs/src/components/Sponsors/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import Header from '@site/src/components/Header';
import styles from './styles.module.css';

export default function Sponsors() {
return (
<div className="container narrow">
<Header className={styles.sponsors}>Sponsors</Header>
<p><a href="mailto:jcubic@onet.pl?subject=jQuery%20Terminal%20Sponsorship">Become a sponsor</a></p>
</div>
);
}
3 changes: 3 additions & 0 deletions docs/src/components/Sponsors/styles.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.sponsors {
margin-top: 2em;
}
5 changes: 1 addition & 4 deletions docs/src/components/Thanks/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import BrowserStack from '@site/src/components/BrowserStack';
export default function Thanks() {
return (
<div className={clsx('container', 'narrow', styles.container)}>
<Header className={styles.header}>Thanks</Header>
<Header>Thanks</Header>
<p>Personal thanks:</p>
<ul>
<li><a href="https://stackoverflow.com/users/157247/t-j-crowder">T.J. Crowder</a> for helping with <a href="https://stackoverflow.com/a/46756077/387194">tracking_replace</a>.</li>
Expand All @@ -28,9 +28,6 @@ export default function Thanks() {
<BrowserStack width={200} height={43} />
</a>
</li>
<li>
<a href="mailto:jcubic@onet.pl?subject=jQuery%20Terminal%20Sponsorship">Become a sposor</a>
</li>
</ul>
</div>
);
Expand Down
3 changes: 3 additions & 0 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import HomepageFeatures from '@site/src/components/HomepageFeatures';
import Terminal from '@site/src/components/Terminal';
import Contributors from '@site/src/components/Contributors';
import Thanks from '@site/src/components/Thanks';
import Sponsors from '@site/src/components/Sponsors';


import styles from './index.module.css';

Expand Down Expand Up @@ -51,6 +53,7 @@ export default function Home(): JSX.Element {
<HomepageFeatures />
<Contributors />
<Thanks />
<Sponsors />
<div className={styles.spacer} />
</main>
</Layout>
Expand Down

0 comments on commit 90981dc

Please sign in to comment.