Skip to content

Commit 7fb5514

Browse files
authored
fix: PC 레이아웃 네비게이션바 수정 (#677)
2 parents bb7e283 + c49085b commit 7fb5514

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components/Navbar.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/* eslint-disable jsx-a11y/click-events-have-key-events */
22
/* eslint-disable jsx-a11y/no-noninteractive-tabindex */
33
/* eslint-disable jsx-a11y/no-static-element-interactions */
4-
import { useEffect, useState } from 'react'
5-
import Link from 'next/link'
64
import dynamic from 'next/dynamic'
5+
import Link from 'next/link'
76
import { useRouter } from 'next/router'
7+
import { useEffect, useState } from 'react'
88

9-
import { redirectTo } from '@utils/Tools'
10-
import Fetch from '@utils/Fetch'
119
import { Nullable, User, UserCache } from '@types'
10+
import Fetch from '@utils/Fetch'
11+
import { redirectTo } from '@utils/Tools'
1212

1313
const DiscordAvatar = dynamic(() => import('@components/DiscordAvatar'))
1414

@@ -51,7 +51,7 @@ const Navbar: React.FC<NavbarProps> = ({ token }) => {
5151
}, [token])
5252
return (
5353
<>
54-
<nav className='fixed top-0 z-40 flex w-full flex-wrap items-center justify-between bg-discord-blurple px-2 py-3 text-gray-100 dark:bg-discord-black lg:absolute'>
54+
<nav className='fixed top-0 z-40 flex w-full flex-wrap items-center justify-between bg-discord-blurple px-2 py-3 text-gray-100 dark:bg-discord-black'>
5555
<div className='container mx-auto flex flex-wrap items-center justify-between px-4'>
5656
<div className='relative flex w-full justify-between lg:w-auto lg:justify-start'>
5757
<Link

0 commit comments

Comments
 (0)