Files
ef_front/app/page.tsx

68 lines
2.1 KiB
TypeScript
Raw Permalink Normal View History

2025-09-07 22:57:43 +00:00
"use client"
import { FcGoogle } from 'react-icons/fc';
import Image from 'next/image';
import { signIn } from "next-auth/react"
export default function Home() {
const handleSignIn = () => {
signIn("google")
}
return (
2025-10-15 12:50:05 +00:00
<div className="relative min-h-screen overflow-hidden bg-black">
<video
className="fixed inset-0 w-full h-full object-cover z-0"
autoPlay
muted
loop
playsInline
preload="metadata"
poster="/imsi_bg.png"
>
<source src="/everfactory.mp4" type="video/mp4" />
</video>
2025-09-07 22:57:43 +00:00
<div className="
pt-5 pb-5
w-full sm:w-1/2 xl:w-1/3
transition-width
2025-10-15 12:50:05 +00:00
fixed right-0 top-0 bottom-0 z-10
2025-09-07 22:57:43 +00:00
shadow-lg
min-w-[500px] min-h-[500px]
2025-10-15 12:50:05 +00:00
"
style={{ height: '100dvh', paddingBottom: 'max(env(safe-area-inset-bottom), 1.25rem)' }}
>
2025-09-07 22:57:43 +00:00
<div
className="
bg-black/30 backdrop-blur-lg
w-full h-full
rounded-tl-xl rounded-bl-xl
flex flex-col items-center justify-center
p-5
"
>
<div className="flex flex-col items-center justify-center gap-5">
<div className="flex flex-col items-center justify-center gap-5">
<div className="text-white text-2xl font-bold mb-3 justify-center items-center">
2025-09-10 04:31:53 +00:00
<Image src="/falogo2.png" alt="logo" width={200} height={200} />
2025-09-07 22:57:43 +00:00
</div>
<div className="text-white text-4xl font-bold text-center mb-3"> <br/> </div>
2025-09-08 18:30:34 +00:00
{/* <div className="text-white text-md text-center mb-3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi lobortis maximus</div> */}
2025-09-07 22:57:43 +00:00
</div>
2025-10-15 12:50:05 +00:00
<div className="w-full">
<div className="text-white text-md text-center mb-3 cursor-pointer ">Ready to travel with us?</div>
<div className="pointer rounded-full bg-white p-2 flex items-center justify-center gap-2 cursor-pointer w-full" onClick={handleSignIn}> <FcGoogle/> continue with google</div>
2025-09-07 22:57:43 +00:00
</div>
</div>
</div>
</div>
</div>
);
}