Skip to content

Commit

Permalink
feat: update contributions section, including open collective (#478)
Browse files Browse the repository at this point in the history
* feat: update contributions section, including open collective

* chore: matching bg

---------

Co-authored-by: Gabriel Le Breton <lebreton.gabriel@gmail.com>
  • Loading branch information
webbertakken and GabLeRoux authored Sep 18, 2024
1 parent 55c2568 commit 9e5f942
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions src/components/pages/home/section/sponsors-section.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
import Link from '@docusaurus/Link';
import React from 'react';
import FadeIntoView from '@site/src/components/molecules/animations/fade-into-view';
import Section from '@site/src/components/pages/home/section/section';
import CircleCiLogo from '@site/static/assets/images/icons/circleci.svg';
import { getUrlWithUtmParameters } from '@site/src/core/url';

const SponsorsSection = () => {
const circleCiUrl = getUrlWithUtmParameters('https://circleci.com');

return (
<Section title="Sponsors">
// Would be nice if the banner had a dark mode that we could use for `dark:*`
<Section title="Sponsors" className="bg-white dark:bg-white">
<FadeIntoView>
<ul className="mt-12 flex gap-4 list-none p-0">
<li>
<Link to={circleCiUrl}>
<CircleCiLogo className="w-[120px] fill-brand-text-light dark:fill-brand-text-dark" />
</Link>
</li>
</ul>
<iframe
title="Game CI Sponsors"
height="667"
width="800"
src="https://opencollective.com/game-ci/banner.html"
frameBorder="0"
scrolling="no"
/>
</FadeIntoView>
</Section>
);
Expand Down

0 comments on commit 9e5f942

Please sign in to comment.