Initial community commit

This commit is contained in:
Jef
2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit 20d28e80a5
16810 changed files with 4640254 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
import React from 'react';
const Column = ({ children }) =>
<div className="col">
{children}
</div>;
const Container = ({ children, className }) =>
<div className={`container ${className ?? ""}`}>
{children}
</div>;
const Row = ({ children }) =>
<div className="row">
{children}
</div>;
export {
Column,
Container,
Row
};

View File

@@ -0,0 +1,23 @@
import React from 'react';
export default function Sponsors() {
const containerRef = React.useRef();
React.useEffect(() => {
const script = document.createElement('script');
script.id = 'opencollective-script';
script.src = 'https://opencollective.com/premake/banner.js';
script.async = true;
containerRef.current.appendChild(script);
return () => {
// Short-circuit "load once" check in OpenCollective script
window.OC = null;
}
}, [containerRef]);
return (
<div ref={containerRef} />
);
}