File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Image from 'next/image';
33import LoginForm from '@/components/auth/LoginForm' ;
44
55const Login = ( ) => (
6- < div className = "login h-dvh flex justify-center" >
6+ < div className = "login h-dvh flex justify-center z-[100] " >
77 < div className = "flex flex-col text-center flex-1" >
88 < h1 className = "py-[22.5px] border-b mb-[40px] border-b-gray-200 font-semibold text-gray-900" >
99 로그인
Original file line number Diff line number Diff line change 11import Link from 'next/link' ;
22
3+ import { getUser } from '@/lib/auth' ;
4+
35import '@/styles/global.css' ;
46
5- const Gnb = ( ) => {
7+ const Gnb = async ( ) => {
8+ try {
9+ const user = await getUser ( ) ;
10+
11+ if ( ! user ) {
12+ return null ;
13+ }
14+ } catch {
15+ return null ;
16+ }
17+
618 return (
719 < nav className = "fixed z-5 bottom-0 max-w-[780px] w-full before:content-[''] before:w-full before:h-[130px] before:absolute before:bottom-0 before:left-0 before:bg-gradient-to-t from-white to-transparent" >
820 < ul className = "relative z-10 flex pt-[8px] pb-[24px] bg-white rounded-[20px_20px_0_0] shadow-[0_-4px_16px_0_#0000000D]" >
You can’t perform that action at this time.
0 commit comments