mediahub-fe/components/partials/auth/social.tsx

76 lines
2.1 KiB
TypeScript
Raw Normal View History

2024-11-26 03:09:48 +00:00
import Image from "next/image";
const Social = ({ locale }: { locale: string }) => {
return (
<>
<ul className="flex">
<li className="flex-1">
<a
href="#"
className="inline-flex h-10 w-10 p-2 bg-[#1C9CEB] text-white text-2xl flex-col items-center justify-center rounded-full"
>
2024-12-10 07:24:50 +00:00
<Image
width={300}
height={300}
className="w-full h-full"
src="/images/icon/tw.svg"
alt=""
/>
2024-11-26 03:09:48 +00:00
</a>
</li>
<li className="flex-1">
<a
href="#"
className="inline-flex h-10 w-10 p-2 bg-[#395599] text-white text-2xl flex-col items-center justify-center rounded-full"
>
2024-12-10 07:24:50 +00:00
<Image
width={300}
height={300}
className="w-full h-full"
src="/images/icon/fb.svg"
alt=""
/>
2024-11-26 03:09:48 +00:00
</a>
</li>
<li className="flex-1">
<a
href="#"
className="inline-flex h-10 w-10 p-2 bg-[#0A63BC] text-white text-2xl flex-col items-center justify-center rounded-full"
>
2024-12-10 07:24:50 +00:00
<Image
width={300}
height={300}
className="w-full h-full"
src="/images/icon/in.svg"
alt=""
/>
2024-11-26 03:09:48 +00:00
</a>
</li>
<li className="flex-1">
<form
2024-12-10 07:24:50 +00:00
// action={async () => {
// "use server";
// await signIn("google", { redirectTo: `/${locale}/dashboard/analytics` });
// }}
2024-11-26 03:09:48 +00:00
>
2024-12-10 07:24:50 +00:00
<button
type="submit"
className="inline-flex h-10 w-10 p-2 bg-[#EA4335] text-white text-2xl flex-col items-center justify-center rounded-full"
>
<Image
width={300}
height={300}
className="w-full h-full"
src="/images/icon/gp.svg"
alt=""
/>
2024-11-26 03:09:48 +00:00
</button>
</form>
</li>
</ul>
</>
);
};
export default Social;