-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADD :: My Application & Tip List Page
- Loading branch information
Showing
3 changed files
with
78 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
'use client' | ||
|
||
import { Arrow } from '@/assets' | ||
import { ApplicationBox } from '@/components' | ||
import { useRouter } from 'next/navigation' | ||
import { applicationData } from '../page' | ||
|
||
export default function MyApplicationPage() { | ||
const router = useRouter() | ||
|
||
return ( | ||
<main className="min-h-[100dvh] p-[60px_0_120px] flex justify-center"> | ||
<section className="flex flex-col gap-10 px-10 sm:px-6 max-w-[1280px] w-full"> | ||
<div className="flex flex-col gap-8"> | ||
<button | ||
onClick={() => router.back()} | ||
className="p-2 rounded-lg border border-gray200 group hover:bg-gray50 transition-colors w-fit" | ||
> | ||
<Arrow className="group-hover:-translate-x-1 transition-transform" /> | ||
</button> | ||
<div className="flex flex-col gap-2"> | ||
<h3 className="text-titleLarge">공유한 지원서 자료</h3> | ||
<p className="text-bodySmall text-gray600">8개 내 지원서 자료</p> | ||
</div> | ||
</div> | ||
<article className="grid grid-cols-3 md:grid-cols-2 sm:grid-cols-1 gap-3"> | ||
{applicationData.map((value, index) => ( | ||
<ApplicationBox key={index} {...value} /> | ||
))} | ||
</article> | ||
</section> | ||
</main> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
'use client' | ||
|
||
import { Arrow } from '@/assets' | ||
import { TipBox } from '@/components' | ||
import { useRouter } from 'next/navigation' | ||
import { tipData } from '../page' | ||
|
||
export default function MyTipPage() { | ||
const router = useRouter() | ||
|
||
return ( | ||
<main className="min-h-[100dvh] p-[60px_0_120px] flex justify-center"> | ||
<section className="flex flex-col gap-10 px-10 sm:px-6 max-w-[1280px] w-full"> | ||
<div className="flex flex-col gap-8"> | ||
<button | ||
onClick={() => router.back()} | ||
className="p-2 rounded-lg border border-gray200 group hover:bg-gray50 transition-colors w-fit" | ||
> | ||
<Arrow className="group-hover:-translate-x-1 transition-transform" /> | ||
</button> | ||
<div className="flex flex-col gap-2"> | ||
<h3 className="text-titleLarge">공유한 지원서 팁</h3> | ||
<p className="text-bodySmall text-gray600">8개 내 지원서 팁</p> | ||
</div> | ||
</div> | ||
<article className="grid grid-cols-3 md:grid-cols-2 sm:grid-cols-1 gap-3"> | ||
{tipData.map((value, index) => ( | ||
<TipBox key={index} {...value} /> | ||
))} | ||
</article> | ||
</section> | ||
</main> | ||
) | ||
} |