Skip to content

Commit

Permalink
utilize Container component, update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
firehawk89 committed Jan 7, 2024
1 parent 912315f commit 393b73c
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions src/app/auth/page.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
import FormAuth from '@/components/Pages/Auth/FormAuth'
import ImageCard from '@/components/Pages/Auth/ImageCard'
import Container from '@/components/UI/Container'
import Image from 'next/image'

export default function Auth() {
return (
<section className="h-screen w-screen flex items-center justify-center bg-gradient-blue-white">
<div className="card p-10 flex gap-[3.75rem] bg-white">
<ImageCard className="-my-[4.375rem] flex-shrink-0">
<Image alt="Golub" height={161} src="/images/golub.png" width={196} />
</ImageCard>
<div>
<h1 className="title-lg">Authentication</h1>
<FormAuth />
<section className="h-screen w-screen bg-gradient-blue-white">
<Container className="flex items-center justify-center">
<div className="card p-7 sm:p-10 flex gap-7 md:gap-[3.75rem] bg-white">
<ImageCard className="hidden sm:block -my-[4.375rem] flex-shrink-0">
<Image
alt="Golub"
height={161}
src="/images/golub.png"
width={196}
/>
</ImageCard>
<div>
<h1 className="title-lg">Authentication</h1>
<FormAuth />
</div>
</div>
</div>
</Container>
</section>
)
}

0 comments on commit 393b73c

Please sign in to comment.