Skip to content

Commit

Permalink
tiny fixes about usused auth classes and dark bg for content comp
Browse files Browse the repository at this point in the history
  • Loading branch information
dEdmishka committed Feb 5, 2024
1 parent 71aa3e0 commit b9355ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/auth/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ImageCard from '@/components/ui/image-card'

export default function Auth() {
return (
<AuthContent className="auth-page">
<AuthContent>
<section className="justify-center py-36 px-0 flex gap-7 rounded-3xl md:dark:bg-base-black md:py-10 md:px-7 md:bg-base-white md:gap-[1.75rem] lg:gap-16">
<ImageCard className="-my-[4.375rem] hidden md:flex">
<Icons.golub />
Expand Down
2 changes: 1 addition & 1 deletion src/app/verification/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ImageCard from '@/components/ui/image-card'

export default function Verification() {
return (
<AuthContent className="verification-page">
<AuthContent>
<section className="justify-center flex-col pb-7 px-0 pt-20 flex gap-8 rounded-3xl md:dark:bg-base-black md:flex-row md:pt-7 md:px-7 md:bg-base-white md:gap-[1.75rem] lg:gap-16">
<ImageCard className="bg-none px-0 pt-0 pb-1 md:hidden">
<Icons.messages />
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/auth-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type AuthContentProps = {
const AuthContent: FC<AuthContentProps> = ({ children, className }) => {
return (
<div className={cn('h-screen w-screen bg-gradient-blue-white', className)}>
<Content className="flex items-start justify-center dark:bg-none dark:bg-base-gray-8 md:items-center">
<Content className="flex items-start justify-center dark:bg-base-gray-9 md:items-center">
{children}
<div className="absolute top-5 right-5">
<ThemeToggler />
Expand Down

0 comments on commit b9355ab

Please sign in to comment.