"use client"; import { FC } from "react"; import Image from "next/image"; import { useTheme } from "next-themes"; // helpers import { API_BASE_URL } from "@/helpers/common.helper"; // images import githubLightModeImage from "/public/logos/github-black.png"; import githubDarkModeImage from "/public/logos/github-dark.svg"; export type TGitHubAuthButton = { title: string; }; export const GitHubAuthButton: FC = (props) => { // props const { title } = props; // hooks const { resolvedTheme } = useTheme(); const handleSignIn = () => { window.location.assign(`${API_BASE_URL}/auth/mobile/github/`); }; return ( ); };