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: ์ƒ‰์ƒ ๋ฐ ํ…์ŠคํŠธ ํฌ๊ธฐ ์ ์šฉ #35 #36

Merged
merged 11 commits into from
May 4, 2024
Merged
10 changes: 5 additions & 5 deletions public/svg/recruit_banner2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/components/navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export default function Navigation() {
<Link href="/seminar">Seminar</Link>
<Link href="/project">Project</Link>
<Link href="/member">Member</Link>
<Link href="/recruit">Recruit</Link>
<Link href="/recruit" prefetch>
Recruit
</Link>
</div>
</div>
</nav>
Expand Down
9 changes: 4 additions & 5 deletions src/components/recruit/faq/RecruitFaq.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ import Link from 'next/link';

const RecruitFaq = () => {
return (
<section className="w-full px-10 py-28 flex-col justify-start items-center gap-32 inline-flex">
<section className="w-full py-28 flex-col justify-start items-center gap-32 inline-flex">
<div className="w-4/5 mx-auto my-0 flex-col justify-start items-center gap-10 flex">
<div className="self-stretch flex-col justify-start items-start flex">
{/* title */}
<div className="px-1 pb-10 gap-8 flex items-end">
<p className="text-5xl leading-[3.5rem]">
<p className="H3">
Frequently
<br />
Asked Questions
</p>
<p className="leading-7">์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ</p>
</div>
{/* body */}

Expand All @@ -25,8 +24,8 @@ const RecruitFaq = () => {
</div>
</div>
<Link href="https://www.instagram.com/gdsc.dgu/" target="_blank">
<div className="w-80 py-4 bg-zinc-900 rounded justify-center items-center gap-2.5 inline-flex">
<div className="text-sm font-medium">๋ฌธ์˜ํ•˜๊ธฐ</div>
<div className="w-80 py-4 bg-mono_900 rounded justify-center items-center gap-2.5 inline-flex">
<div className="Btn">๋ฌธ์˜ํ•˜๊ธฐ</div>
</div>
</Link>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/components/recruit/faq/RecruitFaqBox.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const RecruiteFaqBox = ({ faq }: { faq: Faq }) => {
return (
<div className="self-stretch p-7 bg-zinc-900 rounded flex-col justify-start items-start gap-3 flex">
<div className="text-2xl leading-7">{faq.question}</div>
<div className="leading-7">{faq.answer}</div>
<div className="self-stretch p-7 bg-mono_900 rounded flex-col justify-start items-start gap-3 flex">
<div className="H5">{faq.question}</div>
<div className="B1">{faq.answer}</div>
</div>
);
};
Expand Down
25 changes: 15 additions & 10 deletions src/components/recruit/header/RecruitHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import BannerImg from '@/images/recruit_banner.png';
import BannerImg2 from '@/svg/recruit_banner2.svg';
import ChervonDownIcon from '@/svg/icons/common/chervon_down.svg';
import Link from 'next/link';

/**
* @description
Expand All @@ -17,27 +18,31 @@ const RecruitHeader = () => {
return (
<header className="h-lvh flex flex-col">
{/* Main section */}

<div
className="w-full flex-col justify-center items-center gap-2.5 inline-flex h-[35.75rem] 2xl:h-[40rem] min-h-fit mt-10"
style={{
backgroundImage: `url(${BannerImg.src})`,
backgroundSize: 'cover', // Sets the background image to cover the div
backgroundPosition: 'center', // Aligns the background image to the center
backgroundSize: 'cover',
backgroundPosition: 'center',
}}
>
<article className="flex flex-col items-center">
<BannerImg2 className="scale-75" />
<article className="flex flex-col items-center w-full">
<BannerImg2 className="scale-75 max-md:scale-50" />
<div className="flex-col items-center flex mt-14">
<p className="text-center text-xs font-normal leading-[14px] tracking-wide">
2023/08/28 ~ 2023/09/14
</p>
<p className="border mt-8 py-2 px-28 border-solid text-zinc-500 text-sm font-medium">
๋ชจ์ง‘ ๊ธฐ๊ฐ„์ด ์•„๋‹™๋‹ˆ๋‹ค.
<p className="text-center Cap tracking-wide">
2๊ธฐ ๋ชจ์ง‘ ๊ธฐ๊ฐ„ <br />
2024/08/28 ~ 2024/09/14
</p>
<Link href="https://forms.gle/MGWVqDKK5zwUTjes5" target="_blank">
<p className="border mt-8 py-4 px-28 border-solid text-mono_500 Btn">
2๊ธฐ ๋ชจ์ง‘ ์‚ฌ์ „ ์•Œ๋ฆผ ์‹ ์ฒญ ํ•˜๊ธฐ
</p>
</Link>
</div>
</article>
</div>
<ChervonDownIcon className="self-center " />
<ChervonDownIcon className="self-center" />
</header>
);
};
Expand Down
6 changes: 2 additions & 4 deletions src/components/recruit/part/RecruitPartKeyword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ interface RecruitPartKeywordProps {
*/
const RecruitPartKeyword: FC<RecruitPartKeywordProps> = ({ keyword }) => {
return (
<div className="px-3 py-2 bg-zinc-700 rounded-lg border border-zinc-700 justify-center items-center gap-2.5 flex">
<div className="text-center text-sm font-medium leading-none">
{keyword}
</div>
<div className="px-3 py-2 bg-mono_700 rounded-lg border border-mono_700 justify-center items-center gap-2.5 flex">
<div className="text-center Btn">{keyword}</div>
</div>
);
};
Expand Down
34 changes: 14 additions & 20 deletions src/components/recruit/part/RecruitPartRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import { RecruitPart } from '@/interfaces/recruit/recruitPart';

const RecruitPartRow = ({ recruitPart }: { recruitPart: RecruitPart }) => {
return (
<section className="self-stretch justify-start items-start gap-8 flex">
<div className=" w-96 h-60 p-8 bg-black rounded flex-col justify-start items-start gap-5 relative overflow-hidden">
<section className="self-stretch justify-start gap-8 flex max-md:flex-col">
<div className="p-8 bg-black rounded flex-col justify-start gap-5 relative overflow-hidden max-md:w-full">
{/* ๋ฐฐ๊ฒฝ์œผ๋กœ ์‚ฌ์šฉํ•  div */}
<div className="absolute top-0 left-0 w-full h-full z-0">
<div
className={`w-96 h-60 relative opacity-40 ${
className={`w-full h-60 relative opacity-40 ${
recruitPart.id == 1
? 'bg-[#33A852]'
: recruitPart.id == 2
Expand All @@ -22,8 +22,8 @@ const RecruitPartRow = ({ recruitPart }: { recruitPart: RecruitPart }) => {
/>
</div>
{/* ๋ฐฐ๊ฒฝ ์œ„์— ์˜ฌ๋ผ๊ฐˆ ๋‚ด์šฉ */}
<div className="relative z-10">
<div className="mb-10">
<div className="relative z-10 max-md:flex-row flex flex-col">
<div className="mb-10 max-md:mr-8">
{recruitPart.id == 1 ? (
<WebAppIcon />
) : recruitPart.id == 2 ? (
Expand All @@ -32,23 +32,17 @@ const RecruitPartRow = ({ recruitPart }: { recruitPart: RecruitPart }) => {
<AiMlIcon />
)}
</div>
<div className="flex-col justify-start items-start gap-3 flex">
<div className="text-xl font-medium leading-7 tracking-tight">
{recruitPart.title}
</div>
<div className="text-sm leading-normal">
{recruitPart.description}
</div>
<div className="flex-col justify-start gap-3 flex">
<div className="H6">{recruitPart.title}</div>
<div className="B2">{recruitPart.description}</div>
</div>
</div>
</div>

<div className="grow p-8 bg-zinc-900 rounded flex-col justify-start items-start gap-6 flex">
<div className="self-stretch flex-col justify-start items-start gap-2 flex">
<div className=" text-xl font-medium leading-7 tracking-tight">
Preferred
</div>
<div className="leading-7">
<div className="grow p-4 bg-mono_900 rounded flex-col justify-start gap-6 flex">
<div className="self-stretch flex-col justify-start gap-2 flex">
<div className="H6">Preferred</div>
<div className="B1">
{recruitPart.preferred[0]}
<br />
{recruitPart.preferred[1]}
Expand All @@ -57,8 +51,8 @@ const RecruitPartRow = ({ recruitPart }: { recruitPart: RecruitPart }) => {
</div>
</div>

<div className="self-stretch justify-start items-start gap-2.5 inline-flex">
<div className="justify-start items-start gap-3 flex">
<div className="self-stretch justify-start gap-2.5 inline-flex">
<div className="justify-start gap-3 flex">
{recruitPart.keywords.map((keyword, index) => (
<RecruitPartKeyword key={index} keyword={keyword} />
))}
Expand Down
44 changes: 23 additions & 21 deletions src/components/recruit/recommand/RecruitRecommand.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,31 @@
*/
const RecruitRecommand = () => {
return (
<section className="w-full py-16 bg-[#1C1D1F] flex-col items-center justify-center gap-10 flex">
<section className="w-full py-16 bg-mono_900 flex-col items-center justify-center gap-10 flex">
{/* title */}
<div className="justify-center gap-2 inline-flex text-2xl font-normal leading-7">
<p>๊ฐ™์ดํ•ด์„œ ๊ฐ€์น˜๋ฅผ ๋งŒ๋“ค๊ณ  ์„ธ์ƒ์— ์Šค๋ฉฐ๋“ค๋‹ค</p>
</div>
{/* body */}
<div className="flex-col gap-5 flex leading-7">
<div className="tracking-tight">
<p>
ํ˜ผ์ž๋งŒ์˜ ์„ฑ์žฅ์ด ์•„๋‹Œ, ์–ธ์ œ๋“  ์‚ฌ๋žŒ๋“ค๊ณผ ๋งŒ๋‚˜ ์„œ๋กœ์˜ ์ด์•ผ๊ธฐ๋ฅผ
๊ณต์œ ํ•˜๊ณ ์ž ์ปค๋ฎค๋‹ˆํ‹ฐ๋ฅผ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค.
</p>
<div className="max-md:w-4/5 flex-col items-center justify-center gap-10 flex">
<div className="justify-center gap-2 inline-flex H5 max-md:H6">
<p>๊ฐ™์ดํ•ด์„œ ๊ฐ€์น˜๋ฅผ ๋งŒ๋“ค๊ณ  ์„ธ์ƒ์— ์Šค๋ฉฐ๋“ค๋‹ค</p>
</div>
<div className="text-center">
<p>
๊ณต์œ ๋ฅผ ํ†ตํ•ด ๊ฐ™์ด ์„ฑ์žฅํ•˜๋ฉฐ, ์‚ฌํšŒ์˜ ๋ฌธ์ œ์ ์„ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•œ ๊ณต๊ฐ„์„
์ง€ํ–ฅํ•ฉ๋‹ˆ๋‹ค.
<br />
์šฐ๋ฆฌ๋Š” ๋‹จ์ˆœํ•œ ๊ฐœ๋ฐœ์‹ค๋ ฅ ํ–ฅ์ƒ๊ณผ ํ”„๋กœ์ ํŠธ ์ง„ํ–‰์ด ์•„๋‹Œ,
<br />
๋ชจ๋‘๊ฐ€ ํ•จ๊ป˜ ์—ด์ •์ ์œผ๋กœ ์ง€์‹์„ ๊ณต์œ ํ•˜๋ฉฐ ๋” ๋งŽ์€ ์‚ฌ๋žŒ๋“ค๊ณผ ํ•จ๊ป˜
์„ฑ์žฅํ•˜๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค.
</p>
{/* body */}
<div className="flex-col gap-5 flex">
<div className="tracking-tight">
<p className="Sh1">
ํ˜ผ์ž๋งŒ์˜ ์„ฑ์žฅ์ด ์•„๋‹Œ, ์–ธ์ œ๋“  ์‚ฌ๋žŒ๋“ค๊ณผ ๋งŒ๋‚˜ ์„œ๋กœ์˜ ์ด์•ผ๊ธฐ๋ฅผ
๊ณต์œ ํ•˜๊ณ ์ž ์ปค๋ฎค๋‹ˆํ‹ฐ๋ฅผ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค.
</p>
</div>
<div className="text-center B1">
<p>
๊ณต์œ ๋ฅผ ํ†ตํ•ด ๊ฐ™์ด ์„ฑ์žฅํ•˜๋ฉฐ, ์‚ฌํšŒ์˜ ๋ฌธ์ œ์ ์„ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•œ ๊ณต๊ฐ„์„
์ง€ํ–ฅํ•ฉ๋‹ˆ๋‹ค.
<br />
์šฐ๋ฆฌ๋Š” ๋‹จ์ˆœํ•œ ๊ฐœ๋ฐœ์‹ค๋ ฅ ํ–ฅ์ƒ๊ณผ ํ”„๋กœ์ ํŠธ ์ง„ํ–‰์ด ์•„๋‹Œ,
<br />
๋ชจ๋‘๊ฐ€ ํ•จ๊ป˜ ์—ด์ •์ ์œผ๋กœ ์ง€์‹์„ ๊ณต์œ ํ•˜๋ฉฐ ๋” ๋งŽ์€ ์‚ฌ๋žŒ๋“ค๊ณผ ํ•จ๊ป˜
์„ฑ์žฅํ•˜๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค.
</p>
</div>
</div>
</div>
</section>
Expand Down
7 changes: 4 additions & 3 deletions src/components/recruit/schedule/RecruitSchedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ import { RECRUIT_SCHEDULE } from '@/constants/recruit/recruitSchedule';

const RecruitSchedule = () => {
return (
// <section className="grid desktop:grid-cols-4 tablet:grid-cols-2 grid-cols-1 gap-x-8 gap-y-8">
<section className="w-full bg-[#F7F8FA] flex-col justify-start items-center gap-2.5 inline-flex">
<div className="w-4/5 px-10 py-40 bg-gray-50">
<div className="w-4/5 py-40 bg-gray-50">
<div className="flex-col items-center gap-2.5 flex">
<div className="self-stretch flex-col flex">
<div className="px-1 pb-10">
<p className="text-black text-5xl leading-10">Schedule</p>
<p className="text-mono_black H3">Schedule</p>
</div>
<section className="gap-5 inline-flex">
<section className="gap-5 inline-flex desktop:flex-row tablet:flex-col max-sm:flex-col ">
<RecruitScheduleBox schedules={RECRUIT_SCHEDULE['document']} />
<RecruitScheduleBox
schedules={RECRUIT_SCHEDULE['firstPresentation']}
Expand Down
8 changes: 3 additions & 5 deletions src/components/recruit/schedule/RecruitScheduleBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ const RecruitScheduleBox = ({
}) => {
return (
<div className="grow shrink basis-0 px-5 py-8 bg-gray-200 rounded flex-col justify-start items-center gap-1 inline-flex">
<div className="text-black text-xl font-medium leading-7 tracking-tight">
{schedules.title}
</div>
<div className="text-mono_black H6">{schedules.title}</div>
<div className="mt-2 w-20 flex-col justify-center items-center flex grow">
<div className="text-black leading-7">{schedules.startDate}</div>
<div className="text-mono_black B1">{schedules.startDate}</div>
{schedules.endDate && (
<div className="text-black leading-7">~{schedules.endDate}</div>
<div className="text-mono_black B1">~{schedules.endDate}</div>
)}
</div>
</div>
Expand Down
16 changes: 7 additions & 9 deletions src/components/recruit/target/RecruitTarget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ import RecruitTargetRowText from '@/components/recruit/target/RecruitTargetRowTe

const RecruitTarget = () => {
return (
<section className="w-4/5 flex flex-col mx-auto my-32 ">
<section className="flex justify-between">
<div className="pb-8 flex-col justify-start ">
<section className="w-4/5 flex flex-col mx-auto my-32">
<section className="flex justify-between max-md:flex-col">
<div className="pb-8 flex-col justify-start">
{/* ๋ชจ์ง‘ ํƒ€๊ฒŸdiv */}
<div className="flex flex-col gap-6 self-start justify-start">
<p className="text-5xl leading-[3.5rem]">
<p className="H3">
Recruitment
<br />
Target
</p>
<p className="leading-7">
<p className="B1">
์•„๋ž˜ 3๊ฐ€์ง€ ๋ชจ๋‘ ํ•ด๋‹น ๋˜๋Š” ๋ถ„์ด๋ผ๋ฉด, ๋ˆ„๊ตฌ๋“  ์ง€์› ๊ฐ€๋Šฅํ•ด์š”!
<br />
์ด๋Ÿฐ ๋ถ„๋“ค๊ณผ ํ•จ๊ป˜ ํ•˜๊ณ  ์‹ถ์–ด์š”!
Expand All @@ -24,9 +24,7 @@ const RecruitTarget = () => {
{/* ์ง€์› ์ž๊ฒฉ div */}
<div className="flex-col justify-start items-start inline-flex gap-7">
<div className="justify-center items-center gap-2.5 inline-flex">
<div className="text-xl font-medium leading-7 tracking-tight">
์ง€์› ์ž๊ฒฉ
</div>
<div className="H6">์ง€์› ์ž๊ฒฉ</div>
</div>
<div className="leading-7 flex-col justify-start items-start gap-2 flex ">
<RecruitTargetRowText
Expand All @@ -43,7 +41,7 @@ const RecruitTarget = () => {
/>
<RecruitTargetRowText
title="์—ด์ •"
content="๊ฐœ๋ฐœ์— ์—ด์ •์ด ์žˆ์œผ๋ฉฐ, ํŒ€ํ™œ๋™์— ์ ๊ทน์ ์œผ๋กœ ์ฐธ์—ฌํ•  ์ˆ˜ ์žˆ๋Š” ์‚ฌ๋žŒ"
content="๊ฐœ๋ฐœ ์—ด์ •๊ณผ ํ™œ๋™์— ์ ๊ทน์ ์œผ๋กœ ์ฐธ์—ฌํ•  ์ˆ˜ ์žˆ๋Š” ์‚ฌ๋žŒ"
/>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/recruit/target/RecruitTargetRowText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ interface Props {
const RecruitTargetRowText: FC<Props> = ({ title, content }) => {
return (
<div className="inline-flex">
<p className="tracking-tight pr-3">{title}</p>
<p className="">{content}</p>
<p className="Sh1 pr-3">{title}</p>
<p className="B1">{content}</p>
</div>
);
};
Expand Down
Loading