Skip to content

Commit 7862b89

Browse files
authored
Merge pull request #32 from pythonkr/feature/coc
Feat: 2024 CoC 페이지 리다이렉트
2 parents f191b19 + 8d6c567 commit 7862b89

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

src/components/Footer/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ const Footer = () => {
7575
{/* <section className="right"></section> */}
7676
</div>
7777
<div className="footer-fixed-section">
78-
<section className="left">{t("파이콘 한국 행동 강령")} (CoC)</section>
78+
<section className="left">
79+
<a href="https://pythonkr.github.io/pycon-code-of-conduct/ko/coc/a_intent_and_purpose.html">
80+
{t("파이콘 한국 행동 강령")} (CoC)
81+
</a>
82+
</section>
7983
<section className="right">
8084
<a href="mailto:pyconkr@pycon.kr">
8185
<Email />

src/pages/About/coc.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ import React, { useEffect } from "react";
22
import Page from "components/common/Page";
33

44
const CocPage = () => {
5-
useEffect(() => {
6-
window.location.href = "https://2023.pycon.kr/coc/purpose"
7-
}, [])
8-
return <Page title="Code Of Conduct"></Page>;
9-
}
5+
useEffect(() => {
6+
window.location.href =
7+
"https://pythonkr.github.io/pycon-code-of-conduct/ko/coc/a_intent_and_purpose.html";
8+
}, []);
9+
return <Page title="Code Of Conduct"></Page>;
10+
};
1011

11-
export default CocPage;
12+
export default CocPage;

0 commit comments

Comments
 (0)