Skip to content

Commit b75cb48

Browse files
committed
refactor: login 배경 이미지 WebP로 변환 및 배럴 파일 추가
1 parent 957b427 commit b75cb48

4 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/pages/login/ui/LoginPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import loginBg from '@shared/assets/background/login_background.png';
1+
import { loginBackgroundImg } from '@shared/assets/background';
22
import { kakaoLoginImg } from '@shared/assets/icons';
33
import { Logo } from '@shared/ui/Logo';
44
import { loginStyles as s } from './LoginPage.styles';
55

66
export default function LoginPage() {
77
return (
8-
<div className={s.wrapper} style={{ backgroundImage: `url(${loginBg})` }}>
8+
<div className={s.wrapper} style={{ backgroundImage: `url(${loginBackgroundImg})` }}>
99
<div className="flex h-full w-full flex-col items-center justify-center gap-[26px] px-6 py-12">
1010
<Logo className="h-[36px] w-[192px] cursor-pointer" />
1111

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as loginBackgroundImg } from './login_background.webp';
-1.78 MB
Binary file not shown.
168 KB
Loading

0 commit comments

Comments
 (0)