Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
c0af257
environment: 초기 개발 환경 세팅
lemoncurdyogurt May 20, 2025
c08f4ad
Merge pull request #1 from suyoungSwim/sujin
chaeyoungwon May 21, 2025
151d4fe
chore: 디자인 시스템 및 svg 설정 추가
chaeyoungwon May 21, 2025
8ecf8a2
feat: 헤더 구조 추가
chaeyoungwon May 21, 2025
8729f9e
fix: svg 임포트 오류 해결
chaeyoungwon May 21, 2025
6fce1a1
Merge branch 'master' into chaeyoung
chaeyoungwon May 21, 2025
2398986
feat: 헤더 및 홈 UI 1차 구현
chaeyoungwon May 21, 2025
2c8fcc5
feat: 홈페이지 UI 구현
chaeyoungwon May 21, 2025
1ec7fef
feat: 로그인 페이지 UI 구현 및 구조 리팩토링
chaeyoungwon May 21, 2025
89c10fa
feat: 페이지에 들어와있을 경우 헤더 메뉴에 밑줄 추가
chaeyoungwon May 21, 2025
43db6a0
feat: 회원가입 페이지 1차 구현
chaeyoungwon May 21, 2025
c3631a6
feat: 커스텀 드롭다운 추가
chaeyoungwon May 21, 2025
0e49a79
refactor: 회원가입 컴포넌트 및 함수 분리, 비밀번호일 경우 인풋 필드에 눈 아이콘 추가
chaeyoungwon May 21, 2025
2b82646
design: 인풋 필드 패딩 및 글자크기 조정
chaeyoungwon May 21, 2025
fa4f9e4
chore: pr 템플릿 추가
chaeyoungwon May 21, 2025
9dcd3d7
Merge branch 'master' into chaeyoung
chaeyoungwon May 21, 2025
8bb24ed
chore: globals.css 수정 및 typography 설정 방식 변경
chaeyoungwon May 21, 2025
99dc2b6
fix: 절대경로로 수정
chaeyoungwon May 22, 2025
0daac04
merge: merge with chaeyoung branch
lemoncurdyogurt May 22, 2025
84934aa
Merge branch 'chaeyoung' of https://github.com/suyoungSwim/next-vote-…
lemoncurdyogurt May 22, 2025
acf94dd
fix: merge 오류 해결
lemoncurdyogurt May 22, 2025
d49aaf2
feat: 로그인 모달 기능 추가
lemoncurdyogurt May 22, 2025
3293c89
remove: 콘솔로그 삭제
lemoncurdyogurt May 22, 2025
0d352f4
feat: 로그인 모달 모바일 메뉴에 적용 및 반응형으로 사이즈 조정
lemoncurdyogurt May 22, 2025
cf28a52
feat: 회원가입 완료 모달 추가
lemoncurdyogurt May 22, 2025
9b62c0a
style: 코드 prettier수행
lemoncurdyogurt May 22, 2025
e58567d
chore: prettier script cache 기능 추가
lemoncurdyogurt May 22, 2025
832a138
feat: 회원가입 모달 화면에 띄우기
lemoncurdyogurt May 22, 2025
fa82149
feat: vote modal 제작
lemoncurdyogurt May 22, 2025
b23d9af
feat: 투표 및 멤버 페이지 파일구조 생성
lemoncurdyogurt May 22, 2025
af902f7
feat: 로그인 확인 모달 데스크탑 화면 메뉴바에도 추가
lemoncurdyogurt May 22, 2025
10d9378
feat: 투표 및 멤버 페이지 파일구조 생성
lemoncurdyogurt May 22, 2025
874a520
feat: 멤버 데이터 추가
lemoncurdyogurt May 22, 2025
b509a53
refactor: 코드리뷰 반영 코드 수정
chaeyoungwon May 23, 2025
06d4498
✨ Feat: 홈, 로그인, 회원가입 UI 구현 (#2)
chaeyoungwon May 23, 2025
7a0a296
design: md 사이즈 내 글씨 크기 수정
chaeyoungwon May 23, 2025
d28ff98
feat: zod/zustand 설치 및 api 구조 연결
chaeyoungwon May 23, 2025
d7974de
refactor: signup 페이지 내 구조 분리 및 훅 추가
chaeyoungwon May 23, 2025
3d0d289
fix: 로그아웃에 clearAuth 추가
chaeyoungwon May 23, 2025
509535c
✨ Feat: 로그인/회원가입 API 연결 구조 추가 및 zod 유효성 검사 적용 (#4)
chaeyoungwon May 24, 2025
401db5f
feat, design: 멤버페이지 추가, 반응형 디자인 적용
lemoncurdyogurt May 24, 2025
7f89fec
design: 스크롤바 hide
lemoncurdyogurt May 24, 2025
bb971c2
design: 멤버 페이지 디자인 수정
lemoncurdyogurt May 24, 2025
59a520f
rename: 파트별로 페이지 동적라우팅
lemoncurdyogurt May 24, 2025
72b1ea5
feat: 투표 처음 화면 추가
lemoncurdyogurt May 24, 2025
9cfe962
style: 코드 prettier적용
lemoncurdyogurt May 24, 2025
6ea161c
fix: 배포 에러 해결
chaeyoungwon May 24, 2025
b95ba7a
fix: 배포 중 type 안맞는 이슈 해결
chaeyoungwon May 24, 2025
9854b4b
refactor: 데모데이 페이지 title추가
lemoncurdyogurt May 24, 2025
b243713
fix: 멤버 페이지 디자인 수정
chaeyoungwon May 24, 2025
9ea7a1a
fix: vote 첫 페이지 디자인 수정
chaeyoungwon May 24, 2025
16dd8f4
fix: 절대경로로 변경 및 모달 배경색 tailwind 코드로 변경
chaeyoungwon May 24, 2025
cf6524a
fix: vote 첫 페이지 리팩토링 및 디자인 수정
chaeyoungwon May 24, 2025
bb5b8ae
design: 모달 버튼 색깔 수정
lemoncurdyogurt May 24, 2025
7388c97
feat: 파트장 투표 페이지 추가
lemoncurdyogurt May 24, 2025
adf4ced
merge 충돌 해결
lemoncurdyogurt May 24, 2025
a007edc
feat: 데모데이 투표하기 구현
chaeyoungwon May 24, 2025
b3e3621
Merge branch 'master' into sujin
chaeyoungwon May 24, 2025
17db25e
fix: teamlist 구조 변경으로 인한 demoday 코드 수정
chaeyoungwon May 24, 2025
e5c6f08
fix: params 오류 수정 및 폴더 구조 수정
chaeyoungwon May 24, 2025
22f8611
fix: 회원가입 파일 충돌 오류 수정
chaeyoungwon May 24, 2025
0a7eab7
fix: params 오류 수정
lemoncurdyogurt May 24, 2025
765a379
style: prettier 적용
lemoncurdyogurt May 24, 2025
e966430
merge: 충돌처리
lemoncurdyogurt May 24, 2025
25f048c
design: 투표 페이지 디자인 설정
lemoncurdyogurt May 24, 2025
da58cef
design: 투표 순위 텍스트 text align 설정
lemoncurdyogurt May 24, 2025
d7611bc
fix: 데모데이/ 파트장 투표하기 버튼 기능 동일하게 수정
chaeyoungwon May 24, 2025
326ff29
fix: 투표 순위 보러 가기 문구 위치 수정
chaeyoungwon May 24, 2025
05969f7
fix: svg fill 오류해결
chaeyoungwon May 24, 2025
d19adb1
✨ Feat: 공통 컴포넌트, 멤버 페이지, 투표선택 페이지 (#3)
chaeyoungwon May 24, 2025
8b0a2f2
fix: useAuthStore 내 변수 사용
chaeyoungwon May 24, 2025
2afe6cd
refactor: 코드리뷰 반영 코드 수정
chaeyoungwon Jun 1, 2025
57b5856
♻️ refactor: 코드리뷰 기반 코드 수정 (#5)
chaeyoungwon Jun 1, 2025
5add89d
fix: 엔드포인트 수정 및 중복확인 검사 주석처리
chaeyoungwon Jun 1, 2025
3aefa1f
Merge branch 'master' into chaeyoung
chaeyoungwon Jun 15, 2025
a66e49a
refactor: 로그인 API tanstack query 이용 구조로 변경
chaeyoungwon Jun 15, 2025
23f6503
refactor: id->username 변수명 변경
chaeyoungwon Jun 15, 2025
bb65ecb
fix: api 구조 변경에 따른 isDuplicate -> exists로 변경
chaeyoungwon Jun 15, 2025
d24d25e
fix: 회원가입 검증 로직 수정
chaeyoungwon Jun 15, 2025
70ab24b
refactor: auth 관련 중복 로직 삭제
chaeyoungwon Jun 15, 2025
8ea0f96
refactor: signup payload 타입형태로 import
chaeyoungwon Jun 15, 2025
29de6ae
design: 삭제된 gap 다시 추가
chaeyoungwon Jun 15, 2025
5d8f21d
Merge branch 'CEOS-Developers:master' into master
lemoncurdyogurt Jun 17, 2025
92e3a47
style: 파트장 투표 화면 수정
lemoncurdyogurt Jun 17, 2025
32777a0
refactor: 투표 완료후 투표 버튼 삭제
lemoncurdyogurt Jun 17, 2025
6f2cba5
fix: exists 응답 오류 수정
chaeyoungwon Jun 19, 2025
5cacf84
🐛 Fix: 회원가입, 로그인 API 코드 구조 및 로직 수정 (#6)
chaeyoungwon Jun 19, 2025
3f747d2
fix: 배포 오류 수정
chaeyoungwon Jun 19, 2025
2f269c3
Merge branch 'master' of https://github.com/suyoungSwim/next-vote-21t…
lemoncurdyogurt Jun 23, 2025
5dcfdd3
refactor: 모달 공통모달형식으로 코드 수정
lemoncurdyogurt Jun 23, 2025
40bcba8
style: 모달 텍스트 수정
lemoncurdyogurt Jun 23, 2025
8f7a98c
refactor: functional component 수정
lemoncurdyogurt Jun 23, 2025
b968c68
style: 파일 이름을 vote에서 elections로 수정
lemoncurdyogurt Jun 23, 2025
8ac83f7
refactor: 파트별 타입 선언 분리
lemoncurdyogurt Jun 23, 2025
b6bd6ee
feat: 파트장 투표 결과 페이지 UI
lemoncurdyogurt Jun 23, 2025
0cdec92
feat: 투표순으로 정렬 기능 추가
lemoncurdyogurt Jun 23, 2025
6716c62
feat: 데모데이 투표결과 UI
lemoncurdyogurt Jun 23, 2025
b14bd82
design: 데모데이 결과 디자인 수정
lemoncurdyogurt Jun 23, 2025
2e904e9
feat: 멤버ID저장
lemoncurdyogurt Jun 26, 2025
8c04cec
feat: candidate id 추가
lemoncurdyogurt Jun 26, 2025
0aa6f18
feat: 이름으로 후보자ID찾는 유틸 추가
lemoncurdyogurt Jun 26, 2025
b9b6da4
fix: id 타입에러 수정
lemoncurdyogurt Jun 26, 2025
c44b45b
fix: 투표 request body에서 memberId 제거로 불필요 코드 삭제
lemoncurdyogurt Jun 26, 2025
b503465
fix: 투표 post api 엔드포인트 수정
lemoncurdyogurt Jun 26, 2025
7f8a0ee
feat: 데모데이 및 파트장 투표 api 추가
lemoncurdyogurt Jun 26, 2025
91f239d
feat: jwt decode 추가
lemoncurdyogurt Jun 26, 2025
ede79e3
refactor: 코드리뷰 기반 코드 수정
lemoncurdyogurt Jun 26, 2025
93d63bb
feat: middleware.ts 생성 및 리다이렉트 조건 추가
chaeyoungwon Jun 26, 2025
7fb2b0d
remove: 불필요한 주석 제거
chaeyoungwon Jun 26, 2025
fe3a62f
✨ Feat: middleware.ts 파일 생성 및 리다이렉트 조건 추가 (#8)
chaeyoungwon Jun 26, 2025
4406b69
feat: 새로고침 시 재발급 API 호출하여 토큰 저장 구현
chaeyoungwon Jun 26, 2025
bdc5428
✨ Feat: 새로고침 시 재발급 API 호출하여 토큰 저장 구현 (#9)
chaeyoungwon Jun 26, 2025
10cdfae
feat: 로컬스토리지에 로그아웃 여부 저장
chaeyoungwon Jun 26, 2025
632da7d
fix: 배포 오류 수정
chaeyoungwon Jun 26, 2025
bd6343f
design, test: 콘솔로그 제거 및 투표 하기 전 후보자 클릭 시 색상 수정
lemoncurdyogurt Jun 26, 2025
e4a081f
design: 스크롤바 숨김 및 backgroundshpae반영
lemoncurdyogurt Jun 26, 2025
a7a4929
Merge branch 'master' into sujin
chaeyoungwon Jun 26, 2025
8bde63f
fix: 충돌 코드 수정 및 axiosInstance로 수정
chaeyoungwon Jun 26, 2025
71cd4fa
feat: 정렬된 후보 목록 조회 API로 로직 대체
chaeyoungwon Jun 26, 2025
0c699d9
rename: 파일명 수정
chaeyoungwon Jun 26, 2025
9d2814f
feat: 홈페이지 총 투표 수 함수 추가 및 애니메이션 훅 추가
chaeyoungwon Jun 26, 2025
ab2bb97
✨Feat: 투표 결과 UI (#7)
chaeyoungwon Jun 27, 2025
9b5dd15
fix: 배포 오류 수정
chaeyoungwon Jun 27, 2025
8549a58
fix: any 타입 오류 수정
chaeyoungwon Jun 27, 2025
f547ff1
fix: alert 메시지 수정
chaeyoungwon Jun 27, 2025
70e25ef
design: 투표 결과 UI 디테일 수정
chaeyoungwon Jun 27, 2025
42bc44d
dd
chaeyoungwon Jun 30, 2025
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
15 changes: 15 additions & 0 deletions next-vote-21th/.github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
### 🔥 작업 내용

-

### 🤔 추후 작업 사항

-

### 📸 작업 내역 스크린샷

-

### 🔗 이슈

- 링크
41 changes: 41 additions & 0 deletions next-vote-21th/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
30 changes: 30 additions & 0 deletions next-vote-21th/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"plugins": [
"@trivago/prettier-plugin-sort-imports",
"prettier-plugin-tailwindcss"
],
"printWidth": 80,
"semi": true,
"singleQuote": false,
"trailingComma": "all",
"tabWidth": 2,
"bracketSpacing": true,
"endOfLine": "auto",
"useTabs": false,
"arrowParens": "avoid",
"importOrder": [
"^next",
"^react",
"<THIRD_PARTY_MODULES>",
"^@/apis/(.*)$",
"^@/hooks/(.*)$",
"^@/utils/(.*)$",
"^@/components/(.*)$",
"^@/constants/(.*)$",
"^@/types/(.*)$",
"^@/public/(.*)$",
"^[./]"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}
36 changes: 36 additions & 0 deletions next-vote-21th/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
16 changes: 16 additions & 0 deletions next-vote-21th/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { FlatCompat } from "@eslint/eslintrc";
import { dirname } from "path";
import { fileURLToPath } from "url";

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

const compat = new FlatCompat({
baseDirectory: __dirname,
});

const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"),
];

export default eslintConfig;
22 changes: 22 additions & 0 deletions next-vote-21th/next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
webpack(config) {
const fileLoaderRule = config.module.rules.find((rule: any) =>
rule.test?.test?.(".svg"),
);

config.module.rules.push({
test: /\.svg$/i,
issuer: fileLoaderRule.issuer,
resourceQuery: { not: [...fileLoaderRule.resourceQuery.not, /url/] },
use: ["@svgr/webpack"],
});

fileLoaderRule.exclude = /\.svg$/i;

return config;
},
};

export default nextConfig;
Loading