Skip to content

Commit

Permalink
refactor:auth for add img
Browse files Browse the repository at this point in the history
  • Loading branch information
ademsuslu committed Nov 27, 2024
1 parent 29e2cc9 commit 88b27ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/(auth)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import Image from "next/image"

export default function AuthLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<div className="w-full h-screen flex items-center justify-center text-white">
{children}
<div className="w-full h-full flex items-center justify-between text-white">
<Image className="" fill sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw" style={{objectFit: "cover", width:"100%", height:"100%"}} src={"/assets/login_register.webp"} alt="Login_Register" loading="lazy"/>

<div className="w-full h-full flex items-center justify-center text-white">{children}</div>
</div>

)
Expand Down
Binary file added public/assets/login_register.webp
Binary file not shown.

0 comments on commit 88b27ba

Please sign in to comment.