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

Result refactor/#137 #145

Merged
merged 25 commits into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
e8ac9b5
feat: add graduate_result announce
yougyung Sep 6, 2024
fac8575
feat: add target attribute in NavigationItem
yougyung Sep 6, 2024
ebcd837
fix: add tutorial page in initUserPath
yougyung Sep 6, 2024
7818e7b
style: fix reponsive result page
yougyung Sep 10, 2024
85de811
style: fix skeleton result page
yougyung Sep 10, 2024
ae28dc7
fix: change announce text
yougyung Sep 10, 2024
a0e7148
style: change style grade upload page
yougyung Sep 10, 2024
b4107dd
style: change steyl sing-up success
yougyung Sep 10, 2024
68b0635
chore: change tutorial image
yougyung Sep 10, 2024
06dec34
fix: change tutorial text
yougyung Sep 10, 2024
2598822
fix: remove unused component
yougyung Sep 11, 2024
1620337
style: redesign tutorial page
yougyung Sep 11, 2024
925b017
chore: commit for merge
yougyung Sep 11, 2024
7d93ec3
style: fix user-info department overflow issue
yougyung Sep 11, 2024
8f06dcc
chore: commit for merge
yougyung Sep 11, 2024
2604545
refactor: change calculate remainCredit
yougyung Sep 11, 2024
9e63bfb
fix: change announce text
yougyung Sep 11, 2024
fd28940
refactor: change calculate remainCredit
yougyung Sep 11, 2024
e68f51d
fix: grade-upload redirect resultpage
yougyung Sep 12, 2024
1a71c60
fix: remove unused import
yougyung Sep 12, 2024
7b75357
fix: redirect user by type
yougyung Sep 12, 2024
235ffe5
style: add margin in UserInfoMessage
yougyung Sep 12, 2024
581f6ad
chore: remove unused code
yougyung Sep 12, 2024
5a0c9ca
fix: change credit text
yougyung Sep 13, 2024
e8e5023
refactor: change calculate remainCredit
yougyung Sep 13, 2024
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
6 changes: 4 additions & 2 deletions app/(sub-page)/components/navigation-items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default async function NavigationItems() {
)}
<NavigationItem href={'/tutorial'} label="νŠœν† λ¦¬μ–Ό" />
<NavigationItem
target="_black"
href={'https://soft-anorak-0ca.notion.site/e35e3b210995463fa748f35aab536f2c?pvs=74'}
label="νŒ€μ†Œκ°œ"
/>
Expand All @@ -28,11 +29,12 @@ export default async function NavigationItems() {
interface NavigationItemProps {
href: string;
label: string;
target?: '_black' | '_self' | '_parent' | '_top';
}

export function NavigationItem({ href, label }: NavigationItemProps) {
export function NavigationItem({ href, label, target }: NavigationItemProps) {
return (
<Link href={href} className="flex items-center justify-between">
<Link href={href} target={target} className="flex items-center justify-between">
<Button
size={'xs'}
className="text-black lg:text-white hover:text-slate-400 lg:text-base text-lg my-1"
Expand Down
12 changes: 6 additions & 6 deletions app/(sub-page)/grade-upload/components/manual.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ export default function Manual() {
return (
<div className="flex justify-center">
<div className="flex flex-col gap-6">
<h1 className="text-center text-2xl font-bold p-4 border-b-2 border-gray-100 md:text-4xl">
<h1 className="text-center text-2xl font-bold p-6 border-b-2 border-gray-100 md:text-4xl">
ν•œ 번의 μ„±μ ν‘œ μž…λ ₯으둜
<br /> λ§žμΆ€ν˜• κ²°κ³Όλ₯Ό ν™•μΈν•˜μ„Έμš” !
</h1>
<div className="text-base px-6 md:px-0 flex flex-col gap-2 md:text-lg">
<div className="px-6 flex flex-col gap-2 md:text-lg md:px-0">
<div>
1.
<a
Expand All @@ -16,11 +16,11 @@ export default function Manual() {
>
MyiWeb MSI
</a>
에 접속 ν›„ 둜그인(PCν™˜κ²½ ꢌμž₯)
에 접속 ν›„ 둜그인(PCν™˜κ²½)
</div>
<div>2. 쒌츑 성적/μ‘Έμ—… 메뉴 β†’ μ„±μ ν‘œ(μƒλ‹΄μš©,B4)클릭</div>
<div>3. 우츑 상단 μ‘°νšŒλ²„νŠΌ 클릭 β†’ ν”„λ¦°νŠΈ μ•„μ΄μ½˜ 클릭</div>
<div>4. 인쇄 μ •λ³΄μ˜ λŒ€μƒ(PDF둜 μ €μž₯) μ„€μ • β†’ ν•˜λ‹¨ μ €μž₯ λ²„νŠΌ 클릭 </div>
<div>2. 쒌츑 성적/μ‘Έμ—… 메뉴 β†’ μ„±μ ν‘œ(μƒλ‹΄μš©,B4)</div>
<div>3. 우츑 상단 μ‘°νšŒλ²„νŠΌ β†’ ν”„λ¦°νŠΈ μ•„μ΄μ½˜ </div>
<div>4. 인쇄 μ •λ³΄μ˜ λŒ€μƒ(PDF둜 μ €μž₯) μ„€μ • β†’ ν•˜λ‹¨ μ €μž₯ λ²„νŠΌ </div>
<div>5. μ €μž₯ν•œ 파일 μ—…λ‘œλ“œ </div>
<div className="text-xs md:text-sm text-primary">
β€’ νšŒμ› κ°€μž…ν•œ ν•™λ²ˆκ³Ό μΌμΉ˜ν•˜λŠ” ν•™λ²ˆμ˜ μ„±μ ν‘œλ₯Ό μž…λ ₯ν•΄μ•Ό ν•©λ‹ˆλ‹€.
Expand Down
2 changes: 1 addition & 1 deletion app/(sub-page)/grade-upload/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const metadata: Metadata = {

export default function GradeUploadPage() {
return (
<ContentContainer className="flex flex-col justify-center gap-8 min-h-[70vh]">
<ContentContainer className="flex flex-col justify-center gap-8 min-h-[70vh] max-md:max-w-[600px]">
<Manual />
<UploadTakenLecture />
</ContentContainer>
Expand Down
2 changes: 1 addition & 1 deletion app/(sub-page)/result/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ResultPage({ searchParams }: ResultPageProp) {

return (
<div className="flex justify-center items-end">
<ContentContainer className="md:w-[700px] p-4 py-6 md:p-8">
<ContentContainer className="max-md:max-w-[500px] md:w-[700px] p-4 py-6 md:p-8">
<Suspense fallback={<UserInfoCardSkeleton />}>
<UserInfoCard />
</Suspense>
Expand Down
10 changes: 5 additions & 5 deletions app/(sub-page)/sign-up/components/sign-up-success.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import Button from '@/app/ui/view/atom/button/button';
import TitleBox from '@/app/ui/view/molecule/title-box/title-box';
import Link from 'next/link';

// λ‚΄μš©μ΄λž‘ μŠ€νƒ€μΌμ€ mock인 μƒνƒœμž…λ‹ˆλ‹€.
import Image from 'next/image';
import maru from '../../../../public/assets/maru.png';
export default function SignUpSuccess() {
return (
<>
<TitleBox title={'νšŒμ›κ°€μž… μ™„λ£Œ'} />
<div className="h-[260px] text-2xl font-bold flex flex-col items-center justify-center space-y-2">
<div>νšŒμ›κ°€μž…μ΄ μ™„λ£Œλ˜μ—ˆμŠ΅λ‹ˆλ‹€</div>
<div className="text-xl font-medium">둜그인 ν›„ μ‘Έμ—… 사정 κ²°κ³Όλ₯Ό ν™•μΈν•΄λ³΄μ„Έμš”!</div>
<div className="text-2xl font-bold flex flex-col items-center justify-center space-y-2">
<Image src={maru} width={150} height={150} alt="main-book-background" className="max-md:w-24 mt-8" />
<div className="text-base md:text-lg font-light">이제 μ‘Έμ—… 사정 κ²°κ³Όλ₯Ό ν™•μΈν•΄λ³΄μ„Έμš”!</div>
<div className="pt-6">
<Link href="/sign-in">
<Button size={'md'} label={'둜그인 ν•˜κΈ°'} />
Expand Down
8 changes: 4 additions & 4 deletions app/(sub-page)/sign-up/components/sign-up-terms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ export default function SignUpTerm({ onNext }: SignUpTermProps) {
κ²€μ‚¬λŒ€μƒμΈμ§€ ν™•μΈν•˜μ„Έμš”!
<ul className="list-disc ml-6 mt-2">
<li>
λŒ€ν•™: κ²½μ˜λŒ€ν•™, λ²•κ³ΌλŒ€ν•™, μ‚¬νšŒκ³Όν•™λŒ€ν•™, ICTμœ΅ν•©λŒ€ν•™, μΈλ¬ΈλŒ€ν•™,{' '}
<span className="text-red-400">λ―Έλž˜μœ΅ν•©λŒ€ν•™(λΆˆκ°€)</span>
λŒ€ν•™: κ²½μ˜λŒ€ν•™, λ²•κ³ΌλŒ€ν•™, μ‚¬νšŒκ³Όν•™λŒ€ν•™, ICTμœ΅ν•©λŒ€ν•™, μΈλ¬ΈλŒ€ν•™,
<span className="ml-1 text-red-400">λ―Έλž˜μœ΅ν•©λŒ€ν•™(λΆˆκ°€)</span>
</li>
<li>ν•™λ²ˆ: 16 ~ 22ν•™λ²ˆ</li>
</ul>
</li>
<li>
ꡐ직, 닀전곡, 연계전곡, νŽΈμž…, μ „κ³Ό, μž¬μ™Έκ΅­λ―Ό/μ™Έκ΅­μΈμ „ν˜•μ— ν•΄λ‹Ήν•˜λŠ” μ‚¬μš©μžλŠ” 검사 기쀀이 λ”°λ‘œ μ„€μ •λ˜μ§€ μ•Šμ•„
검사가 λΆˆκ°€λŠ₯ν•©λ‹ˆλ‹€.
ꡐ직, 연계전곡, νŽΈμž…, μž¬μ™Έκ΅­λ―Ό/μ™Έκ΅­μΈμ „ν˜•μ— ν•΄λ‹Ήν•˜λŠ” μ‚¬μš©μžλŠ” 검사 기쀀이 λ”°λ‘œ μ„€μ •λ˜μ§€ μ•Šμ•„ 검사가
λΆˆκ°€λŠ₯ν•©λ‹ˆλ‹€.
</li>
<li>검사λ₯Ό μœ„ν•΄μ„  μ„±μ ν‘œλ₯Ό 직접 μ—…λ‘œλ“œν•΄μ•Όν•˜λ―€λ‘œ PCν™˜κ²½μ—μ„œ μ§„ν–‰ν•˜λŠ” 것을 ꢌμž₯ν•©λ‹ˆλ‹€.</li>
<li>
Expand Down
39 changes: 39 additions & 0 deletions app/(sub-page)/tutorial/components/TutorialContent.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
'use client';
import Image from 'next/image';
import { cn } from '@/app/utils/shadcn/utils';
import { useState } from 'react';
import { TutorialItem } from '../data';

interface TestContentProps {
data: TutorialItem[];
}

function TutorialContent({ data }: TestContentProps) {
const [item, setItem] = useState<TutorialItem>(data[0]);

return (
<div className="flex flex-col gap-2 mx-[5%] lg:flex-row">
<Image alt="tutorial-image" width={1000} src={item.imageUrl} className="rounded-2xl" />
<ul className="flex flex-col w-full gap-1 md:py-2">
{Object.values(data).map((tutorial, index) => {
const { icon, content } = tutorial;
return (
<li
key={index}
className={cn(
'cursor-pointer flex items-center p-4 font-bold opacity-50 rounded-xl hover:opacity-70 md:p-6 md:text-xl',
tutorial === item ? 'bg-light-blue-1 opacity-100 hover:opacity-100' : 'hover:bg-gray-1',
)}
onClick={() => setItem(tutorial)}
>
{icon && <Image src={icon} alt="icon" width={8} height={8} className="w-8 mr-2" />}
<span className="w-[90%]">{content}</span>
</li>
);
})}
</ul>
</div>
);
}

export default TutorialContent;
44 changes: 22 additions & 22 deletions app/(sub-page)/tutorial/data.tsx
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
import featureImage1 from '@/public/assets/tutorial/tutorial-feature1.png';
import featureImage2 from '@/public/assets/tutorial/tutorial-feature2.png';
import featureImage3 from '@/public/assets/tutorial/tutorial-feature3.png';
import featureImage1 from '@/public/assets/tutorial/tutorial-feature1.gif';
import featureImage2 from '@/public/assets/tutorial/tutorial-feature2.gif';
import featureImage3 from '@/public/assets/tutorial/tutorial-feature3.gif';
import uploadImage0 from '@/public/assets/tutorial/tutorial0.png';
import uploadImage1 from '@/public/assets/tutorial/tutorial1.png';
import uploadImage2 from '@/public/assets/tutorial/tutorial2.png';
import uploadImage3 from '@/public/assets/tutorial/tutorial3.png';
import uploadImage4 from '@/public/assets/tutorial/tutorial4.png';
import file from '../../../public/assets/file.svg';
import dimond from '../../../public/assets/dimond.svg';
import { StaticImageData } from 'next/image';
import Link from 'next/link';

interface TutorialItem {
export interface TutorialItem {
imageUrl: StaticImageData;
title: string;
icon?: StaticImageData;
content: React.ReactNode;
}

export const TUTORIAL_FEATRUE: TutorialItem[] = [
{
imageUrl: featureImage1,
title: 'first',
icon: file,
content: 'κ°•μ˜ μ»€μŠ€ν…€μ„ ν†΅ν•œ μ‘Έμ—… 사정 예츑',
},
{
imageUrl: featureImage2,
title: 'second',
content: 'μΉ΄ν…Œκ³ λ¦¬λ³„(ꡐ양 / 전곡) μˆ˜κ°• 학점 ν˜„ν™© 쑰회',
content: 'μ˜μ—­(곡톡ꡐ양 λ“±)별 μˆ˜κ°• ν˜„ν™© 쑰회',
icon: dimond,
},
{
imageUrl: featureImage3,
title: 'third',
content: 'μΉ΄ν…Œκ³ λ¦¬λ³„(ꡐ양 / 전곡) 미이수 κ³Όλͺ© 정보 및 μž”μ—¬ 학점 쑰회',
icon: dimond,
content: 'μΉ΄ν…Œκ³ λ¦¬(사고와 ν‘œν˜„ λ“±)별 기이수/미이수 κ³Όλͺ© 정보 및 학점 쑰회',
},
];

export const TUTORIAL_UPLOAD: TutorialItem[] = [
{
imageUrl: uploadImage0,
title: '1.',
content: (
<Link href="https://msi.mju.ac.kr/servlet/security/MySecurityStart" target="_blank">
<span className="text-primary">MyiWeb MSI</span>에 접속 ν›„ 둜그인(PCν™˜κ²½ ꢌμž₯)
</Link>
<>
<Link href="https://msi.mju.ac.kr/servlet/security/MySecurityStart" target="_blank">
1. <span className="text-primary">MyiWeb MSI</span>
</Link>
에 접속 ν›„ 둜그인(PCν™˜κ²½)
</>
),
},
{
imageUrl: uploadImage1,
title: '2.',
content: '쒌츑 성적/μ‘Έμ—… 메뉴 β†’ μ„±μ ν‘œ(μƒλ‹΄μš©,B4)클릭',
content: '2. 쒌츑 성적/μ‘Έμ—… 메뉴 β†’ μ„±μ ν‘œ(μƒλ‹΄μš©, B4)',
},
{
imageUrl: uploadImage2,
title: '3.',
content: '우츑 상단 μ‘°νšŒλ²„νŠΌ 클릭 β†’ ν”„λ¦°νŠΈ μ•„μ΄μ½˜ 클릭 (λͺ¨λ°”일 ν™˜κ²½μ—μ„œλŠ” λœ¨μ§€ μ•Šμ„ 수 μžˆμŠ΅λ‹ˆλ‹€.)',
content: '3. 우츑 상단 μ‘°νšŒλ²„νŠΌ β†’ ν”„λ¦°νŠΈ μ•„μ΄μ½˜ (λͺ¨λ°”일 지원 X)',
},
{
imageUrl: uploadImage3,
title: '4.',
content: '인쇄 μ •λ³΄μ˜ λŒ€μƒ(PDF둜 μ €μž₯) μ„€μ • β†’ ν•˜λ‹¨ μ €μž₯ λ²„νŠΌ 클릭 (λΉ„μœ¨μ΄ 깨지지 μ•Šλ„λ‘ μ‘°μ‹¬ν•΄μ£Όμ„Έμš”.)',
content: '4. 인쇄 μ •λ³΄μ˜ λŒ€μƒ(PDF둜 μ €μž₯) μ„€μ • β†’ ν•˜λ‹¨ μ €μž₯ λ²„νŠΌ',
},
{
imageUrl: uploadImage4,
title: '5.',
content: 'μ €μž₯ν•œ 파일 μ—…λ‘œλ“œ',
content: '5. μ €μž₯ν•œ 파일 μ—…λ‘œλ“œ',
},
];
51 changes: 21 additions & 30 deletions app/(sub-page)/tutorial/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import ImageCard from '@/app/ui/view/molecule/image-card/image-card';
import TitleBox from '@/app/ui/view/molecule/title-box/title-box';
import { cn } from '@/app/utils/shadcn/utils';
import Image from 'next/image';
import { TUTORIAL_FEATRUE, TUTORIAL_UPLOAD } from './data';
import ContentContainer from '@/app/ui/view/atom/content-container/content-container';
import type { Metadata } from 'next';
import TutorialContent from './components/TutorialContent';
import Link from 'next/link';

export const metadata: Metadata = {
title: 'νŠœν† λ¦¬μ–Ό',
Expand All @@ -13,36 +12,28 @@ export const metadata: Metadata = {

function TutorialPage() {
return (
<ContentContainer className={cn('flex flex-col gap-10 p-1 py-10', 'md:gap-20')} size="lg">
<ContentContainer className={cn('flex flex-col gap-6 p-1 py-10', 'md:gap-20 max-md:max-w-[600px]')} size="lg">
<h1 className={cn('text-center text-xl font-bold', 'md:text-3xl')}>νŠœν† λ¦¬μ–Ό</h1>
<p className={cn('w-[90%] m-auto break-keep text-center text-base text-gray-6 font-semibold', 'md:text-2xl')}>
λͺ…지인을 μœ„ν•œ μ‘Έμ—… μš”κ±΄ 좩쑱도 확인 μ„œλΉ„μŠ€ β€˜μ‘Έμ—…μ„λΆ€νƒν•΄β€™ μž…λ‹ˆλ‹€. <br />
우리 μ„œλΉ„μŠ€μ˜ μ£Όμš” 정보와 μ‚¬μš©λ²•μ„ ν™•μΈν•΄λ³΄μ„Έμš”
</p>
<TitleBox title="μ£Όμš” κΈ°λŠ₯">
<div className="flex gap-2 p-2">
{TUTORIAL_FEATRUE.map((feature, index) => (
<Image src={feature.imageUrl} alt={`feature-${index}`} key={index} className="max-w-[32%]" />
))}
<section>
<div className="text-xl mx-[5%] py-4 font-bold text-gray-4 md:text-2xl md:py-8">
μ‘Έμ—… μš”κ±΄ 좩쑱도 확인 μ„œλΉ„μŠ€
<br />
쑸업을 λΆ€νƒν•΄μ˜&nbsp;
<span className="max-sm:block md:hidden"></span>
<span className="text-primary">μ£Όμš” κΈ°λŠ₯κ³Ό μ‚¬μš©λ²•</span>을 μ†Œκ°œν•΄μš”
</div>
</TitleBox>
<p className={cn('w-[90%] m-auto break-keep text-center text-base text-gray-6 font-semibold', 'md:text-2xl')}>
정보 μ œκ³΅μ„ μœ„ν•΄μ„œλŠ” μ—¬λŸ¬λΆ„μ˜ 이수과λͺ© 정보가 ν•„μš”ν•©λ‹ˆλ‹€.
<br /> PDF μ—…λ‘œλ“œλ₯Ό μ§„ν–‰ν•΄μ£Όμ„Έμš”.
</p>
<TitleBox title="PDF 파일 μ—…λ‘œλ“œ 방법">
<div className="flex overflow-scroll gap-8 w-full mt-4">
{TUTORIAL_UPLOAD.map((feature, index) => (
<ImageCard
key={index}
image={feature.imageUrl}
title={feature.title}
content={feature.content}
className="min-w-44 h-44 md:min-w-72 md:h-72"
/>
))}
<TutorialContent data={TUTORIAL_FEATRUE} />
</section>
<section>
<div className="text-xl mx-[5%] py-4 font-bold text-gray-4 md:text-2xl md:py-8">
<Link href="https://msi.mju.ac.kr/servlet/security/MySecurityStart" target="_blank">
<span className="text-primary">MYIWEB μ„±μ ν‘œ</span>
</Link>
λ₯Ό 톡해 <br />
λ‚˜λ§Œμ˜ 쑸업사정결과λ₯Ό ν™•μΈν•΄μš”
</div>
</TitleBox>
<TutorialContent data={TUTORIAL_UPLOAD} />
</section>
</ContentContainer>
);
}
Expand Down
2 changes: 1 addition & 1 deletion app/business/services/lecture/taken-lecture.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const registerUserGrade = async (prevState: FormState, formData: FormData
message: 'fail upload grade',
};
}
redirect('/my');
redirect('/result');
};

export const parsePDFtoText = async (formData: FormData) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import ResultCategoryCardSkeleton from '../result-category-card/result-category-
async function ResultCategorySkeleton() {
return (
<div
className={cn('absolute grid grid-cols-2 gap-2 top-[30rem] w-full', 'md:max-w-[700px] md:gap-10 md:top-[33rem]')}
className={cn(
'absolute grid grid-cols-2 gap-2 top-[28rem] w-full',
'md:max-w-[700px] md:gap-10 md:top-[35rem] max-md:max-w-[500px]',
)}
>
{Array.from({ length: 4 }).map((_, index) => (
<ResultCategoryCardSkeleton key={index} />
Expand Down
7 changes: 5 additions & 2 deletions app/ui/result/result-category/result-category.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';
import { cn } from '@/app/utils/shadcn/utils';
import ResultCategoryCard from '../result-category-card/result-category-card';
import { CreditResponse, useFetchCredits } from '@/app/store/querys/result';
import { useFetchCredits } from '@/app/store/querys/result';
import { RESULT_CATEGORY } from '@/app/utils/key/result-category.key';
import { ResultCategoryKey } from '../result-category-detail-content/result-category-detail-content.stories';

Expand All @@ -22,7 +22,10 @@ function ResultCategory() {

return (
<div
className={cn('absolute grid grid-cols-2 gap-2 top-[30rem] w-full', 'md:max-w-[700px] md:gap-10 md:top-[33rem]')}
className={cn(
'absolute grid grid-cols-2 gap-2 top-[28rem] w-full',
'md:max-w-[700px] md:gap-10 md:top-[35rem] max-md:max-w-[500px] ',
)}
>
{sortedCategories.map(({ category, totalCredit, takenCredit }, index) => (
<ResultCategoryCard
Expand Down
Loading
Loading