-
Notifications
You must be signed in to change notification settings - Fork 1
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
User credit result/#91 #93
Changes from all commits
d7e2eb5
2f9a9a1
7f1a658
2eb619d
2cb9c45
7a8d64e
8322f71
cc857c9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import UserCreditResult from '@/app/ui/user/user-credit-result'; | ||
import Button from '@/app/ui/view/atom/button/button'; | ||
import Link from 'next/link'; | ||
import React from 'react'; | ||
|
||
export default function MyResultContainer() { | ||
return ( | ||
<div className="flex flex-col justify-center gap-10"> | ||
<p className="font-bold sm:text-3xl text-2xl ml-1 sm:ml-0">๋ง์ดํ์ด์ง</p> | ||
<UserCreditResult /> | ||
<div className="flex justify-center"> | ||
<Link href="/result"> | ||
<Button label="์๊ฐํํฉ ์์ธํ ๋ณด๊ธฐ" variant="primary" size="xs" /> | ||
</Link> | ||
</div> | ||
</div> | ||
); | ||
} |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { getUserInfo } from '@/app/business/user/user.query'; | ||
import books from '@/public/assets/books.png'; | ||
import pencil from '@/public/assets/pencil.png'; | ||
import Image from 'next/image'; | ||
|
||
export default async function UserCreditResult() { | ||
const userInfo = await getUserInfo(); | ||
return ( | ||
<div className="flex justify-between items-center bg-zinc-100 min-h-20 rounded-lg py-1 px-8 gap-3"> | ||
<div className="relative sm:h-20 sm:w-20 h-14 w-14"> | ||
<Image src={pencil} alt="pencil" layout="fill" /> | ||
</div> | ||
<p className="zIndex-1 text-sm md:text-base lg:text-lg"> | ||
{userInfo.studentName}๋, ์ด ๊ธฐ์คํ์ ์ค <span className="text-point-blue">{userInfo.takenCredit}</span>ํ์ ์ | ||
์๊ฐํ์ จ์ต๋๋ค! | ||
</p> | ||
<div className="relative sm:h-20 sm:w-20 h-14 w-14"> | ||
<Image src={books} alt="books" layout="fill" /> | ||
</div> | ||
</div> | ||
); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ export default async function UserInfoNavigator() { | |
<span className="font-semibold">{userInfo.studentName}</span> | ||
<span>๋</span> | ||
</div> | ||
<div className="mb-3 text-sm">{userInfo.major}</div> | ||
<div className="mb-3 text-sm">{userInfo.completionDivision[0].major}</div> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ์ฃผ์ ๊ณต ํ๋๋ง ๋ ธ์ถํ์ค ๊ณํ์ด์ ๊ฐ์? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ์ ์ด๊ฑฐ๋ mock ๋ฐ์ดํฐ๋ฅผ ๋ฐ๊พธ๋ฉด์ ์ค๋ฅ๊ฐ ๋์ง ์๊ฒ๋ ๋ฐ๊พผ ๊ฒ์ด๊ณ ์ด๋ค ๊ฑฐ ๋ ธ์ถํ ์ง๋ user info navigator ๋ด๋นํ์ ๋ถ์ด ์์ ํ์ง ์์๊น์ถ์ต๋๋ค..! |
||
<div className="text-sm text-gray-400">{userInfo.studentNumber}</div> | ||
|
||
<div className="mt-9"> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.