Skip to content

Commit 8f51361

Browse files
authored
Merge pull request #39 from pythonkr/feature/add-participant-portal
feat: 참가자 포탈 App 추가
2 parents 866c33e + 190bdc1 commit 8f51361

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2504
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,24 @@ jobs:
3232
BUMP_RULE: ${{ (github.event_name == 'workflow_dispatch' && inputs.WORKFLOW_PHASE || 'dev') == 'dev' && '--mode development' || '' }}
3333
AWS_S3_PYCONKR_FRONTEND_BUCKET: ${{ (github.event_name == 'workflow_dispatch' && inputs.WORKFLOW_PHASE || 'dev') == 'dev' && secrets.AWS_S3_PYCONKR_FRONTEND_BUCKET_DEV || secrets.AWS_S3_PYCONKR_FRONTEND_BUCKET_PROD }}
3434
AWS_S3_PYCONKR_ADMIN_BUCKET: ${{ (github.event_name == 'workflow_dispatch' && inputs.WORKFLOW_PHASE || 'dev') == 'dev' && secrets.AWS_S3_PYCONKR_ADMIN_BUCKET_DEV || secrets.AWS_S3_PYCONKR_ADMIN_BUCKET_PROD }}
35+
AWS_S3_PYCONKR_PARTICIPANT_PORTAL_BUCKET: ${{ (github.event_name == 'workflow_dispatch' && inputs.WORKFLOW_PHASE || 'dev') == 'dev' && secrets.AWS_S3_PYCONKR_PARTICIPANT_PORTAL_BUCKET_DEV || secrets.AWS_S3_PYCONKR_PARTICIPANT_PORTAL_BUCKET_PROD }}
3536
AWS_CLOUDFRONT_PYCONKR_FRONTEND_DISTRIBUTION_ID: ${{ (github.event_name == 'workflow_dispatch' && inputs.WORKFLOW_PHASE || 'dev') == 'dev' && secrets.AWS_CLOUDFRONT_PYCONKR_FRONTEND_DISTRIBUTION_ID_DEV || secrets.AWS_CLOUDFRONT_PYCONKR_FRONTEND_DISTRIBUTION_ID_PROD }}
3637
AWS_CLOUDFRONT_PYCONKR_ADMIN_DISTRIBUTION_ID: ${{ (github.event_name == 'workflow_dispatch' && inputs.WORKFLOW_PHASE || 'dev') == 'dev' && secrets.AWS_CLOUDFRONT_PYCONKR_ADMIN_DISTRIBUTION_ID_DEV || secrets.AWS_CLOUDFRONT_PYCONKR_ADMIN_DISTRIBUTION_ID_PROD }}
38+
AWS_CLOUDFRONT_PYCONKR_PARTICIPANT_PORTAL_DISTRIBUTION_ID: ${{ (github.event_name == 'workflow_dispatch' && inputs.WORKFLOW_PHASE || 'dev') == 'dev' && secrets.AWS_CLOUDFRONT_PYCONKR_PARTICIPANT_PORTAL_DISTRIBUTION_ID_DEV || secrets.AWS_CLOUDFRONT_PYCONKR_PARTICIPANT_PORTAL_DISTRIBUTION_ID_PROD }}
3739

3840
strategy:
3941
matrix:
40-
application: [pyconkr, pyconkr-admin]
42+
application: [pyconkr, pyconkr-admin, pyconkr-participant-portal]
4143
include:
4244
- application: pyconkr
4345
aws_s3_bucket_key: AWS_S3_PYCONKR_FRONTEND_BUCKET
4446
aws_cloudfront_distribution_key: AWS_CLOUDFRONT_PYCONKR_FRONTEND_DISTRIBUTION_ID
4547
- application: pyconkr-admin
4648
aws_s3_bucket_key: AWS_S3_PYCONKR_ADMIN_BUCKET
4749
aws_cloudfront_distribution_key: AWS_CLOUDFRONT_PYCONKR_ADMIN_DISTRIBUTION_ID
50+
- application: pyconkr-participant-portal
51+
aws_s3_bucket_key: AWS_S3_PYCONKR_PARTICIPANT_PORTAL_BUCKET
52+
aws_cloudfront_distribution_key: AWS_CLOUDFRONT_PYCONKR_PARTICIPANT_PORTAL_DISTRIBUTION_ID
4853

4954
steps:
5055
- uses: actions/checkout@master
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
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="PyCon Korea Participant Portal" />
36+
<meta name="keywords" content="PyCon, Python, Conference, Korea" />
37+
<meta name="google" content="notranslate" />
38+
<meta name="googlebot" content="index, follow" />
39+
<meta name="robots" content="index, follow" />
40+
41+
<title>PyCon Korea Participant Portal</title>
42+
</head>
43+
<body>
44+
<div id="root"></div>
45+
<script type="module" src="./src/main.tsx"></script>
46+
</body>
47+
</html>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "@apps/pyconkr-participant-portal",
3+
"dependencies": {
4+
"@frontend/common": "workspace:*",
5+
"@frontend/shop": "workspace:*"
6+
},
7+
"devDependencies": {
8+
"vite": "^6.3.5",
9+
"vite-plugin-mdx": "^3.6.1",
10+
"vite-plugin-mkcert": "^1.17.8",
11+
"vite-plugin-svgr": "^4.3.0"
12+
}
13+
}
3.78 KB
Loading
4.27 KB
Loading
15.2 KB
Loading
1.35 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "PyCon Korea Participant Portal",
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+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import * as React from "react";
2+
import { Navigate, Route, Routes } from "react-router-dom";
3+
4+
import { Layout } from "./components/layout.tsx";
5+
import { LandingPage } from "./components/pages/home.tsx";
6+
import { ProfileEditor } from "./components/pages/profile_editor.tsx";
7+
import { SessionEditor } from "./components/pages/session_editor";
8+
import { SignInPage } from "./components/pages/signin.tsx";
9+
import { SponsorEditor } from "./components/pages/sponsor_editor";
10+
11+
export const App: React.FC = () => (
12+
<Routes>
13+
<Route element={<Layout />}>
14+
<Route path="/" element={<LandingPage />} />
15+
<Route path="/signin" element={<SignInPage />} />
16+
<Route path="/user" element={<ProfileEditor />} />
17+
<Route path="/sponsor/:id" element={<SponsorEditor />} />
18+
<Route path="/session/:sessionId" element={<SessionEditor />} />
19+
<Route path="*" element={<Navigate to="/" replace />} />
20+
</Route>
21+
</Routes>
22+
);

0 commit comments

Comments
 (0)