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

Update 2024 Winter Contents #14

Merged
merged 7 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
NEXT_PUBLIC_CURRENT_SUAPC_SEASON="2023 Summer"
NEXT_PUBLIC_CURRENT_HALLOFFAME_SEASON="2023 Summer"
NEXT_PUBLIC_CURRENT_SUAPC_SEASON="2024 Winter"
NEXT_PUBLIC_CURRENT_HALLOFFAME_SEASON="2024 Winter"
NEXT_PUBLIC_URL="http://localhost:4789"
4 changes: 2 additions & 2 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
NEXT_PUBLIC_CURRENT_SUAPC_SEASON="2023 Summer"
NEXT_PUBLIC_CURRENT_HALLOFFAME_SEASON="2023 Summer"
NEXT_PUBLIC_CURRENT_SUAPC_SEASON="2024 Winter"
NEXT_PUBLIC_CURRENT_HALLOFFAME_SEASON="2024 Winter"
NEXT_PUBLIC_URL="https://icpc-sinchon.io"
7 changes: 4 additions & 3 deletions components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { LogoSvg } from "./240-logo-svg";
import { setIsNavClicked } from "../reducers/isNavClicked";

const routes = [
{ title: "SUAPC 2023", href: "/suapc" },
{ title: "SUAPC 2024", href: "/suapc" },
{ title: "Camp Contest", href: "/campcontest" },
{ title: "명예의 전당", href: "/halloffame" },
{ title: "후원 및 협업", href: "/sponser" },
Expand Down Expand Up @@ -54,6 +54,7 @@ const Header = styled(({ className }) => {
</header>
);
})`
backdrop-filter: blur(1.5rem);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

어차피 이후 많은 수정이 있겠지만 이왕 헤더 바꾼거 글씨 크기도 조금만 키우죠. DesktopTopbarItem, MobileTopbarItem글씨 크기를 1rem으로 바꾸기만 하는 걸로...

display: flex;
align-items: center;

Expand Down Expand Up @@ -120,7 +121,7 @@ const MobileWindow = styled(({ className }) => {
`;

const DesktopTopbarItem = styled.div`
font-size: 0.8rem;
font-size: 1rem;
font-weight: 400;
letter-spacing: -0.02rem;

Expand All @@ -142,7 +143,7 @@ const DesktopTopbarItem = styled.div`
`;

const MobileTopbarItem = styled.div`
font-size: 0.8rem;
font-size: 1rem;
font-weight: 500;
color: white;
letter-spacing: -0.02rem;
Expand Down
28 changes: 8 additions & 20 deletions pages/campcontest.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const CampContest = ({ seasonList_, seasonData_ }) => {
</ArchiveButton>
<ArchiveButton
href={
(currentSeasonIdx !== 0 ? "https://api.suapc.kr/" : "/res/") +
(currentSeasonIdx > 1 ? "https://api.suapc.kr/" : "/res/") +
`${currentYear}${currentSeason === "Winter" ? "w" : "s"}/${
currentSeasonData.fileNames.solutionPdf
}`
Expand All @@ -197,29 +197,17 @@ const CampContest = ({ seasonList_, seasonData_ }) => {
</ArchiveWrap>
)}
<TextWrap
title={
currentSeasonData.length !== 0
? "콘테스트 일자"
: "이 곳의 주인공이 되세요"
}
title={"콘테스트 일자"}
content={
currentSeasonData.length !== 0
currentSeasonData.length !== 0 && currentSeasonData.date
? currentSeasonData.date
: "이 곳의 주인공이 되세요"
: "이번 시즌에는 Camp Contest가 진행되지 않았습니다. 다음 시즌을 기대해 주세요."
}
/>
<TextWrap
title={
currentSeasonData.length !== 0
? "캠프 콘테스트 소개"
: "이 곳의 주인공이 되세요"
}
content={
currentSeasonData.length !== 0
? `캠프 콘테스트는 캠프 기간동안 배운 알고리즘을 적용해볼 수 있는 모의고사 형식의 대회입니다.
개인전으로 진행되며, ICPC Sinchon Algorithm Camp 참가자만 참여할 수 있습니다.`
: "이 곳의 주인공이 되세요"
}
title={"캠프 콘테스트 소개"}
content={`캠프 콘테스트는 캠프 기간동안 배운 알고리즘을 적용해볼 수 있는 모의고사 형식의 대회입니다.
개인전으로 진행되며, ICPC Sinchon Algorithm Camp 참가자만 참여할 수 있습니다.`}
/>
<TextWrap
title={"출제 경향"}
Expand Down Expand Up @@ -364,7 +352,7 @@ const CampContest = ({ seasonList_, seasonData_ }) => {
</ArchiveButton>
<ArchiveButton
href={
(currentSeasonIdx !== 0 ? "https://api.suapc.kr/" : "/res/") +
(currentSeasonIdx > 1 ? "https://api.suapc.kr/" : "/res/") +
`${currentYear}${currentSeason === "Winter" ? "w" : "s"}/${
currentSeasonData.fileNames.solutionPdf
}`
Expand Down
16 changes: 8 additions & 8 deletions pages/suapc.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ const Suapc = () => {
return (
<Layout>
<Head>
<title>SUAPC 2023 | ICPC Sinchon</title>
<title>SUAPC 2024 | ICPC Sinchon</title>
<meta property="og:type" content="website" />
<meta property="og:locale" content="ko_KR" />
<meta property="og:title" content="SUAPC 2023 | ICPC Sinchon" />
<meta property="og:title" content="SUAPC 2024 | ICPC Sinchon" />
<meta property="og:url" content="https://icpc-sinchon.io/suapc" />
<meta
property="og:description"
Expand Down Expand Up @@ -163,7 +163,7 @@ const Suapc = () => {
<ArchiveButton
disabled={!Boolean(currentSeasonData.fileNames.solutionPdf)}
href={
(currentSeasonIdx !== 0 ? "https://api.suapc.kr/" : "/res/") +
(currentSeasonIdx > 1 ? "https://api.suapc.kr/" : "/res/") +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이건 지금 시즌에는 api를 이용해서 사진 가져오는 대신 public/res 폴더 사진 쓰려고 그런 게 맞죠?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네넵 pdf랑 포스터를 서버에 못 올려둬서 일단 이렇게 바꿨어요

`${currentYear}${currentSeason === "Winter" ? "w" : "s"}/${
currentSeasonData.fileNames.solutionPdf
}`
Expand All @@ -180,7 +180,7 @@ const Suapc = () => {
<ArchiveButton
disabled={!Boolean(currentSeasonData.fileNames.posterImage)}
href={
(currentSeasonIdx !== 0 ? "https://api.suapc.kr/" : "/res/") +
(currentSeasonIdx > 1 ? "https://api.suapc.kr/" : "/res/") +
`${currentYear}${currentSeason === "Winter" ? "w" : "s"}/${
currentSeasonData.fileNames.posterImage
}`
Expand All @@ -204,10 +204,10 @@ const Suapc = () => {
<span style={{ fontSize: "smaller" }}>12/05부터</span>
</AdmissionButton> */}
<AdmissionButton
disabled={!Boolean(currentSeasonData.fileNames.posterImage)}
disabled={!Boolean(currentSeasonData?.fileNames?.posterImage)}
href={`https://api.suapc.kr/${currentYear}${
currentSeason === "Winter" ? "w" : "s"
}/${currentSeasonData.fileNames.posterImage}`}
}/${currentSeasonData?.fileNames?.posterImage}`}
>
공식 포스터
</AdmissionButton>
Expand Down Expand Up @@ -325,7 +325,7 @@ const Suapc = () => {
<ArchiveButton
disabled={!Boolean(currentSeasonData.fileNames.solutionPdf)}
href={
(currentSeasonIdx !== 0 ? "https://api.suapc.kr/" : "/res/") +
(currentSeasonIdx > 1 ? "https://api.suapc.kr/" : "/res/") +
`${currentYear}${currentSeason === "Winter" ? "w" : "s"}/${
currentSeasonData.fileNames.solutionPdf
}`
Expand All @@ -342,7 +342,7 @@ const Suapc = () => {
<ArchiveButton
disabled={!Boolean(currentSeasonData.fileNames.posterImage)}
href={
(currentSeasonIdx !== 0 ? "https://api.suapc.kr/" : "/res/") +
(currentSeasonIdx > 1 ? "https://api.suapc.kr/" : "/res/") +
`${currentYear}${currentSeason === "Winter" ? "w" : "s"}/${
currentSeasonData.fileNames.posterImage
}`
Expand Down
104 changes: 104 additions & 0 deletions public/history/halloffame/2024 Winter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"year": 2024,
"season": "Winter",
"studies": [
{
"topic": "초급",
"lecturers": [
{
"name": "박찬솔",
"school": "숭실대",
"handle": "chansol"
},
{
"name": "채성우",
"school": "서강대",
"handle": "lem0nad3"
},
{
"name": "황채원",
"school": "이화여대",
"handle": "chaerryos"
}
],
"mentors": [
{
"name": "이성진",
"school": "서강대",
"handle": "moralbook"
},
{
"name": "이지언",
"school": "연세대",
"handle": "ez_code"
},
{
"name": "천민재",
"school": "홍익대",
"handle": "open_mind"
}
],
"curriculum": [
"Problem Solving, Time complexity, Basic C++, Linear data structure",
"Sorting",
"Basic Math",
"Prefix Sum, Two Pointer",
"BruteForcing, Recursive Function",
"Dynamic Programming",
"Binary Search, Divide and Conquer",
"Tree, Graph",
"DFS, BFS",
"Dijkstra"
]
},
{
"topic": "중급",
"lecturers": [
{
"name": "김건우",
"school": "연세대",
"handle": "coconut99"
},
{
"name": "김영현",
"school": "서울대",
"handle": "kipa00"
},
{
"name": "김태윤",
"school": "연세대",
"handle": "ystaeyoon113"
}
],
"mentors": [
{
"name": "길수민",
"school": "숙명여대",
"handle": "2093ab"
},
{
"name": "박경욱",
"school": "연세대",
"handle": "sk091204091204"
},
{
"name": "이협",
"school": "연세대",
"handle": "dlguq0107"
}
],
"curriculum": [
"Shortest Path Algorithms",
"Dynamic Programming (1)",
"Segment Tree",
"Number Theory",
"Problem Solving Session (1)",
"Tree Algorithms",
"Greedy Algorithm",
"Dynamic Programming (2)",
"String Algorithms",
"Problem Solving Session (2)"
]
}
]
}
1 change: 1 addition & 0 deletions public/history/halloffame/list.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
"2024 Winter",
"2023 Summer",
"2023 Winter",
"2022 Summer",
Expand Down
Loading
Loading