This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/website/src/pages/jobs.jsx

30 lines
830 B
React
Raw Normal View History

import React from "react";
import Layout from "@theme/Layout";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { useColorMode } from "@docusaurus/theme-common";
import BrowserOnly from "@docusaurus/core/lib/client/exports/BrowserOnly";
import { useEffect } from "react";
function JobBoardWrapper() {
const context = useDocusaurusContext();
const { siteConfig = {} } = context;
return (
<Layout title="Jobs" description={siteConfig.tagline}>
<JobBoard />
</Layout>
);
}
function JobBoard() {
const { colorMode, setColorMode } = useColorMode();
if (colorMode !== "light") {
setColorMode("light");
}
useEffect(() => {
Grnhse.Iframe.load();
}, []);
return <div id="grnhse_app"></div>;
}
export default JobBoardWrapper;