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

chore: Update image assets #116

Merged
merged 1 commit into from
Sep 19, 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
36 changes: 13 additions & 23 deletions src/pages/leagueoflegends/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,13 @@ const Card = ({ item, expired }: CardProps) => {
>
<CardContainer expired={expired}>
<CardTitleWrapper>
<ImgMixBlendMode>
<img
src={position?.imageUrl || ''}
alt="position_to_find"
loading="lazy"
height="40px"
width="40px"
/>
</ImgMixBlendMode>
<img
src={position?.imageUrl || ''}
alt="position_to_find"
loading="lazy"
height="40px"
width="40px"
/>
<CardTitle>
<TopInfo>
<TopInfoTypo>#{queueType?.label || '모든큐'}</TopInfoTypo>
Expand Down Expand Up @@ -188,14 +186,12 @@ const Card = ({ item, expired }: CardProps) => {
<SectionContent>
{mostLane ? (
<>
<ImgMixBlendMode>
<img
src={mostLane?.imageUrl}
alt={mostLane?.value}
width="24px"
height="24px"
/>
</ImgMixBlendMode>
<img
src={mostLane?.imageUrl}
alt={mostLane?.value}
width="24px"
height="24px"
/>
<SectionTypo>{mostLane?.label}</SectionTypo>
</>
) : (
Expand Down Expand Up @@ -294,12 +290,6 @@ const CardTitleWrapper = styled(MuiBox)(() => ({
justifyContent: 'flex-start',
})) as typeof MuiBox;

const ImgMixBlendMode = styled(MuiBox)(() => ({
'& > img': {
mixBlendMode: 'exclusion',
},
})) as typeof MuiBox;

const CardTitle = styled(MuiBox)(() => ({
display: 'flex',
flexDirection: 'column',
Expand Down
3 changes: 0 additions & 3 deletions src/pages/leagueoflegends/MemberSlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,6 @@ const Nickname = styled(MuiTypography)(() => ({
const MostLaneInfo = styled(MuiBox)(() => ({
display: 'flex',
flexDirection: 'row',
'& > img': {
mixBlendMode: 'exclusion',
},
})) as typeof MuiBox;

const MostLanteTypo = styled(MuiTypography)(() => ({
Expand Down
2 changes: 1 addition & 1 deletion src/pages/overwatch/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const positionList: OVERWATCH_POSITION[] = [
{
value: 'ALL',
label: '전체',
imageUrl: 'https://cdn.match-gg.kr/lol/lane_icons/ALL.png',
imageUrl: 'https://cdn.match-gg.kr/overwatch/roles/ALL.png',
},
{
value: 'TANK',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/register/Games.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Games = () => {
// TODO: valorant 닉네임 받아서 처리하기 필요
React.useEffect(() => {
const sendRsoAccessCode = async () => {
const response = await defaultAxios.post('/api/valorant/user/exist', {
const response = await defaultAxios.post('/api/valorant/user/sign', {
code: rsoAccessCode as string,
});

Expand Down