Skip to content

Commit 7d60b33

Browse files
committed
chore: 메인 페이지 리팩토링
1 parent ea31492 commit 7d60b33

File tree

13 files changed

+135
-65
lines changed

13 files changed

+135
-65
lines changed

index.html

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,46 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite + React + TS</title>
4+
<meta charSet="UTF-8" />
5+
<base href="/" />
6+
<link rel="icon" href="/favicon.ico" sizes="32x32">
7+
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
8+
<link rel="apple-touch-icon" href="/favicon-180.png">
9+
10+
<meta name="theme-color" content="#fff" />
11+
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#fff" />
12+
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#fff" />
13+
14+
<meta name="msapplication-navbutton-color" content="#fff" />
15+
<meta name="msapplication-TileColor" content="#fff" />
16+
<meta name="msapplication-TileImage" content="/favicon-192.png" />
17+
<meta name="application-name" content="PyCon KR" />
18+
<meta name="apple-mobile-web-app-title" content="PyCon KR" />
19+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
20+
<meta name="apple-mobile-web-app-capable" content="yes" />
21+
<meta name="mobile-web-app-capable" content="yes" />
22+
<!-- https://developers.google.com/web/fundamentals/web-app-manifest/ -->
23+
<link rel="manifest" href="/site.webmanifest" />
24+
25+
<meta name="viewport" content="width=device-width,
26+
height=device-height,
27+
target-densitydpi=device-dpi,
28+
initial-scale=1.0,
29+
minimum-scale=1.0,
30+
maximum-scale=1.0,
31+
user-scalable=0,
32+
user-scalable=no,
33+
shrink-to-fit=no" />
34+
<meta name="author" content="PyCon Korea Organizing Team" />
35+
<meta name="description" content="Teaser site for PyCon Korea 2025" />
36+
<meta name="keywords" content="PyCon, Python, Conference, Korea, 2025" />
37+
<meta name="google" content="notranslate" />
38+
<meta name="googlebot" content="index, follow" />
39+
<meta name="robots" content="index, follow" />
40+
41+
<script src="https://cdn.iamport.kr/v1/iamport.js"></script>
42+
43+
<title>PyCon Korea 2025</title>
844
</head>
945
<body>
1046
<div id="root"></div>

public/favicon-180.png

3.78 KB
Loading

public/favicon-192.png

4.27 KB
Loading

public/favicon-512.png

15.2 KB
Loading

public/favicon.ico

1.35 KB
Binary file not shown.

public/favicon.svg

Lines changed: 1 addition & 0 deletions
Loading

public/site.webmanifest

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "PyCon Korea 2025",
3+
"icons": [
4+
{
5+
"src": "favicon-192.png",
6+
"type": "image/png",
7+
"sizes": "192x192"
8+
},
9+
{
10+
"src": "favicon-512.png",
11+
"type": "image/png",
12+
"sizes": "512x512",
13+
"purpose": "maskable"
14+
},
15+
{
16+
"src": "favicon-512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"id": "/",
22+
"start_url": "/",
23+
"scope": "/",
24+
"display": "standalone"
25+
}

public/vite.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/App.css

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/App.tsx

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1-
import Test from "./components/Test";
1+
import React from "react";
22

3-
function App() {
4-
return <Test />;
5-
}
3+
import { Box, Button } from '@mui/material';
4+
import { MdiTestPage } from "@src/debug/page/mdi_test";
5+
import { ShopTestPage } from '@src/debug/page/shop_test';
6+
7+
type SelectedTabType = "shop" | "mdi";
68

7-
export default App;
9+
export const App: React.FC = () => {
10+
const [selectedTab, setSelectedTab] = React.useState<SelectedTabType>("shop");
11+
12+
return <Box>
13+
<Button variant="contained" onClick={() => setSelectedTab("shop")}>Shop Test</Button>
14+
<Button variant="contained" onClick={() => setSelectedTab("mdi")}>MDI Test</Button>
15+
{selectedTab === "shop" && <ShopTestPage />}
16+
{selectedTab === "mdi" && <MdiTestPage />}
17+
</Box>
18+
}

0 commit comments

Comments
 (0)