Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.0.0 #23

Merged
merged 102 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
0e131fb
chore: tsconfig, prettier 를 루트 설정파일 확장하도록 수정
toothlessdev Sep 27, 2024
f68ab8b
chore: defaultFormatter 설정
toothlessdev Sep 27, 2024
8756f89
refactor: 코드 포맷팅
toothlessdev Sep 27, 2024
8889db6
chore: 공통으로 사용되는 패키지 설치
toothlessdev Sep 27, 2024
086df40
chore: issue template 추가
toothlessdev Sep 27, 2024
19f7bde
chore: prettier 루트 설정 확장하도록 변경
toothlessdev Sep 27, 2024
1864c4d
chore: 해커톤 신청페이지 초기 설정
toothlessdev Sep 27, 2024
e73df66
Merge pull request #2 from GDG-on-Campus-KNU/feature/client#1
toothlessdev Sep 27, 2024
370612e
chore: HeroSection 에셋 추가
toothlessdev Sep 28, 2024
75ec2da
chore: storybook 제거
toothlessdev Sep 28, 2024
431d2cb
refactor: 페이지 폴더구조 변경
toothlessdev Sep 28, 2024
97a0a83
feat: Text 컴포넌트 구현
toothlessdev Sep 28, 2024
c4eb631
feat: Button 컴포넌트 구현
toothlessdev Sep 28, 2024
f5e889c
feat: Chip 컴포넌트 구현
toothlessdev Sep 28, 2024
3f7d713
feat: BackDrop 컴포넌트 구현 및 스크롤 애니메이션 적용
toothlessdev Sep 28, 2024
62d63d3
feat: NavBar 컴포넌트 구현
toothlessdev Sep 28, 2024
9338be9
feat: 페이지 데이터 json 파일로 분리
toothlessdev Sep 28, 2024
ef2eb1a
Merge pull request #4 from GDG-on-Campus-KNU/feature/client#2
toothlessdev Sep 28, 2024
45c2cec
asset: 별, 햇빛 에셋 추가
toothlessdev Sep 29, 2024
9c9d4cf
asset: 로고, 구름, 편지지 에셋 추가
toothlessdev Sep 29, 2024
c5b698e
feat: HeroBackDrop 모바일 반응형 구현
toothlessdev Sep 29, 2024
fb35e43
fix: Chip 내부 텍스트 찌그러지는 현상 수정
toothlessdev Sep 29, 2024
0c69742
feat: HeroSection 모바일 반응형 구현
toothlessdev Sep 29, 2024
0f6819b
feat: 공통 섹션 Title 컴포넌트 및 스켈레톤 컴포넌트 구현
toothlessdev Sep 29, 2024
8f72365
feat: SponsorCard 컴포넌트 구현
toothlessdev Sep 29, 2024
55ec35f
Merge pull request #6 from GDG-on-Campus-KNU/feature/client#2
toothlessdev Sep 29, 2024
2e2afa0
chore: 로고 및 편지지 에셋 추가
toothlessdev Sep 30, 2024
3865e84
feat: SubmitButton 컴포넌트 구현
toothlessdev Sep 30, 2024
3f98793
feat: Input 컴포넌트 구현
toothlessdev Sep 30, 2024
53282d4
feat: 직렬 선택 ApplyPositionContext, useApplyPosition 훅 구현
toothlessdev Sep 30, 2024
bc1930d
feat: applyService 구현
toothlessdev Sep 30, 2024
f7c487b
feat: useApply 커스텀 훅 구현
toothlessdev Sep 30, 2024
a34f5ef
feat: ApplyPositionItem, Container 컴포넌트 구현
toothlessdev Sep 30, 2024
c6db413
feat: ApplySection 애니메이션 적용
toothlessdev Sep 30, 2024
842b54e
style: ApplyPosition 스타일 수정
toothlessdev Sep 30, 2024
fe05f5f
fix: Input ref 가 전달되지 않는 현상 해결
toothlessdev Sep 30, 2024
fed434e
fix: StrictMode 제거
toothlessdev Sep 30, 2024
d2e130b
feat: ApplySection 구현
toothlessdev Sep 30, 2024
977943b
feat: isValid 에서 에러 throw 하도록 수정
toothlessdev Sep 30, 2024
6225065
chore: gitkeep 파일 제거 및 환경변수 설정
toothlessdev Sep 30, 2024
c7768e5
feat: 타임라인 섹션 스켈레톤 코드 작성
toothlessdev Oct 1, 2024
06b57af
refactor: 스크롤 애니메이션 디버거 marker 제거
toothlessdev Oct 1, 2024
8c5be94
chore: 공통 구름 에셋 추가
toothlessdev Oct 1, 2024
f697431
init: eslint 설정 추가
Dobbymin Oct 1, 2024
031b806
init: 절대경로 설정
Dobbymin Oct 1, 2024
51c66ab
init: css 초기화
Dobbymin Oct 1, 2024
963f6f4
init: router 설정 추가
Dobbymin Oct 1, 2024
1458765
init: css 초기화
Dobbymin Oct 1, 2024
614e95b
init: query 설정 추가
Dobbymin Oct 1, 2024
8af28b6
init: 전체 폴더구조 세팅
Dobbymin Oct 1, 2024
4c24f44
feat: ApproveButton 컴포넌트 구현
toothlessdev Oct 1, 2024
26d4bd2
feat: ApplyModal, ModalContext 구현
toothlessdev Oct 1, 2024
901fb12
feat: API 오류 상태 분기 처리
toothlessdev Oct 1, 2024
4b6756e
refactor: 사용하지 않는 imports 제거
toothlessdev Oct 1, 2024
029f25a
Merge pull request #12 from GDG-on-Campus-KNU/feature/client#8
toothlessdev Oct 1, 2024
e375431
Fix: eslint 오류 수정
Dobbymin Oct 1, 2024
45ce219
chore: tailwind 설치 및 세팅
Dobbymin Oct 1, 2024
2952630
fix: tsconfig 파일 오류 수정
Dobbymin Oct 1, 2024
89a0fab
feat: tailwind 설정 추가
Dobbymin Oct 1, 2024
80292f8
feat: css 파일 경로 추가
Dobbymin Oct 1, 2024
7011ae2
feat: global style 적용
Dobbymin Oct 1, 2024
0a9fc4e
Merge pull request #11 from GDG-on-Campus-KNU/feature/admin#10
Dobbymin Oct 1, 2024
4ddc558
feat(router): root 경로 '/admin' 으로 변경
Dobbymin Oct 2, 2024
d43bb9b
fix(eslint): 오류 수정 및 기존 코드 변경
Dobbymin Oct 2, 2024
b7338ef
feat(data): 더미 데이터 추가
Dobbymin Oct 2, 2024
d696a36
feat: shadcn 컴포넌트 파일 추가
Dobbymin Oct 2, 2024
504e4a0
remove(global-style): color 관련 코드 제거 및 반영
Dobbymin Oct 2, 2024
25377fd
feat(QRcode-scanner): QRcode 스캐너 기능 구현
Dobbymin Oct 2, 2024
ed37399
Fix(data): 더미데이터 명칭 수정
Dobbymin Oct 2, 2024
95fdbff
refactor: 폴더구조 변경 및 파일이름 변경
Dobbymin Oct 2, 2024
7e5bca3
전체 페이지 코드 추가 (#14)
Dobbymin Oct 2, 2024
729f432
feat: 공통 구름 컴포넌트 구현 및 스크롤 애니메이션 적용
toothlessdev Oct 4, 2024
b591842
style: ITC Avant Garde Gothic 폰트 스타일 적용
toothlessdev Oct 5, 2024
5f6c729
style: ITC Avant Garde Gothic 폰트 스타일 적용
toothlessdev Oct 5, 2024
d8e0fd2
chore: @emotion/babel plugin 적용
toothlessdev Oct 5, 2024
7566404
feat: TimeLineCard, TimeLineContainer 컴포넌트 구현
toothlessdev Oct 5, 2024
2be0dba
feat: TimeLineSection 구현
toothlessdev Oct 5, 2024
510bdeb
feat: 타임라인 데이터 추가
toothlessdev Oct 5, 2024
0d84016
chore: font-face woff format 적용
toothlessdev Oct 5, 2024
103c930
style: 각 섹션 margin-top 프로퍼티 추가
toothlessdev Oct 5, 2024
7b14c64
fix: forwardRef 제네릭 타입 오류 해결
toothlessdev Oct 5, 2024
47d7e37
fix: forwardRef 제네릭 타입 오류 해결
toothlessdev Oct 5, 2024
b282c1a
feat: TopicCard 컴포넌트 구현
toothlessdev Oct 5, 2024
d082635
feat: TopicCardContainer 컴포넌트 구현
toothlessdev Oct 5, 2024
a6cf2bf
feat: TopicIntroductionSection 구현
toothlessdev Oct 5, 2024
9534709
refactor: 사용하지 않는 imports 제거
toothlessdev Oct 5, 2024
85ee3e6
Merge pull request #15 from GDG-on-Campus-KNU/feature/client#7
toothlessdev Oct 5, 2024
e1531c6
Merge pull request #17 from GDG-on-Campus-KNU/feature/client#16
toothlessdev Oct 5, 2024
45414ac
feat: 상단 NavBar 스크롤시 나타나도록 애니메이션 추가
toothlessdev Oct 5, 2024
ff25d30
feat: NavBar 모바일에서 visibility 변경
toothlessdev Oct 5, 2024
b4bff9d
fix: TimeLineCard 스크롤 애니메이션 트리거 위치 조정
toothlessdev Oct 5, 2024
26d5a54
style: SponsorCardContainer 구현 및 좌우 padding 적용
toothlessdev Oct 5, 2024
0be9d1c
feat: scrolltrigger market 제거 및 applysection 뒷단 편지지 에셋 추가
toothlessdev Oct 5, 2024
1c2525b
fix: 모바일에서 지원버튼 안눌리는 현상 해결 및 SectionTitle 반응형 폰트크기 조정
toothlessdev Oct 5, 2024
d758c5a
fix: NavBar 모바일에서 visibility 변경
toothlessdev Oct 5, 2024
e552aac
feat: 빌드타임 사전렌더링 적용
toothlessdev Oct 5, 2024
4427385
fix: key props warning 제거
toothlessdev Oct 5, 2024
5413f04
cd: 배포자동화 파이프라인 구축
toothlessdev Oct 5, 2024
7e7518c
chore: 배포 자동화 파이프라인에 사전렌더링 적용
toothlessdev Oct 5, 2024
64273f8
chore: img element 에 alt 속성 추가
toothlessdev Oct 5, 2024
d5d133e
chore: img element 에 alt 속성 추가
toothlessdev Oct 5, 2024
1c2672b
Merge pull request #21 from GDG-on-Campus-KNU/feature/client#20
toothlessdev Oct 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: "\bBUG REPORT"
about: 버그 발생 보고서
title: "[BUG] "
labels: ''
assignees: ''

---

## **📝 설명**


## **❎ 재현 단계**

1.
2.
3.
4.

## **✅ 예상 결과**
정상 작동시 나타나야할 결과를 적어주세요

## **🔗 첨부파일**
스크린샷과 같은 첨부파일이 있다면 첨부 해 주세요

## **🏔️ 실행환경**

(특정 브라우저 또는 기기에서 발생시 선택적으로 작성해주세요)
### **데스크톱 : **
- OS: [e.g. iOS] (
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

### **모바일 : **
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: FEATURE REQUEST
about: 기능 추가 보고서
title: "[FEATURE] "
labels: ''
assignees: ''

---

## **✅ 추가/누락된 기능**

## **📷 스크린샷**
44 changes: 44 additions & 0 deletions .github/workflows/deploy-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Deply Client Page to AWS

on:
pull_request:
branches: ["release"]
types: ["closed"]
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 22

- name: Install Yarn
run: npm i -g yarn

- name: Install Dependencies
run: yarn client install

- name: Build
run: yarn client build:prerender

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{secrets.AWS_ACCESS_KEY_ID}}
aws-secret-access-key: ${{secrets.AWS_SECRET_ACCESS_KEY}}
aws-region: ap-northeast-2

- name: Upload to S3 Bucket
env:
BUCKET_NAME: ${{secrets.CLIENT_BUCKET_NAME}}
run: aws s3 sync packages/client/dist s3://$BUCKET_NAME --delete

- name: Invalidate Cloudfront Cache
run: aws cloudfront create-invalidation --distribution-id ${{secrets.CLIENT_CLOUDFRONT_ID}} --paths /*
36 changes: 36 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
module.exports = {
arrowParens: "always",
bracketSpacing: true,

jsxBracketSameLine: false,
jsxSingleQuote: false,
singleQuote: false,

quoteProps: "as-needed",

printWidth: 120,
tabWidth: 4,

plugins: ["@trivago/prettier-plugin-sort-imports"],
importOrder: [
"^react",
"<THIRD_PARTY_MODULES>",

"^(@/common)(.*)$",
"^(@/components)(.*)$",
"^(@/pages)(.*)$",

"^(@/hooks)(.*)$",
"^(@/services)(.*)$",

"^(@/assets)(.*)$",
"^(@/constants)(.*)$",
"^(@/config)(.*)$",
"^(@/utils)(.*)$",
"^(@/styles)(.*)$",

"^(.*)/(.*)$",
],
importOrderSeparation: true,
importOrderSortSpecifiers: false,
};
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
17 changes: 15 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,23 @@
],
"scripts": {
"client": "yarn workspace client",
"admin": "yarn workspace admin"
"admin": "yarn workspace admin",
"prettier": "prettier --write '**/*.{ts,tsx}'"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": ""
"description": "",
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"prettier": "^3.3.3"
},
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@tanstack/react-query": "^5.56.2",
"axios": "^1.7.7",
"react-router-dom": "^6.26.2",
"zustand": "^5.0.0-rc.2"
}
}
Binary file added packages/.DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions packages/admin/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vite.config.ts
jest.config.ts
25 changes: 25 additions & 0 deletions packages/admin/.prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
...require("../../.prettierrc.cjs"),
plugins: ["@trivago/prettier-plugin-sort-imports"],
importOrder: [
"^react",
"<THIRD_PARTY_MODULES>",

"^(@/common)(.*)$",
"^(@/components)(.*)$",
"^(@/pages)(.*)$",

"^(@/hooks)(.*)$",
"^(@/services)(.*)$",

"^(@/assets)(.*)$",
"^(@/constants)(.*)$",
"^(@/config)(.*)$",
"^(@/utils)(.*)$",
"^(@/styles)(.*)$",

"^(.*)/(.*)$",
],
importOrderSeparation: true,
importOrderSortSpecifiers: false,
};
20 changes: 20 additions & 0 deletions packages/admin/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/index.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
}
}
94 changes: 69 additions & 25 deletions packages/admin/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,72 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import importPlugin from "eslint-plugin-import";
import a11y from "eslint-plugin-jsx-a11y";
import prettier from "eslint-plugin-prettier";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import globals from "globals";
import tseslint from "typescript-eslint";

import js from "@eslint/js";

export default tseslint.config(
{ ignores: ['dist'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
{ ignores: ["dist"] },
{
extends: [
js.configs.recommended,
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
...tseslint.configs.recommended,
],
files: ["**/*.{ts,tsx}"],
languageOptions: {
ecmaVersion: 2021,
globals: globals.browser,
sourceType: "module",
project: "./tsconfig.json",
createDefaultProgram: true,
},
plugins: {
"@typescript-eslint": tseslint,
"react-hooks": reactHooks,
"react-refresh": reactRefresh,
prettier: prettier,
"jsx-a11y": a11y,
import: importPlugin,
react: "eslint-plugin-react",
},
settings: {
"import/resolver": {
typescript: {
alwaysTryTypes: true,
},
},
react: {
version: "detect",
},
},
rules: {
"no-param-reassign": ["error", { props: false }],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-floating-promises": "off",
"react/prop-types": "off",
"prettier/prettier": [
"error",
{
endOfLine: "auto",
},
],
"react/react-in-jsx-scope": "off",
"import/no-unresolved": "off",
...reactHooks.configs.recommended.rules,
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
},
},
},
)
);
46 changes: 35 additions & 11 deletions packages/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,45 @@
"lint": "eslint .",
"preview": "vite preview"
},
"homepage": "/admin",
"dependencies": {
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@yudiel/react-qr-scanner": "^2.0.8",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.446.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react-dom": "^18.3.1",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^9.9.0",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.9",
"globals": "^15.9.0",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.1",
"@types/node": "^20.12.7",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/react-modal": "^3.16.3",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"postcss": "^8.4.47",
"prettier": "^3.2.5",
"tailwindcss": "^3.4.13",
"ts-node": "10.9.2",
"typescript": "^5.2.2",
"vite": "^5.4.1"
}
}
6 changes: 6 additions & 0 deletions packages/admin/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
Loading
Loading