mirror of
https://github.com/vercel/next-learn.git
synced 2026-07-08 14:35:16 +00:00
Update all dependencies for Next.js 13. (#100)
This commit is contained in:
@@ -47,20 +47,18 @@ export default function Layout({
|
||||
) : (
|
||||
<>
|
||||
<Link href="/">
|
||||
<a>
|
||||
<Image
|
||||
priority
|
||||
src="/images/profile.jpg"
|
||||
className={utilStyles.borderCircle}
|
||||
height={108}
|
||||
width={108}
|
||||
alt={name}
|
||||
/>
|
||||
</a>
|
||||
<Image
|
||||
priority
|
||||
src="/images/profile.jpg"
|
||||
className={utilStyles.borderCircle}
|
||||
height={108}
|
||||
width={108}
|
||||
alt={name}
|
||||
/>
|
||||
</Link>
|
||||
<h2 className={utilStyles.headingLg}>
|
||||
<Link href="/">
|
||||
<a className={utilStyles.colorInherit}>{name}</a>
|
||||
<Link href="/" className={utilStyles.colorInherit}>
|
||||
{name}
|
||||
</Link>
|
||||
</h2>
|
||||
</>
|
||||
@@ -69,9 +67,7 @@ export default function Layout({
|
||||
<main>{children}</main>
|
||||
{!home && (
|
||||
<div className={styles.backToHome}>
|
||||
<Link href="/">
|
||||
<a>← Back to home</a>
|
||||
</Link>
|
||||
<Link href="/">← Back to home</Link>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user