Skip to content

Commit

Permalink
fix: image on login/out page
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulijuz committed Nov 8, 2023
1 parent 742f0e8 commit ce07e5d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/app/(auth)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import React from 'react'
import Image from 'next/image'
import Image from '@/components/Image/Image'

import styles from './layout.module.scss'

import magiskHatt from '@/images/magisk_hatt.png'

export default function AuthLayout({ children } : { children: React.ReactNode}) {
return (
<div className={styles.wrapper}>
Expand All @@ -13,7 +11,7 @@ export default function AuthLayout({ children } : { children: React.ReactNode})
{children}
</div>
<div className={styles.image}>
<Image alt="en kappemann sin hatt" width={200} src={magiskHatt} />
<Image name="magisk_hatt" alt="en kappemann sin hatt" width={200}/>
</div>
</div>
</div>
Expand Down

0 comments on commit ce07e5d

Please sign in to comment.