Skip to content

Commit

Permalink
move themetoggler to auth-content
Browse files Browse the repository at this point in the history
  • Loading branch information
dEdmishka committed Feb 5, 2024
1 parent ed186ab commit 159969d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/pages/auth-content.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Content from '@/components/ui/content'
import { ThemeToggler } from '@/components/ui/theme-toggler'
import { cn } from '@/lib/utils'
import { FC, ReactNode } from 'react'

Expand All @@ -12,6 +13,9 @@ const AuthContent: FC<AuthContentProps> = ({ children, className }) => {
<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">
{children}
<div className="absolute top-5 right-5">
<ThemeToggler />
</div>
</Content>
</div>
)
Expand Down

0 comments on commit 159969d

Please sign in to comment.