Skip to content

Commit 7c82e48

Browse files
committed
fix: 법에 맞도록 footer 수정
1 parent 34d1829 commit 7c82e48

File tree

1 file changed

+66
-13
lines changed
  • apps/pyconkr/src/components/layout/Footer

1 file changed

+66
-13
lines changed

apps/pyconkr/src/components/layout/Footer/index.tsx

Lines changed: 66 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import styled from "@emotion/styled";
22
import * as Common from "@frontend/common";
3-
import { Article, Email, Facebook, GitHub, Instagram, LinkedIn, X, YouTube } from "@mui/icons-material";
3+
import { Article, Email, Facebook, GitHub, Instagram, LinkedIn, OpenInNew, X, YouTube } from "@mui/icons-material";
4+
import { Button } from "@mui/material";
45
import * as React from "react";
56

67
import FlickrIcon from "@apps/pyconkr/assets/thirdparty/flickr.svg?react";
@@ -18,7 +19,6 @@ interface IconItem {
1819

1920
interface FooterProps {
2021
slogan?: string;
21-
description?: string;
2222
links?: LinkItem[];
2323
icons?: IconItem[];
2424
}
@@ -54,13 +54,16 @@ const defaultIcons: IconItem[] = [
5454
},
5555
];
5656

57+
const Bar: React.FC = () => <div style={{ display: "inline-block", padding: "0 0.25rem" }}>|</div>;
58+
5759
export default function Footer({
58-
slogan = "Weave with Python, 파이콘 한국 2025",
59-
description = "파이콘 한국 2025는 파이콘 한국 준비위원회가 만들고 있습니다\n파이썬 웹 프레임워크 Django로 만들었습니다",
6060
links = [
61-
{ text: "파이콘 한국 행동 강령(CoC)", href: "#" },
62-
{ text: "서비스 이용 약관", href: "#" },
63-
{ text: "개인 정보 처리 방침", href: "#" },
61+
{
62+
text: "파이콘 한국 행동 강령(CoC)",
63+
href: "https://pythonkr.github.io/pycon-code-of-conduct/ko/coc/a_intent_and_purpose.html",
64+
},
65+
{ text: "서비스 이용 약관", href: "/about/terms-of-service" },
66+
{ text: "개인 정보 처리 방침", href: "/about/privacy-policy" },
6467
],
6568
icons = defaultIcons,
6669
}: FooterProps) {
@@ -69,10 +72,28 @@ export default function Footer({
6972
return (
7073
<FooterContainer>
7174
<FooterContent>
72-
<FooterSlogan>{slogan}</FooterSlogan>
73-
{description.split("\n").map((line, index) => (
74-
<div key={index}>{line}</div>
75-
))}
75+
<FooterText>
76+
<strong>사단법인 파이썬사용자모임</strong>
77+
<br />
78+
서울특별시 강남구 강남대로84길 24-4
79+
<Bar />
80+
대표자명 : 배권한
81+
<Bar />
82+
대표 전화 번호 : 031-261-2203, 010-5298-6622, 010-8259-3013 (문자)
83+
<Bar />
84+
사업자 등록 번호 : 338-82-00046
85+
<a href="http://www.ftc.go.kr/bizCommPop.do?wrkr_no=3388200046" target="_blank" rel="noreferrer">
86+
<Button variant="outlined" startIcon={<OpenInNew sx={{ fontSize: "7pt" }} />}>
87+
사업자 정보 확인
88+
</Button>
89+
</a>
90+
<br />
91+
통신 판매 번호 : 2023-서울강남-03501
92+
<Bar />
93+
호스팅 제공자 : Amazon Web Services(Korea LLC)
94+
<Bar />
95+
문의: <a href="mailto:[email protected]">[email protected]</a>
96+
</FooterText>
7697
<FooterLinks>
7798
{links.map((link, index) => (
7899
<React.Fragment key={index}>
@@ -99,6 +120,7 @@ export default function Footer({
99120
</IconLink>
100121
))}
101122
</FooterIcons>
123+
<FooterSlogan>© 2025, 파이콘 한국 준비위원회, All rights reserved.</FooterSlogan>
102124
</FooterContent>
103125
</FooterContainer>
104126
);
@@ -113,7 +135,8 @@ const FooterContainer = styled.footer`
113135
align-items: center;
114136
justify-content: center;
115137
width: 100%;
116-
height: 267px;
138+
max-height: 16rem;
139+
padding: 1rem 0;
117140
`;
118141

119142
const FooterContent = styled.div`
@@ -124,8 +147,38 @@ const FooterContent = styled.div`
124147
gap: 0.75rem;
125148
`;
126149

150+
const FooterText = styled.div`
151+
padding: 0 2rem;
152+
margin: 0.1rem;
153+
154+
font-size: 9pt;
155+
156+
a > button {
157+
margin-left: 0.25rem;
158+
padding: 0.05rem 0.25rem;
159+
font-size: 8pt;
160+
color: ${({ theme }) => theme.palette.common.white};
161+
border-color: ${({ theme }) => theme.palette.common.white};
162+
163+
gap: 0.25rem;
164+
165+
& span {
166+
margin-left: -2px;
167+
margin-right: 0;
168+
169+
& svg {
170+
font-size: 12pt !important;
171+
}
172+
}
173+
}
174+
175+
strong {
176+
font-size: 12pt;
177+
}
178+
`;
179+
127180
const FooterSlogan = styled.div`
128-
font-weight: 600;
181+
text-align: center;
129182
`;
130183

131184
const FooterLinks = styled.div`

0 commit comments

Comments
 (0)