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

[GGFE-44] Style Rank Trophy #807

Merged
merged 49 commits into from
Jun 15, 2023

Conversation

parksangmin1543
Copy link
Contributor

@parksangmin1543 parksangmin1543 commented Jun 2, 2023

๐Ÿ“Œ ๊ฐœ์š”

  • rank-trophy ๋ฉ”์ธ๊ณผ ๋žญํ‚นํŽ˜์ด์ง€์— ์ถ”๊ฐ€

๐Ÿ’ป ์ž‘์—…์‚ฌํ•ญ

  • ํŠธ๋กœํ”ผ๋ฉ”์ธ๊ณผ ๋žญํ‚นํŽ˜์ด์ง€์— ๋”ฐ๋ผ ๋†’์ด๊ฐ’ ๋ณ€๊ฒฝ
  • ํ† ๊ธ€๋ฒ„ํŠผ์— ๋”ฐ๋ผ ์ƒ‰์ƒ๋ณ€๊ฒฝ
  • ์‹œ์ฆŒ๋ฆฌ์ŠคํŠธ ๋””์ž์ธ ๋ณ€๊ฒฝ
  • ๋žญํ‚นํŽ˜์ด์ง€์ผ๋•Œ ์‹œ์ฆŒ, ํ† ๊ธ€ ๋ณ€๊ฒฝ์‹œ ๋žญ์ปค๋ณ€๊ฒฝ
  • 1,2,3๋“ฑ ์ˆœ์œผ๋กœ ๋ฐ›์•„์˜ค๊ธฐ ๋•Œ๋ฌธ์— 2 1 3๋“ฑ ์ˆœ์œผ๋กœ ๋ณ€๊ฒฝ
  • ๋ชจ๋ฐ”์ผ ํ™˜๊ฒฝ์ผ ๊ฒฝ์šฐ trophy ์œ„์น˜ ์กฐ์ •

โœ… ๋ณ€๊ฒฝ๋กœ์ง

Copy link
Contributor

@PHJoon PHJoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค!! ๐Ÿ‘ ์—๋Ÿฌ ์ฃผ์„๊ณผ ์ฝ˜์†”๋งŒ ์ฒ˜๋ฆฌํ•˜์‹œ๋ฉด ๋  ๊ฒƒ ๊ฐ™์•„์š”!!

url: makePathRanker,
setState: (data) => {
const temp = data?.rankList[1];
data?.rankList.splice(1, 1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[data.rankList[0], data.rankList[1]] = [data.rankList[1], data.rankList[0]] ์œผ๋กœ๋„ ์›ํ•˜์‹œ๋Š” ๊ฐ’์„ ์–ป์„ ์ˆ˜ ์žˆ๋Š” ๊ฒƒ ๊ฐ™์•„์š”!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ข‹์€ ๋ฐฉ๋ฒ•์ด๋„ค์š”! ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค

@42sungwook 42sungwook changed the title GGFE-44 style rank trophy [GGFE-44] Style Rank Trophy Jun 3, 2023
Copy link
Contributor

@42sungwook 42sungwook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๊ฑฐ๋Š” ์ž˜๋ชป์ƒ์„ฑ๋œ ํŒŒ์ผ์ธ๊ฑฐ๊ฐ™์€๋ฐ ๋งž์„๊นŒ์š”?

Comment on lines 20 to 23
<PlayerImage
src={userImageUri} //์‚ฌ์ง„ ํฌ๊ธฐ ํ‚ค์šฐ๊ธฐ,
styleName={rank === 1 ? 'ranktropy' : 'gameResultBig'}
size={50}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฃผ์„์€ ์ฒ˜๋ฆฌ๊ฐ€ ๋œ๋˜์–ด์„œ ๋‚จ์•„์žˆ๋Š” ๊ฑด๊ฐ€์š”?
์Šคํƒ€์ผ์„ ์ฐพ์•„๋ณด๋‹ˆ๊นŒ gameResultBig์ด๋ผ๋Š” ์Šคํƒ€์ผ์ด ์กด์žฌํ•˜์ง€ ์•Š๋Š”๋ฐ ์‚ผํ•ญ์—ฐ์‚ฐ์„ ์“ฐ์‹  ์ด์œ ๊ฐ€ ๊ถ๊ธˆํ•ด์š”!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gameResultBig์€ PlayerImage์—์„œ ๊ธฐ์กด์— game๊ฒฐ๊ณผ ๋ณด์—ฌ์ค„ ๋•Œ ํฌ๊ฒŒ ๋ณด์ด๋Š” ํ•ญ๋ชฉ์˜ ์‚ฌ์ง„์— ์‚ฌ์šฉํ•˜๋Š” ์Šคํƒ€์ผ์œผ๋กœ ์•Œ๊ณ  ์žˆ์–ด์š”! (์›๋ž˜ ์žˆ๋˜ ๊ฒƒ์ด๋ผ ๋ณ€๊ฒฝ์‚ฌํ•ญ์—๋Š” ๋ฐ˜์˜๋˜์ง€ ์•Š์•˜๋„ค์š”)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gameResultBig์€ ์›๋ž˜ ์‚ฌ์šฉ๋˜๋˜ ๋ถ€๋ถ„์ด๊ณ  ranktropy๋Š” rank๊ฐ€ 1๋“ฑ์ธ ๊ฒฝ์šฐ์—๋งŒ ํฌ๊ธฐ๋ณ€ํ™”๊ฐ€ ํ•„์š”ํ•ด์„œ ๋”ฐ๋กœ ์ค€ ๋ถ€๋ถ„์ž…๋‹ˆ๋‹ค.

const content = {
normal: { style: styles.normal, title: 'VIP' },
rank: { style: '', title: 'Champion' },
both: { style: '', title: 'Champion' },
};

//console.log(rank);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฝ˜์†”๋กœ๊ทธ๋Š” ์ง€์›Œ์ฃผ์„ธ์š”~

Comment on lines 3 to 7
const useModeToggle = (toggleMode: 'normal' | 'rank') => {
const [Mode, setMode] = useState(toggleMode);

const onToggle = (): void => {
setMode(Mode === 'RANK' ? 'NORMAL' : 'RANK');
setMode(Mode === 'rank' ? 'normal' : 'rank');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด ๋ถ€๋ถ„์€ ๋‹ค์‹œ ์†Œ๋ฌธ์ž๋กœ ๋ฐ”๋€Œ๋Š”๊ฒŒ ๋งž๋Š”๊ฑด๊ฐ€์š”?

@@ -54,7 +54,7 @@ const useAxiosGet = ({
} else if (type === 'console') {
console.log(err);
} else if (type === 'setError') {
setError(err);
//setError(err);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฃผ์„ ํ’€์–ด์ฃผ์„ธ์š”!

Comment on lines 107 to 125
.leaf {
height: 8.4rem;
background: linear-gradient(
70.48deg,
#693200 28.73%,
#ed9b00 38.5%,
#fede5d 41.72%,
#fffdd2 60.48%,
#b5661d 73.6%,
#5c2f06 76.05%
);
border-radius: 65px 65px 100px 0px;
}

.leaf1 {
height: 8rem;
background: linear-gradient(180deg, #ffcf55 36.24%, #ff823c 73.96%);
border-radius: 65px 65px 100px 0px;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด์˜๊ฒŒ ์ž˜๋‚˜์˜ค๋„ค์š” ์งฑ์ด์—์—ฌ๐Ÿ‘๐Ÿ‘

font-size: 1.05rem;
display: grid;
grid-template-columns: 1fr 1fr 1fr; /* grid-template-rows๋กœ ๋ณ€๊ฒฝ */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฃผ์„์œผ๋กœ ๋‚จ๊ธฐ์‹  ๋ถ€๋ถ„๋“ค์€ ํ™•์ธํ•ด์ฃผ์‹œ๊ณ  ์ด๋ฏธ ์ˆ˜์ •๋œ ์‚ฌํ•ญ์ด๋ฉด ์ง€์›Œ์ฃผ์‹œ๋ฉด ๊ฐ์‚ฌํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค~

color: white;
font-size: 1.8rem;
font-family: $title-font;
text-shadow: $text-border-black;
z-index: 1;
//text-shadow: $text-border-black;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฃผ์„22

@@ -18,7 +18,7 @@ export default function InfScroll(path: string) {
},
onError: (e: any) => {
if (e.response.data.code === 'UF001') setError('JB07');
else setError('KP01');
//else setError('KP01');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์—ฌ๊ธฐ๋„ ์ฃผ์„ ํ•ด์ œํ•ด์ฃผ์„ธ์š”

Sangmin Park and others added 18 commits June 10, 2023 19:00
This reverts commit a74658f.
โ€ฆyle-Rank-Trophy"

This reverts commit cc2e73a, reversing
changes made to a74658f.
Copy link
Contributor

@PHJoon PHJoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋žญํฌ ํŠธ๋กœํ”ผ ์ด๋ฏธ์ง€ ์˜ˆ์˜๊ฒŒ ์ž˜ ์ ์šฉ๋ฉ๋‹ˆ๋‹ค ๐Ÿ‘ ์ฝ”๋ฉ˜ํŠธ์— ๋‚จ๊ฒจ๋†จ๋Š”๋ฐ ๋žญํฌ ํŠธ๋กœํ”ผ์—์„œ intraId ํฐํŠธ ์ƒ‰์ƒ ๋‹ค๋ฅธ ๊ฑฐ๋ž‘ ๋ฑ… ์ด๋ฏธ์ง€ ๋ชจ๋ฐ”์ผ์—์„œ ์›€์ง์ด๋Š” ๊ฑฐ๋งŒ ์ˆ˜์ •ํ•˜์‹œ๋ฉด ๋  ๋“ฏํ•ฉ๋‹ˆ๋‹ค!! ๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค!! ๐Ÿ‘

const seasonMode = 'RANK';
export const ToggleModeContext = createContext<'RANK' | 'NORMAL'>('RANK');

export default function RankList(prop: RankListProps) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด ๋ถ€๋ถ„์€ {toggleMode, season, isMain}: RankListProps๋กœ ์ธ์ž ์•ˆ์—์„œ ๊ตฌ์กฐ๋ถ„ํ•ดํ•ด๋„ ๋  ๊ฒƒ ๊ฐ™์•„์š”!

<RankListItem
key={index}
toggleMode={toggleMode}
user={makeUser(item)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makeUser์˜ ๋ฐ˜ํ™˜๊ฐ’๋„ ํƒ€์ž… ์ง€์ •ํ•ด์ฃผ๋ฉด RankListItem์—์„œ ํƒ€์ž… ๊ฒฝ๊ณ  ์—†์–ด์งˆ ๋“ฏ ํ•ฉ๋‹ˆ๋‹ค!

styleName={rank === 1 ? 'ranktropybig' : 'ranktropy'}
size={50}
/>
<span>{intraId}</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ํ”ผ๊ทธ๋งˆ ๋ณด์‹œ๋ฉด intraId๋„ ์ˆœ์œ„์— ๋”ฐ๋ผ ํฐํŠธ์ƒ‰๊น”์ด ๋‹ฌ๋ผ์ง€๋Š” ๊ฒƒ ๊ฐ™์•„์š”!!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์™€ ๊ฒ€์€์ƒ‰์ธ์ค„ ์•Œ์•˜๋Š”๋ฐ ๋“ฑ์ˆ˜์— ๋”ฐ๋ผ ์ƒ‰์ƒ์ด ๋‹ค ๋‹ค๋ฅด๋„ค์š” ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

both: { style: '', title: 'Champion' },
};
export default function RankListMain({ rank, isMain }: RankListMainProps) {
const bangElements = Array.from({ length: 5 }, (_, index) => (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Array๋ฅผ ์ด๋ ‡๊ฒŒ๋„ ๋งŒ๋“ค ์ˆ˜ ์žˆ๊ตฐ์š”. ๋ฐฐ์›Œ๊ฐ‘๋‹ˆ๋‹ค!! ๐Ÿ‘

}
}

@media (max-width: 767px) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋ฏธ๋””์–ด์ฟผ๋ฆฌ๋กœ ํ™”๋ฉด ํฌ๊ธฐ์— ๋”ฐ๋ผ ํฌ๊ธฐ ๋‹ค๋ฅด๊ฒŒ ์ ์šฉํ•˜๋Š” ๊ฑฐ ์ข‹๋„ค์š”! ๐Ÿ‘

transform: scale(1.14);
}

.mainData:nth-child(1) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nth-child ํ™œ์šฉํ•˜๋Š” ๊ฑฐ ๋ฐฐ์šฐ๊ณ  ๊ฐ‘๋‹ˆ๋‹ค!! ๐Ÿ‘

@@ -59,3 +59,31 @@
@include userImage(4.7rem);
}
}

.ranktropybig {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ํ”Œ๋ ˆ์ด์–ด ์ด๋ฏธ์ง€๊ฐ€ ํ”ผ๊ทธ๋งˆ์—์„œ๋Š” ํ…Œ๋‘๋ฆฌ๊ฐ€ ์—†๋Š”๋ฐ ๋”ฐ๋กœ ์ถ”๊ฐ€ํ•˜์‹  ๊ฑธ๊นŒ์š”?

margin-top: -7.5rem;
}

.bang {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋ชจ๋ฐ”์ผ ํ™”๋ฉด์—์„œ๋Š” bang์ด ํ•œ์ชฝ์œผ๋กœ ์ ๋ ค์„œ ๋‚˜์˜ค๋„ค์š” ๐Ÿ˜ฑ ์ˆ˜์ •๋ถ€ํƒ๋“œ๋ ค์š”!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์•Œ๋ ค์ฃผ์‹  ๋ฐฉ๋ฒ•์œผ๋กœ ์ˆ˜์ •ํ•ด๋‘์—ˆ์Šต๋‹ˆ๋‹ค!

Copy link
Member

@yoouyeon yoouyeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CSS ๋งˆ์Šคํ„ฐ,,,๐Ÿ˜ณ ํŠธ๋กœํ”ผ ๋ถ€๋ถ„ ์˜ˆ์˜๊ฒŒ ์ž˜ ๋‚˜์˜ค๊ณ  ์—๋Ÿฌ๋“ค๋„ ์‚ฌ๋ผ์กŒ๋„ค์š”!! ๐Ÿ‘ ์ˆ˜๊ณ ํ•˜์…จ์Šต๋‹ˆ๋‹ค!!

Comment on lines +65 to +71
{rank?.rankList.map((item: NormalUser | RankUser, index) => (
<RankListItem
key={index}
toggleMode={toggleMode}
user={makeUser(item)}
/>
))}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋งŒ์•ฝ์— rank ๋ฐฐ์—ด์˜ ์›์†Œ๊ฐ€ 3๊ฐœ ๋ฏธ๋งŒ์ด๋ฉด ์–ด๋–ป๊ฒŒ ๋˜๋‚˜์š”? ์ €๋ฒˆ์— ์‹œ์ฆŒ ์ƒˆ๋กœ ๋งŒ๋“ค์—ˆ์„ ๋•Œ ์ˆœ์œ„๊ฐ€ 2๋“ฑ๊นŒ์ง€์ธ๊ฐ€ ๋ฐ–์— ์—†์—ˆ๋˜ ๊ฒƒ์„ ๋ณธ ์ ์ด ์žˆ์—ˆ๋Š”๋ฐ ๊ทธ๋•Œ๋Š” ๊ทธ๋ƒฅ ๋น„์–ด์žˆ์—ˆ๋˜ ๊ฒƒ ๊ฐ™์•„์„œ์š”. ์ง€๊ธˆ์€ ์–ด๋–ป๊ฒŒ ์ฒ˜๋ฆฌ๋˜์–ด์žˆ๋‚˜ ๋ณด๊ณ ์‹ถ๊ธด ํ•œ๋ฐ ๋ณผ ๋ฐฉ๋ฒ•์ด ์—†๋„ค์š”... (์ด๋ ‡๊ฒŒ ์ง์ ‘ ํ™•์ธํ•ด๋ณด๊ธฐ ์–ด๋ ค์šด ๊ฒฝ์šฐ์—๋Š” story ๋งŒ๋“ค์–ด์ฃผ์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์•„์š” ๐Ÿ‘)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋ฐฐ์—ด์ด ๋ถ€๋ถ„์ ์œผ๋กœ ์—†์„๊ฒฝ์šฐ , ์•„์˜ˆ์—†์„๊ฒฝ์šฐ ๋ฌผ์Œํ‘œ๋‚˜์˜ค๊ฒŒ ์ฒ˜๋ฆฌํ–ˆ์Šต๋‹ˆ๋‹ค. ์Šคํ† ๋ฆฌ๋Š” 1,2,3๋“ฑ ๋ฐ์ดํ„ฐ์—†์„๋•Œ ์—๋Ÿฌ๊ฐ€ ๋– ์„œ 3๋“ฑ๋งŒ ์—†์„๊ฒฝ์šฐ๋งŒ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค.

const { rank, intraId, statusMessage, point, level } = user;
const myIntraId = useRecoilValue(userState).intraId;
const wrapStyle = {
evenOdd: index % 2 === 0 ? styles.even : styles.odd,
topStandard: rank < 4 ? styles.top : styles.standard,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์—ฌ๊ธฐ์„œ ์—๋Ÿฌ๋‚˜๋Š”๋ฐ ํ™•์ธํ•ด์ฃผ์‹ค ์ˆ˜ ์žˆ๋‚˜์š”? rank์˜ ํƒ€์ž…์ด string | number๋ผ์„œ < ์—ฐ์‚ฐ์ž๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†๋‹ค๋Š” ๊ฒƒ ๊ฐ™์•„์š”...!
์•„๋งˆ string์ธ ๊ฒฝ์šฐ์—๋Š” styles.standard๊ฐ€ ์ ์šฉ๋˜์—ˆ๋˜ ๊ฒƒ ๊ฐ™์€๋ฐ, rank๊ฐ€ string์ธ ๊ฒฝ์šฐ๊ฐ€ ์ž˜ ๊ณ ๋ ค๋˜๊ณ  ์žˆ๋Š”์ง€ (์• ์ดˆ์— rank๊ฐ€ string์ผ ํ•„์š”๊ฐ€ ์žˆ๋Š”์ง€?) ํ™•์ธํ•ด๋ด์•ผ ํ•  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ranklist ๋ฐ์ดํ„ฐ๋ฅผ ์ „์—๋Š” ๊ฐ€์ž…ํ•œ ๋ชจ๋“  ๋ถ„๋“ค์„ ๋ฐ›์•„์™€ ํ•œ๋ฒˆ๋„ ์•ˆํ–ˆ์„๊ฒฝ์šฐ์—๋„ ๋žญํ‚น์— '-'์ด๋ ‡๊ฒŒ ํ‘œ์‹œํ•˜๊ธฐ ์œ„ํ•ด์„œ ์‚ฌ์šฉํ–ˆ์—ˆ์Šต๋‹ˆ๋‹ค. ํ˜„์žฌ๋Š” ํ•„์š”์—†์–ด์„œ ์ˆ˜์ •ํ–ˆ์Šต๋‹ˆ๋‹ค.

Comment on lines 43 to 49
className={`${
rank === 1
? styles.rankNumber1
: rank === 2
? styles.rankNumber2
: styles.rankNumber3
} ${toggleMode === 'NORMAL' && styles.normal}`}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๋ถ€๋ถ„ rank์˜ ๊ฐ’์ด 1, 2, 3 ๋ฟ์ด๋ผ๋ฉด ${styles[`rankNumber${rank}`]} ์ด๋Ÿฐ ์‹์œผ๋กœ ํ•˜๋ฉด ์ข€ ๋” ๋ณด๊ธฐ ์ข‹์„ ๊ฒƒ ๊ฐ™๊ธด ํ•œ๋ฐ, ์œ„์—์„œ ๋ง์”€๋“œ๋ ธ๋˜๊ฒƒ์ฒ˜๋Ÿผ rank๊ฐ€ string์ธ ๊ฒฝ์šฐ์— ์–ด๋–ป๊ฒŒ ๋ ์ง€ ๋ด์•ผ ํ•  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค..!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ข‹์€ ๋ฐฉ๋ฒ• ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

Comment on lines 78 to 89
@media (max-width: 467px) {
.ranktropy {
div {
@include userImage(4rem);
}
}
.ranktropybig {
div {
@include userImage(5rem);
}
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋„ˆ๋น„์— ๋”ฐ๋ผ ํฌ๊ธฐ ๋‹ค๋ฅด๊ฒŒ ํ•˜๋‹ˆ๊นŒ ํ™•์‹คํžˆ ๋œ ์–ด์ƒ‰ํ•œ ๊ฒƒ ๊ฐ™๋„ค์š” ๐Ÿ‘

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

&.vip {
text-shadow: $text-border-black, 0.3rem 0.3rem 0 $norm-lightblue2;
}
margin-top: -4rem;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

margin์— ์Œ์ˆ˜๊ฐ’์„ ์ฃผ์‹  ์ด์œ ๊ฐ€ ๋ฌด์—‡์ธ๊ฐ€์š”???

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋…ธํ‹ฐ๋ฐ”์™€ ํƒ€์ดํ‹€์‚ฌ์ด๊ฐ€ ๋ฉ€์–ด์„œ ์ถ”๊ฐ€ํ–ˆ์—ˆ๋Š”๋ฐ ํ†ต์ผ๊ฐ์„ ์œ„ํ•ด ์ผ๋‹จ ์‚ญ์ œํ–ˆ์Šต๋‹ˆ๋‹ค. ๋‹ค๋ฅธ ์ข‹์€ ๋ฐฉ๋ฒ• ์ƒ๊ฐํ•ด๋ณด๋ฉด ์ข‹์„๊ฒƒ ๊ฐ™์•„์š”

Comment on lines 29 to 31
.myRank-text {
pointer-events: auto;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pointer-events: auto ๋Š” ์—ฌ๊ธฐ์„œ ์–ด๋–ค ๊ธฐ๋Šฅ์„ ํ•˜๋Š”๊ฑด๊ฐ€์š”..?
๊ทธ๋ฆฌ๊ณ  myRank-text ๋ฅผ ๊ฒ€์ƒ‰ํ•ด๋ดค์„ ๋•Œ ์ด ํด๋ž˜์Šค๋กœ ์ง€์ •๋œ ํด๋ž˜์Šค๊ฐ€ ์—†๋Š” ๊ฒƒ ๊ฐ™์€๋ฐ ์–ด๋””์„œ ์“ฐ์ด๋Š”๊ฑด๊ฐ€์š”?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

myrank์ „์ฒด ๋ถ€๋ถ„์„ ํด๋ฆญํ• ์ˆ˜ ์žˆ๊ฒŒ ๋˜์–ด ๋ฐฉ๋ฒ•์„ ์ฐพ๋Š” ์ค‘์— ์‚ญ์ œํ–ˆ์–ด์•ผ ํ•˜๋Š” ๋ถ€๋ถ„์ž…๋‹ˆ๋‹ค. ํ˜„์žฌ๋Š” ์ „๊ณผ ๋น„์Šทํ•œ ๋ฐฉ๋ฒ•์œผ๋กœ ์ˆ˜์ •ํ–ˆ์Šต๋‹ˆ๋‹ค

Comment on lines +187 to +189
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

background-clip ์†์„ฑ์œผ๋กœ text์—๋งŒ ๋ฐฐ๊ฒฝ์„ ์ ์šฉํ•  ์ˆ˜ ์žˆ๋Š”๊ฑด๊ฐ€์š”?? ์ฒ˜์Œ ์•Œ์•˜๋„ค์š” ๐Ÿ‘

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋‹น๊ทผ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

}
}

.rankNumber2 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์–ธ๋œป ๋ดค์„ ๋•Œ rankNumber1, 2, 3๋“ค์— ๋น„์Šทํ•œ ์†์„ฑ๋“ค์ด ๋งŽ์•„ ๋ณด์ด๋Š”๋ฐ ๊ฐ€๋Šฅํ•˜๋ฉด mixin์œผ๋กœ ํ•ฉ์น˜๋Š” ๊ฒƒ๋„ ๋ณด๊ธฐ์— ์ข‹์„ ๊ฒƒ ๊ฐ™์•„์š”

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mixin์„ ํ™œ์šฉํ•ด์„œ ์ˆ˜์ •ํ–ˆ์Šต๋‹ˆ๋‹ค.

@42sungwook 42sungwook merged commit bdbc419 into GGFE-00/Feat/api-refactoring Jun 15, 2023
@42sungwook 42sungwook deleted the GGFE-44-Style-Rank-Trophy branch June 19, 2023 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants