Skip to content

Commit

Permalink
feat: home 이미지 교체
Browse files Browse the repository at this point in the history
  • Loading branch information
Jungjjeong committed Aug 28, 2024
1 parent b5b0304 commit 40d34db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useAtomValue } from 'jotai';

import { Image, LoadingArea } from '@/components/atoms';
import { useCurrentMemberInfo } from '@/hooks';
import SwimieCharacterImage from '@/public/images/swimie-character.png';
import { calendarSwimCountAtom } from '@/store';
import { css } from '@/styled-system/css';
import { flex } from '@/styled-system/patterns';
Expand All @@ -23,10 +24,9 @@ export const UserCalendarProfile = () => {
<>
<div className={profileContainerStyles}>
<Image
className={characterImageStyles}
width={70}
height={75}
src="/images/swimie-character.png"
width={91}
height={88}
src={SwimieCharacterImage}
alt="swimie character"
priority
/>
Expand All @@ -46,19 +46,13 @@ export const UserCalendarProfile = () => {
};

const profileContainerStyles = flex({
padding: '0px 14px',
gap: '4px',
padding: '0px 15px',
gap: '10px',
alignItems: 'center',
borderRadius: '6px',
backgroundColor: 'primary.swim.총거리.default',
});

const characterImageStyles = css({
minWidth: '70px',
minHeight: '75px',
margin: '14px 10px -1px 10px',
});

const userInfoStyles = flex({
height: 'full',
direction: 'column',
Expand Down
Binary file modified public/images/swimie-character.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 40d34db

Please sign in to comment.