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

๐Ÿ’„ design: ๋ชจ๋ฐ”์ผ UI ๊ตฌํ˜„ (์†Œ๊ฐœ ํŽ˜์ด์ง€, ๋งˆ์ด ํŽ˜์ด์ง€, ์„ค์ • ํŽ˜์ด์ง€) #203

Merged
merged 9 commits into from
Sep 15, 2024

Conversation

ccconac
Copy link
Member

@ccconac ccconac commented Sep 15, 2024

โœ… ์ฒดํฌ๋ฆฌ์ŠคํŠธ

  • ์†Œ๊ฐœ ํŽ˜์ด์ง€ ๋ชจ๋ฐ”์ผ UI ๊ตฌํ˜„
    • ์†Œ๊ฐœ ํŽ˜์ด์ง€ UI ์˜ค๋ฅ˜ ์ˆ˜์ •
  • ๋งˆ์ด ํŽ˜์ด์ง€ ๋ชจ๋ฐ”์ผ UI ๊ตฌํ˜„
  • ์„ค์ • ํŽ˜์ด์ง€ ๋ชจ๋ฐ”์ผ UI ๊ตฌํ˜„

๐Ÿ“ ์ž‘์—… ์ƒ์„ธ ๋‚ด์šฉ

1๏ธโƒฃ ์†Œ๊ฐœ ํŽ˜์ด์ง€ ๋ชจ๋ฐ”์ผ UI ๊ตฌํ˜„

Sep-15-2024 14-45-46

๐Ÿ”ฅ ์†Œ๊ฐœ ํŽ˜์ด์ง€ UI ์˜ค๋ฅ˜ ์ˆ˜์ •

์ฑ„์—ฐ ๋‹˜์ด ๋งŒ๋“ค์–ด ์ฃผ์‹  loginModal hook์„ ์‚ฌ์šฉํ–ˆ๋”๋‹ˆ ๋ฐ”๋กœ ํ•ด๊ฒฐ๋˜์–ด ๋ฒ„๋ ธ์Šต๋‹ˆ๋‹ค.... ๐Ÿฅน ์ค‘๋ณต๋œ ๋ชจ๋‹ฌ ์‚ฌ์šฉ์œผ๋กœ ์ธํ•ด ๋ชจ๋‹ฌ ๊ฒน์นจ ํ˜„์ƒ์ด ๋ฐœ์ƒํ•˜๋Š” ๊ฒƒ์ด์—ˆ๊ณ ... ์ฑ„์—ฐ ๋‹˜์ด ๋งŒ๋“ค์–ด ์ฃผ์‹  hook ๋•๋ถ„์— ์ค‘๋ณต ์ฝ”๋“œ๊ฐ€ ๋ฐœ์ƒํ•˜์ง€ ์•Š์•„ ๋ฐ”๋กœ ํ•ด๊ฒฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ตœ๊ณ ....

  const { loginModal } = useModal();
  const [isLoggedIn, setIsLoggedIn] = useState<boolean>(false);

  useEffect(() => {
    const loggedIn = async () => {
      const accessToken = await checkAuth();
      if (accessToken) setIsLoggedIn(true);
    };

    loggedIn();
  }, []);

  type TStartButton = () => void;

  const handleStartButton: TStartButton = () => {
    if (isLoggedIn) navigate('/main');
    if (!isLoggedIn) loginModal();
  };

Sep-15-2024 14-48-15

2๏ธโƒฃ ๋งˆ์ด ํŽ˜์ด์ง€ ๋ชจ๋ฐ”์ผ UI ๊ตฌํ˜„

Sep-15-2024 14-45-32

3๏ธโƒฃ ์„ค์ • ํŽ˜์ด์ง€ ๋ชจ๋ฐ”์ผ UI ๊ตฌํ˜„

Sep-15-2024 14-45-42

๐Ÿšจ ๋ฒ„๊ทธ ๋ฐœ์ƒ ์ด์œ  (์„ ํƒ ์‚ฌํ•ญ)

๐Ÿ”Ž ํ›„์† ์ž‘์—… (์„ ํƒ ์‚ฌํ•ญ)

๐Ÿค” ์งˆ๋ฌธ ์‚ฌํ•ญ (์„ ํƒ ์‚ฌํ•ญ)

๐Ÿ“š ์ฐธ๊ณ  ์ž๋ฃŒ (์„ ํƒ ์‚ฌํ•ญ)

๐Ÿ“ธ ์Šคํฌ๋ฆฐ์ƒท (์„ ํƒ ์‚ฌํ•ญ)

โœ… ์…€ํ”„ ์ฒดํฌ๋ฆฌ์ŠคํŠธ

  • ๋ธŒ๋žœ์น˜ ํ™•์ธํ•˜๊ธฐ
  • ๋ถˆํ•„์š”ํ•œ ์ฝ”๋“œ๊ฐ€ ๋“ค์–ด๊ฐ€์ง€ ์•Š์•˜๋Š”์ง€ ์žฌํ™•์ธํ•˜๊ธฐ
  • issue ๋‹ซ๊ธฐ
  • reiewers, assignees, Lables ๋“ฑ๋ก ํ™•์ธํ•˜๊ธฐ

์ด์Šˆ ๋ฒˆํ˜ธ: #200

@ccconac ccconac added โœจfeature ๊ตฌํ˜„, ๊ฐœ์„  ์‚ฌํ•ญ ๊ด€๋ จ ๋ถ€๋ถ„ ๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ปfrontend ํ”„๋ก ํŠธ์—”๋“œ ์ž‘์—… ๐Ÿช„refactor ๋ฆฌํŒฉํ† ๋ง labels Sep 15, 2024
@ccconac ccconac requested review from rkdcodus and KKYHH September 15, 2024 05:53
@ccconac ccconac self-assigned this Sep 15, 2024
@rkdcodus rkdcodus merged commit fe4d961 into dev Sep 15, 2024
1 check passed
@ccconac ccconac deleted the design/200-mobile-ui branch September 15, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
โœจfeature ๊ตฌํ˜„, ๊ฐœ์„  ์‚ฌํ•ญ ๊ด€๋ จ ๋ถ€๋ถ„ ๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ปfrontend ํ”„๋ก ํŠธ์—”๋“œ ์ž‘์—… ๐Ÿช„refactor ๋ฆฌํŒฉํ† ๋ง
Projects
None yet
2 participants