First Commit. Duplicate bunext-sqlite preset

This commit is contained in:
2026-10-18 16:47:11 +01:00
commit 81e4a8aecc
718 changed files with 41695 additions and 0 deletions
@@ -0,0 +1,25 @@
import { useContext, type ComponentProps } from "react";
import { AppContext } from "@/src/pages/__root";
import GoogleAuthButton from "./google-auth-button";
import AuthDivider from "./auth-divider";
/**
* Google button plus the "OR" divider. Renders nothing when Google
* sign-in isn't configured.
*/
export default function GoogleAuthSection(
props: ComponentProps<typeof GoogleAuthButton>,
) {
const { pageProps } = useContext(AppContext);
if (!pageProps?.envs?.GOOGLE_CLIENT_ID) {
return null;
}
return (
<>
<GoogleAuthButton {...props} />
<AuthDivider />
</>
);
}