Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

랜딩페이지 gif 교체 #66

Merged
merged 3 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified src/assets/autocomplete.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/coverletter_example.png
Binary file not shown.
Binary file added src/assets/hire.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/mypage.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/components/create/coverletter/CoverLetterForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ export default function CoverLetterForm({ userId }: Props) {
onCreate: (e) => {
getCoverletterInfoByUserId(userId).then((res) => {
if ('code' in res) {
if (res.code === 404) setIsCreated(false);
if (res.code === 404) {
setIsCreated(false);
return;
}
notifyToast(res.message, 'error');
return;
}
Expand Down
6 changes: 3 additions & 3 deletions src/components/landing/LandingContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { MAIN_PATH } from '@/utils/const';
import { useRouter } from 'next/navigation';
import infinity from '@/assets/icons/rank/infinity_1.svg';
import wheel from '@/assets/icons/wheel_icon.svg';
import coverletter from '@/assets/coverletter_example.png';
import hire from '@/assets/hire.gif';
import EventHeader from '../shared/EventHeader';

export default function LandingContainer() {
Expand Down Expand Up @@ -165,8 +165,8 @@ export default function LandingContainer() {
</p>
</div>
<Image
src={coverletter}
alt="coverletter_landing_image"
src={hire}
alt="hire"
width={600}
className="rounded-2xl border-2"
/>
Expand Down