1- ' use client' ;
1+ " use client" ;
22
3- import { ActionIcon , AppShell , Container , Group } from '@mantine/core' ;
4- import { ConnectButton } from '@rainbow-me/rainbowkit' ;
5- import { IconBook , IconCode , IconLogout } from '@tabler/icons-react' ;
6- import Link from 'next/link' ;
7- import type { PropsWithChildren } from 'react' ;
8- import { useAccount , useDisconnect } from 'wagmi' ;
3+ import { ActionIcon , AppShell , Container , Group } from "@mantine/core" ;
4+ import { ConnectButton } from "@rainbow-me/rainbowkit" ;
5+ import { IconBook , IconCode , IconLogout } from "@tabler/icons-react" ;
6+ import Image from "next/image" ;
7+ import Link from "next/link" ;
8+ import type { PropsWithChildren } from "react" ;
9+ import { useAccount , useDisconnect } from "wagmi" ;
910
1011export default function Shell ( { children } : PropsWithChildren ) {
1112 const { address, isConnected } = useAccount ( ) ;
@@ -17,7 +18,7 @@ export default function Shell({ children }: PropsWithChildren) {
1718 < Container size = "xl" h = "100%" >
1819 < Group justify = "space-between" align = "center" h = "100%" >
1920 < Link href = "/" aria-label = "Sei" >
20- < img src = "https://cdn.sei.io/assets/sei-icon.svg" alt = "Sei" style = { { height : 28 , display : ' block' } } />
21+ < Image src = "https://cdn.sei.io/assets/sei-icon.svg" alt = "Sei" width = { 28 } height = { 28 } style = { { display : " block" } } />
2122 </ Link >
2223 < Group align = "center" gap = "md" >
2324 < ActionIcon
@@ -29,10 +30,10 @@ export default function Shell({ children }: PropsWithChildren) {
2930 radius = "md"
3031 aria-label = "View Resources"
3132 style = { {
32- transition : ' all 0.2s ease' ,
33- ' &:hover' : {
34- transform : ' translateY(-1px)' ,
35- boxShadow : ' 0 4px 12px rgba(0, 0, 0, 0.1)' ,
33+ transition : " all 0.2s ease" ,
34+ " &:hover" : {
35+ transform : " translateY(-1px)" ,
36+ boxShadow : " 0 4px 12px rgba(0, 0, 0, 0.1)" ,
3637 } ,
3738 } }
3839 >
@@ -47,10 +48,10 @@ export default function Shell({ children }: PropsWithChildren) {
4748 radius = "md"
4849 aria-label = "View Development Guide"
4950 style = { {
50- transition : ' all 0.2s ease' ,
51- ' &:hover' : {
52- transform : ' translateY(-1px)' ,
53- boxShadow : ' 0 4px 12px rgba(0, 0, 0, 0.1)' ,
51+ transition : " all 0.2s ease" ,
52+ " &:hover" : {
53+ transform : " translateY(-1px)" ,
54+ boxShadow : " 0 4px 12px rgba(0, 0, 0, 0.1)" ,
5455 } ,
5556 } }
5657 >
@@ -65,10 +66,10 @@ export default function Shell({ children }: PropsWithChildren) {
6566 onClick = { ( ) => disconnect ( ) }
6667 aria-label = "Disconnect Wallet"
6768 style = { {
68- transition : ' all 0.2s ease' ,
69- ' &:hover' : {
70- transform : ' translateY(-1px)' ,
71- boxShadow : ' 0 4px 12px rgba(0, 0, 0, 0.1)' ,
69+ transition : " all 0.2s ease" ,
70+ " &:hover" : {
71+ transform : " translateY(-1px)" ,
72+ boxShadow : " 0 4px 12px rgba(0, 0, 0, 0.1)" ,
7273 } ,
7374 } }
7475 >
0 commit comments