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

๐Ÿš€Deploy : 2์ฐจ ๋ฐฐํฌ #49

Merged
merged 68 commits into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
2dba070
๐Ÿ’„ Style - aboutGDSC image map
shimseohyun Apr 20, 2024
30504af
โœจ Feat - header
shimseohyun Apr 21, 2024
ba29257
โœจ Feat - add Swiper
shimseohyun Apr 21, 2024
2d3a6ff
๐ŸŽจ Style: Font, Color className ์ˆ˜์ •
naarang Apr 25, 2024
b08af9e
โœจFeat: Footer ์ƒ์„ฑ #30
puretension Apr 26, 2024
f427e6d
๐ŸŽจDesign: ๋ฐฐ๊ฒฝ์ƒ‰ Indigo -> black์œผ๋กœ ๋ณ€๊ฒฝ ๋ฐ ๋ ˆ์ด์•„์›ƒ์— ํ‘ธํ„ฐ ์ถ”๊ฐ€ #30
puretension Apr 26, 2024
201637c
โ™ป๏ธ Refactor: ์ƒ์„ฑ๋œ ์ปค์Šคํ…€ ํฐํŠธ, ์ƒ‰์ƒ์ฝ”๋“œ๋กœ ๋ณ€๊ฒฝ #30
puretension Apr 26, 2024
9683a2f
๐Ÿ”ง Chore: 2st -> 2nd ์˜คํƒ€์ˆ˜์ • #30
puretension Apr 26, 2024
14ed4f8
โœจFeat: ํƒ€์ž„๋ผ์ธ ํŽ˜์ด์ง€ ๋ฐ˜์‘ํ˜• ์ ์šฉ #30
puretension Apr 26, 2024
4442f03
โ™ป๏ธ Refactor: ๋ถˆํ•„์š” ์ฝ”๋“œ ์ œ๊ฑฐ #30
puretension Apr 26, 2024
5a3bbd2
โœจFeat: Footer ๋ฐ˜์‘ํ˜• ์ ์šฉ #30
puretension Apr 26, 2024
8c4e76d
โœจFeat: TimelineCard ๋ฐ˜์‘ํ˜• ์ ์šฉ #30
puretension Apr 26, 2024
ce1705a
๐Ÿ”ง Chore: ํ…Œ์ŠคํŠธ์šฉ ์ƒ์ˆ˜ ํ…์ŠคํŠธ์ˆ˜ ๋Š˜๋ฆผ #30
puretension Apr 26, 2024
05d5e5f
๐ŸŽจ Style: ์ „์ฒด ๋ทฐ ํฌ๊ธฐ ์ˆ˜์ •, ํ”„๋กœ์ ํŠธ ๋””ํ…Œ์ผ ํ”„๋กœ์ ํŠธ ์ด๋ฏธ์ง€ ๊ณ ์ • #31
naarang Apr 27, 2024
bf97eaf
๐ŸŽจ Style: ํ”„๋กœ์ ํŠธ ์นด๋“œ ๋‚ด์šฉ height ๊ณ ์ • ๋ฐ 2์ค„ ์ด์ƒ ๋ง์ค„์ž„ํ‘œ #31
naarang Apr 27, 2024
f5c0934
โœจFeat: ํ”„๋กœ์ ํŠธ ํŽ˜์ด์ง€ constant, interface ๋ถ„๋ฆฌํ•ด์„œ ํ•˜๋“œ์ฝ”๋”ฉ ๊ฐœ์„ 
naarang Apr 28, 2024
e54e12d
โœจfeat: ํ”ผ๋“œ๋ฐฑ์— ๋”ฐ๋ผ alt ๋ฐ const ์ˆ˜์ •
bunju20 Apr 29, 2024
686265d
โœจfeat: ๋ฐฐ๋„ˆ ๋ฐ˜์‘ํ˜•์œผ๋กœ ์ˆ˜์ •
bunju20 Apr 29, 2024
dbaa578
โœจfeat: ํƒ€์ž„๋ผ์ธ ๋ฐ˜์‘ํ˜•์œผ๋กœ ์ˆ˜์ •
bunju20 Apr 29, 2024
ff98fa1
โœจFeat: ์†”๋ฃจ์…˜ ์ฑŒ๋ฆฐ์ง€ ํŽ˜์ด์ง€ constant, interface ๋ถ„๋ฆฌํ•ด์„œ ํ•˜๋“œ์ฝ”๋”ฉ ๊ฐœ์„ 
naarang Apr 29, 2024
dd7aa49
โœจfeat: ๋ฆฌ๋“œ๋ถ€๋ถ„ ๋ฐ˜์‘ํ˜• ์ˆ˜์ •
bunju20 Apr 29, 2024
007c217
โœจfeat: ๋ฉค๋ฒ„ ๋ฐ˜์‘ํ˜• ์ˆ˜์ •
bunju20 Apr 29, 2024
ba3d502
โœจfeat: ๋ฉค๋ฒ„ ๋ฐ•์Šค ์„ธ๋กœ ์ œ์™ธํ•˜๊ณ  ํฐํŠธ, ๋ฐ˜์‘ํ˜• ์ถ”๊ฐ€
bunju20 Apr 29, 2024
fc42ce1
โœจfeat : favicon ๋ฐ์€, ์–ด๋‘์šด ๋ฒ„์ „ ์ถ”๊ฐ€
bunju20 Apr 30, 2024
3365017
โœจfeat: ๋ฐ˜์‘ํ˜• ์ˆ˜์ •
bunju20 Apr 30, 2024
0aeaefc
โœจFeat: ํ† ๊ธ€ ๋ชจ์…˜ ์ ์šฉํ•˜๊ธฐ
naarang Apr 30, 2024
d3bd084
โœจFeat: ํ”„๋กœ์ ํŠธ ํŽ˜์ด์ง€์— ๋ชจ์…˜ ์ ์šฉํ•˜๊ธฐ
naarang Apr 30, 2024
c39e4f4
๐Ÿ’„Design : RecruitHeader #35
seochan99 Apr 30, 2024
e0d21b5
๐Ÿ’„Design : Recruit Recommand #35
seochan99 Apr 30, 2024
fbf9894
๐Ÿ’„Design : Recruit Target Header #35
seochan99 Apr 30, 2024
d87de5d
๐Ÿ’„Design : Recruit Target PartRow #35
seochan99 Apr 30, 2024
1734957
๐Ÿ’„Design : Recruit Schedule #35
seochan99 Apr 30, 2024
6b2e3d9
๐Ÿ’„Design : Recruit FAQ #35
seochan99 Apr 30, 2024
ba24249
โœจFeat: Header, Part, Recommand, Schedule, Target Media Query์ ์šฉ
seochan99 Apr 30, 2024
249299d
โœจfeat: ๋ฐ˜์‘ํ˜• ์ตœ์ข…์ˆ˜์ •
bunju20 May 1, 2024
cffd765
๐Ÿ’„design: ์ƒ‰์ƒ ์‹œ์Šคํ…œ ์ˆ˜์ •
bunju20 May 1, 2024
ba3bf10
๐Ÿ’„design: ์ƒ‰์ƒ ์‹œ์Šคํ…œ ์ˆ˜์ •
bunju20 May 1, 2024
a9c5760
Merge branch 'GDSC-DGU:dev' into dev
bunju20 May 1, 2024
e5b0016
โœจFeat: ํ”„๋กœ์ ํŠธ ์ƒ์„ธ ํŽ˜์ด์ง€์— ๋ชจ์…˜ ์ ์šฉํ•˜๊ธฐ, ๋ชจ์…˜ ๋ณ€์ˆ˜๋ช… ์ˆ˜์ • #31
naarang May 1, 2024
dbe9a4f
โœจFeat: ํ”„๋กœ์ ํŠธ ๋ฆฌ์ŠคํŠธ ํŽ˜์ด์ง€ ๋ฐ์Šคํฌํƒ‘ ํฌ๊ธฐ์—์„œ๋งŒ ํŽ˜์ด์ง€๋„ค์ด์…˜ ์ ์šฉ #31
naarang May 1, 2024
b6a4a47
๐ŸŽจ Style: ๋ถˆํ•„์š”ํ•œ ์ฃผ์„ ์ œ๊ฑฐ #31
naarang May 1, 2024
27665f4
๐ŸŽจ Style: ํ”„๋กœ์ ํŠธ ๋””ํ…Œ์ผ ํŽ˜์ด์ง€์˜ ํ”„๋กœํ•„ ์‚ฌ์ง„ ํฌ๊ธฐ ์ˆ˜์ • #31
naarang May 1, 2024
a2044d8
๐Ÿ’„ Style - ์„ธ๋ฏธ๋‚˜ ํ—ค๋”, ๋ฉ”๋‰ด๋ฐ”, ํ† ๊ธ€ ์Šคํƒ€์ผ ์–‘์‹๋Œ€๋กœ ๋ณ€๊ฒฝ #40
bianbbc87 May 1, 2024
f35911d
๐Ÿ’„ Style - ์„ธ๋ฏธ๋‚˜ ์ธ๋„ค์ผ ๋ฐ˜์‘ํ˜•, ์Šคํƒ€์ผ ์–‘์‹ ๋งž์ถค #40
bianbbc87 May 1, 2024
5b548a7
๐Ÿ’„ Style - ์„ธ๋ฏธ๋‚˜ ๋””ํ…Œ์ผ ์Šคํƒ€์ผ ์–‘์‹ ์ˆ˜์ • #40
bianbbc87 May 1, 2024
2526e3b
๐Ÿ’„Design-์˜คํ”ˆ์„ธ๋ฏธ๋‚˜ css ๊ตฌํ˜„ #41
bianbbc87 May 1, 2024
6a52530
๐Ÿ’„Design-์˜คํ”ˆ์„ธ๋ฏธ๋‚˜์šฉ presenter image ์ถ”๊ฐ€ #41
bianbbc87 May 1, 2024
f1ae457
โœจ Feat-์„ธ๋ฏธ๋‚˜ ๋””ํ…Œ์ผ, ์˜คํ”ˆ ์„ธ๋ฏธ๋‚˜ ์ด๋™-id์— ๋”ฐ๋ฅธ ๋ฐ์ดํ„ฐ ๊ฐ’ ๋ถ„๋ฆฌ #41
bianbbc87 May 1, 2024
dbf5f19
โ™ป๏ธRefactor-ํ† ๊ธ€ ๋ฉ”๋‰ด gap ๋ณ€๊ฒฝ, seminar data id ์ˆœ์„œ ๋ณ€๊ฒฝ #41
bianbbc87 May 1, 2024
b97019a
๐Ÿ’„ Style - ๋ฐฐ๊ฒฝ ๋ธ”๋ž™์œผ๋กœ ๋ณ€๊ฒฝ #40
bianbbc87 May 1, 2024
db47def
โœจfeat: motion ์ถ”๊ธฐ
bunju20 May 2, 2024
a83a261
โœจfeat: ๋ฐ˜์‘ํ˜• ์ˆ˜์ • ์ตœ์ข… ์™„๋ฃŒ
bunju20 May 2, 2024
12c19fc
๐ŸŽจ Style: ํ”„๋กœ์ ํŠธ ๋””ํ…Œ์ผ ํŽ˜์ด์ง€์˜ ํ”„๋กœํ•„ ์‚ฌ์ง„ ํฌ๊ธฐ ์ˆ˜์ • #31
naarang May 3, 2024
a9f53d2
๐Ÿ’„ Style - ๋ถˆํ•„์š”ํ•œ border ์ œ๊ฑฐ #40
bianbbc87 May 3, 2024
f6f37ff
โ™ป๏ธRefactor - ์˜คํ”ˆ์„ธ๋ฏธ๋‚˜ data set ๋ณ€๊ฒฝ #41
bianbbc87 May 3, 2024
2a8ff6a
โœจFeat: ์‚ฌ์ „์•Œ๋ฆผ์‹ ์ฒญ ๊ตฌ๊ธ€ํผ ์—ฐ๋™
seochan99 May 3, 2024
1636219
โœจFeat: Navi Prefatch
seochan99 May 3, 2024
b65ffa0
๐Ÿ’„Design: FAQ,Schedule Paading #35
seochan99 May 3, 2024
5066246
๐Ÿ’„Design: ๋ชจ์ง‘ํŒŒํŠธ ํƒ€๊ฒŸ ๋ž˜์ด์•„์›ƒ #35
seochan99 May 3, 2024
837ab10
Merge pull request #32 from GDSC-DGU/feature/timeline
puretension May 3, 2024
a26c307
fix: ์Šคํƒ€์ผ๋‚ด ๋Œ€๊ด„ํ˜ธ ์‚ญ์ œ
bunju20 May 3, 2024
0c82eaa
fix: ์ƒ์ˆ˜ ์ˆ˜์ •
bunju20 May 3, 2024
45a40da
Merge pull request #37 from GDSC-DGU/feature/project-page
naarang May 4, 2024
ce87fb0
Merge pull request #36 from GDSC-DGU/feature/recruit
seochan99 May 4, 2024
22617da
Merge pull request #38 from bunju20/dev
bunju20 May 4, 2024
ab29cd0
Merge pull request #42 from GDSC-DGU/feature/seminar
bianbbc87 May 4, 2024
c7ea997
Merge branch 'dev' into feature/28
seochan99 May 4, 2024
469f967
Merge pull request #39 from shimseohyun/feature/28
shimseohyun May 4, 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
46 changes: 45 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
},
"dependencies": {
"clsx": "^2.1.0",
"framer-motion": "^11.1.7",
"next": "14.1.3",
"react": "^18",
"react-dom": "^18.2.0",
"react-icons": "^5.0.1"
"react-icons": "^5.0.1",
"swiper": "^11.1.1"
},
"devDependencies": {
"@svgr/webpack": "^8.1.0",
Expand Down
Binary file added public/favicon-black.ico
Binary file not shown.
Binary file added public/favicon-light.ico
Binary file not shown.
Binary file added public/images/main/aboutGDSC_map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/member_banner_up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/member_header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/members/lead.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/svg/icons/common/right_arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
9 changes: 0 additions & 9 deletions public/svg/seminar/gdsc_logo.svg

This file was deleted.

Binary file added public/svg/seminar/presenter_profile_img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/svg/seminar/seminar_thumbnail_card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/svg/seminar/translate_img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/app/favicon.ico
Binary file not shown.
12 changes: 9 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@ import clsx from 'clsx';
import Script from 'next/script';
import { NotoSans } from './fonts';
import Navigation from '@/components/navigation';
import Footer from "@/components/layout/footer/Footer";

export const metadata = {
title: {
template: '%s | GDSC DGU',
default: 'GDSC DGU',
},

description: 'Google Developer Student Clubs ๋™๊ตญ๋Œ€ํ•™๊ต',
icons: {
icon: '/favicon-black.ico',
},
};

export default function RootLayout({
Expand All @@ -21,20 +26,21 @@ export default function RootLayout({
return (
<html
lang="ko"
className="flex w-screen justify-center bg-[#000] tablet:text-[16px] text-[14px]"
className="flex w-screen justify-center bg-[#000] tablet:text-[16px] text-[14px] "
>
<body
className={clsx(
[NotoSans.className],
// max-w-[430px] mx-auto : 430px ์ด์ƒ์ผ ๋•Œ ๊ฐ€์šด๋ฐ ์ •๋ ฌ
['min-h-screen w-full'],
['shadow-xl'],
['bg-[#050014]'],
['bg-[#000000]'],
['text-white'],
)}
>
<Navigation />
<div className="flex justify-center">{children}</div>
<div className="pt-[5rem] flex justify-center">{children}</div>
<Footer />
</body>
</html>
);
Expand Down
2 changes: 1 addition & 1 deletion src/app/member/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const metadata = {

const MemberPage = () => {
return (
<main className="w-4/5 px-0.625rem flex flex-col items-center justify-center">
<main className="flex flex-col items-center justify-center w-full pl-[1rem] pr-[1rem] sm:w-full lg:w-full xl:w-[75rem]">
{/* -----------------------------------------------*/}
{/* -------------------- ๋ฐฐ๋„ˆ --------------------*/}
{/* -----------------------------------------------*/}
Expand Down
18 changes: 11 additions & 7 deletions src/app/project/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
'use client';

import ProjectContent from '@/components/project/content/ProjectContent';
import ProjectIntroduction from '@/components/project/introduction/ProjectIntroduction';
import { PROJECTS } from '@/constants/project/projects';
import { ProjectData } from '@/interfaces/project/projectData';
import React from 'react';

export const metadata = {
title: 'Project Detail',
};
const ProjectDetailPage = ({ params }: { params: { id: string } }) => {
const projectData: ProjectData = PROJECTS.find(
(project) => project.id === Number(params.id),
)!;

const ProjectDetailPage = () => {
return (
<main className="w-full pb-[7.5rem]">
<main className="w-full flex flex-col items-center pb-[7.5rem]">
{/* -----------------------------------------------*/}
{/* -------------------- ํ”„๋กœ์ ํŠธ ์†Œ๊ฐœ ---------------*/}
{/* -----------------------------------------------*/}
<ProjectIntroduction />
<ProjectIntroduction projectData={projectData} />
{/* -----------------------------------------------*/}
{/* ------------------ ํ”„๋กœ์ ํŠธ ๋‚ด์šฉ ----------------*/}
{/* -----------------------------------------------*/}
<ProjectContent />
<ProjectContent projectData={projectData} />
</main>
);
};
Expand Down
18 changes: 11 additions & 7 deletions src/app/project/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ProjectHeader from '@/components/project/header/ProjectHeader';
import ProjectList from '@/components/project/list/ProjectList';
import ProjectPagination from '@/components/project/pagination/ProjectPagination';
import ProjectDesktopList from '@/components/project/list/ProjectDesktopList';
import ProjectMobileList from '@/components/project/list/ProjectMobileList';
import React from 'react';

export const metadata = {
Expand All @@ -9,19 +9,23 @@ export const metadata = {

const ProjectPage = () => {
return (
<main className="w-full pb-[7.5rem]">
<main className="w-full flex flex-col items-center pb-[7.5rem]">
{/* -----------------------------------------------*/}
{/* -------------------- ์ œ๋ชฉ ----------------------*/}
{/* -----------------------------------------------*/}
<ProjectHeader />
{/* -----------------------------------------------*/}
{/* ------------------ ํ”„๋กœ์ ํŠธ ๋ฆฌ์ŠคํŠธ ----------------*/}
{/* -------ํ”„๋กœ์ ํŠธ ๋ฆฌ์ŠคํŠธ (ํŽ˜์ด์ง€๋„ค์ด์…˜) ----------------*/}
{/* -----------------------------------------------*/}
<ProjectList />
<section className="hidden desktop:block w-dvw">
<ProjectDesktopList />
</section>
{/* -----------------------------------------------*/}
{/* ------------------ ํŽ˜์ด์ง€๋„ค์ด์…˜ ----------------*/}
{/* -------ํ”„๋กœ์ ํŠธ ๋ฆฌ์ŠคํŠธ (๋ฌดํ•œ ์Šคํฌ๋กค ) ----------------*/}
{/* -----------------------------------------------*/}
<ProjectPagination />
<section className="block desktop:hidden">
<ProjectMobileList />
</section>
</main>
);
};
Expand Down
26 changes: 17 additions & 9 deletions src/app/seminar/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
'use client';

import React from 'react';
import { useRouter } from 'next/navigation';
import { usePathname } from 'next/navigation';
import SeminarDetailHeader from '@/components/seminar/seminarDetail/header/SeminarDetailHeader';
import SeminarDetailBanner from '@/components/seminar/seminarDetail/banner/SeminarDetailBanner';
import { SEMINAR_DATA } from '@/constants/seminar/seminarData';
import SeminarDetailPdf from '@/components/seminar/seminarDetail/pdf/SeminarDetailPdf';
import NotFoundPage from '@/app/not-found';
import SeminarDetailReview from '@/components/seminar/seminarDetail/review/SeminarDetailReview';
import { changePathtoNumber } from '@/hooks/seminar/changePathtoNumber';

const SeminarDetailPage = () => {
const router = useRouter();
console.log(router);

const pathname = usePathname();
// ์ˆซ์ž ์ถ”์ถœ
var id = changePathtoNumber(pathname);

// ๊ฐ์ฒด ์ฐพ๊ธฐ
const seminar = SEMINAR_DATA.find(seminar => Number(seminar.id) === 1);
const seminar = SEMINAR_DATA.find(seminar => Number(seminar.id) === id);

if (!seminar) {
if (!id || !seminar) {
// ์„ธ๋ฏธ๋‚˜๋ฅผ ์ฐพ์ง€ ๋ชปํ•œ ๊ฒฝ์šฐ
return <NotFoundPage />;
}


return <div className="w-4/5 px-10 my-20 mx-auto">
return <section className="flex justify-center">
<div className="max-w-[1200px] desktop:px-10 tablet:px-10 px-4 bg-mono_black">
<div className="w-full">
{/* header */}
<SeminarDetailHeader key={`${seminar.id}_header`} data={seminar}/>

Expand All @@ -33,8 +37,12 @@ const SeminarDetailPage = () => {
<SeminarDetailPdf key={`${seminar.id}_pdf`}/>

{/* review */}
<SeminarDetailReview />
</div>;
<SeminarDetailReview key={`${seminar.id}_review`} />

</div>
<div className="h-[120px]"></div>
</div>
</section>;
};

export default SeminarDetailPage;
43 changes: 43 additions & 0 deletions src/app/seminar/open/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
'use client';

import React from 'react';
import { usePathname } from 'next/navigation';
import OpenSeminarDetailHeader from '@/components/seminar/openSeminarDetail/header/OpenSeminarDetailHeader';
import OpenSeminarDetailBanner from '@/components/seminar/openSeminarDetail/banner/OpenSeminarDetailBanner';
import OpenSeminarDetailSeminars from '@/components/seminar/openSeminarDetail/kindOfSeminar/OpenSeminarDetailSeminars';
import OpenSeminarDetailInformation from '@/components/seminar/openSeminarDetail/information/OpenSeminarDetailInformation';
import { OPEN_SEMINAR_DATA } from '@/constants/seminar/openSeminarData';
import NotFoundPage from '@/app/not-found';
import { changeOpenPathtoNumber } from '@/hooks/seminar/changePathtoNumber';

const OpenSeminarDetailPage = () => {
const pathname = usePathname();
// ์ˆซ์ž ์ถ”์ถœ
var id = changeOpenPathtoNumber(pathname);

// ๊ฐ์ฒด ์ฐพ๊ธฐ
const seminar = OPEN_SEMINAR_DATA.find(seminar => Number(seminar.id) === id);

if (!seminar) {
// ์„ธ๋ฏธ๋‚˜๋ฅผ ์ฐพ์ง€ ๋ชปํ•œ ๊ฒฝ์šฐ
return <NotFoundPage />;
}

return <section className="flex justify-center">
<div className="max-w-[1200px] desktop:px-10 tablet:px-10 px-4 bg-mono_black">
<div className="w-full">
{/* header */}
<OpenSeminarDetailHeader key={`${seminar.id}_header`} data={seminar}/>
{/* banner */}
<OpenSeminarDetailBanner key={`${seminar.id}_banner`} data={seminar}/>
{/* seminars */}
<OpenSeminarDetailSeminars key={`${seminar.id}_seminars`} data={seminar}/>
{/* information */}
<OpenSeminarDetailInformation key={`${seminar.id}_information`} data={seminar}/>
</div>
<div className="h-[120px]"></div>
</div>
</section>;
};

export default OpenSeminarDetailPage;
9 changes: 7 additions & 2 deletions src/app/seminar/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import React, { useState } from 'react';
const SeminarPage = () => {
const [selectedCategory, setSelectedCategory] = useState<string>('all');

return <div className="w-4/5 px-10 my-20 mx-auto">
return <section className="flex justify-center">
<div className="max-w-[1200px] desktop:px-10 tablet:px-10 px-4 bg-mono_black">
<div className="w-full">
{/* header */}
<SeminarHeader />

Expand All @@ -21,7 +23,10 @@ const SeminarPage = () => {

{/* seminar list */}
<SeminarThumbnailList selectedCategory={selectedCategory} />
</div>;
<div className="h-[120px]"></div>
</div>
</div>
</section>;
};

export default SeminarPage;
11 changes: 4 additions & 7 deletions src/app/solutionChallenge/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import ProjectList from '@/components/project/list/ProjectList';
import ProjectList from '@/components/project/list/ProjectDesktopList';
import SolutionChallengeHeader from '@/components/sollutionChallenge/header/SolutionChallengeHeader';
import SolutionChallengeList from '@/components/sollutionChallenge/list/SolutionChallengeList';
import SolutionChallengeTab from '@/components/sollutionChallenge/tab/SolutionChallengeTab';
import React from 'react';

Expand All @@ -9,19 +10,15 @@ export const metadata = {

const SolutionChallengePage = () => {
return (
<main className="w-full pb-[7.5rem]">
<main className="w-full flex flex-col items-center pb-[7.5rem]">
{/* -----------------------------------------------*/}
{/* -------------------- ๋ฐฐ๋„ˆ ----------------------*/}
{/* -----------------------------------------------*/}
<SolutionChallengeHeader />
{/* -----------------------------------------------*/}
{/* -------------------- ์ƒ๋‹จ ํƒญ --------------------*/}
{/* -----------------------------------------------*/}
<SolutionChallengeTab />
{/* -----------------------------------------------*/}
{/* ------------------ ํ”„๋กœ์ ํŠธ ๋ฆฌ์ŠคํŠธ ----------------*/}
{/* -----------------------------------------------*/}
<ProjectList />
<SolutionChallengeList />
</main>
);
};
Expand Down
Loading
Loading