diff --git a/src/features/login/logo.svg b/public/svg/logo.svg similarity index 100% rename from src/features/login/logo.svg rename to public/svg/logo.svg diff --git a/src/features/login/Container.tsx b/src/features/login/Container.tsx index 4ca9efe..9ceffdd 100644 --- a/src/features/login/Container.tsx +++ b/src/features/login/Container.tsx @@ -1,9 +1,10 @@ import { FunctionComponent } from 'react'; import useLogin from './hooks/useLogin'; -import logo from './logo.svg'; import './style/index.scss'; +import logo from '/svg/logo.svg'; + const LoginContainer: FunctionComponent = () => { const { errors, register, handleSubmit, onSubmit } = useLogin(); diff --git a/src/features/shared/layout/components/Title.tsx b/src/features/shared/layout/components/Title.tsx index b525cc0..177cb70 100644 --- a/src/features/shared/layout/components/Title.tsx +++ b/src/features/shared/layout/components/Title.tsx @@ -4,6 +4,7 @@ import { useNavigate } from 'react-router-dom'; import { titleAtom } from '../atom'; +import logo from '/svg/logo.svg'; import backLogo from '/svg/back.svg'; const LayoutTitle: FunctionComponent = () => { @@ -23,7 +24,15 @@ const LayoutTitle: FunctionComponent = () => { )} -