Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update contributions section, including open collective #478

Merged
merged 3 commits into from
Sep 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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