|
1 | 1 | import styled from "@emotion/styled"; |
2 | 2 | import { useEffect, useState } from "react"; |
3 | 3 |
|
4 | | -const menus = [ |
5 | | - { |
6 | | - text: "파이콘 한국", |
7 | | - subMenu: [ |
8 | | - { text: "파이콘 한국 소개", href: "/about" }, |
9 | | - { text: "파이콘 한국 2025", href: "/2025" }, |
10 | | - { text: "파이콘 한국 행동강령(CoC)", href: "/coc" }, |
11 | | - { text: "파이썬 사용자 모임", href: "/user-group" }, |
12 | | - { |
13 | | - text: "역대 파이콘 행사", |
14 | | - href: "/past-events", |
15 | | - subMenu: [ |
16 | | - { text: "2025", href: "/2025" }, |
17 | | - { text: "2024", href: "/2024" }, |
18 | | - { text: "2023", href: "/2023" }, |
19 | | - { text: "2022", href: "/2022" }, |
20 | | - { text: "2021", href: "/2021" }, |
21 | | - { text: "2020", href: "/2020" }, |
22 | | - ], |
23 | | - }, |
24 | | - { text: "파이콘 한국 건강 관련 안내", href: "/health" }, |
25 | | - ], |
26 | | - }, |
27 | | - { |
28 | | - text: "프로그램", |
29 | | - subMenu: [ |
30 | | - { text: "튜토리얼", href: "/tutorial" }, |
31 | | - { text: "스프린트", href: "/sprint" }, |
32 | | - { text: "포스터 세션", href: "/poster" }, |
33 | | - ], |
34 | | - }, |
35 | | - { |
36 | | - text: "세션", |
37 | | - subMenu: [ |
38 | | - { text: "세션 목록", href: "/sessions" }, |
39 | | - { text: "세션 시간표", href: "/schedule" }, |
40 | | - ], |
41 | | - }, |
42 | | - { |
43 | | - text: "구매", |
44 | | - subMenu: [ |
45 | | - { text: "티켓 구매", href: "/tickets" }, |
46 | | - { text: "굿즈 구매", href: "/goods" }, |
47 | | - { text: "결제 내역", href: "/payments" }, |
48 | | - ], |
49 | | - }, |
50 | | - { |
51 | | - text: "후원하기", |
52 | | - subMenu: [ |
53 | | - { text: "후원사 안내", href: "/sponsors" }, |
54 | | - { text: "개인 후원자", href: "/individual-sponsors" }, |
55 | | - ], |
56 | | - }, |
57 | | -]; |
58 | | - |
59 | 4 | export default function BreadCrumb() { |
60 | 5 | const [breadcrumbInfo, setBreadcrumbInfo] = useState({ |
61 | 6 | paths: [{ text: "홈", href: "/" }], |
|
0 commit comments