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

Feat: 메인 페이지 개발 #148

Merged
merged 36 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6a99c7e
Chore: 프로젝트 세팅
cham0287 Aug 30, 2023
ca23e5c
Chore: prettier trivago sort imports setting
cham0287 Aug 30, 2023
372eb63
Chore: zustand package 추가
cham0287 Aug 30, 2023
f59fd0f
feat: review-assign-action.yml 깃헙 액션을 추가합니다.
InSeong-So Sep 2, 2023
56d60a1
Chore: tailwind setting
cham0287 Sep 2, 2023
21197a2
Feat: Header 추가
cham0287 Sep 3, 2023
dd94bdf
Feat: signin, signup 페이지 생성
cham0287 Sep 3, 2023
a421f3c
Feat: Home Banner 추가
cham0287 Sep 3, 2023
a847838
Feat: Profile Component 추가
cham0287 Sep 3, 2023
ebce9f5
Feat: Global Feed 구성 컴포넌트들 완성
cham0287 Sep 4, 2023
4d80c9f
Update review-assign-action.yml
InSeong-So Sep 7, 2023
e577cd8
Update review-assign-action.yml
InSeong-So Sep 7, 2023
4bedb3a
Update review-assign-action.yml
InSeong-So Sep 7, 2023
6ea21d9
Update review-assign-action.yml
InSeong-So Sep 7, 2023
daad074
Update review-assign-action.yml
InSeong-So Sep 7, 2023
3d24dc3
Feat: Home 레이아웃 완성
cham0287 Sep 11, 2023
2ed0f84
Refactor: LikeBtn 수정
cham0287 Sep 11, 2023
7d3e63b
Refactor: custom btn 기본 btn tag prop 확장
cham0287 Sep 11, 2023
44e1043
Feat: getArticles api query params 받도록 확장
cham0287 Sep 11, 2023
d2e4bf3
Chore: 파일 경로 수정
cham0287 Sep 11, 2023
1231bb3
Merge remote-tracking branch 'upstream/main'
cham0287 Sep 11, 2023
43fe4d0
Feat: popular tag 필터링 기능 및 UI 작업
cham0287 Sep 11, 2023
fb56c88
Feat: 탭 기능 상태관리 zustand로 변경하여 완성
cham0287 Sep 13, 2023
5d6b009
Fix: 태그 #로 인해 발생하는 버그로 인해 임시 제거
cham0287 Sep 13, 2023
044aced
Refactor: articlesState로 통합, pagination 기능 완성
cham0287 Sep 14, 2023
708ccc6
Refactor: useStore state & action 분리 및 immer 적용
cham0287 Sep 15, 2023
f4c424e
Feat: PaginationBar 완성
cham0287 Sep 16, 2023
e2c549e
Feat: login 및 register 기능 추가
cham0287 Sep 18, 2023
8dcb0c1
Feat: 비로그인시 빈authorization 로직 추가
cham0287 Sep 18, 2023
fa7406a
Feat: 로그인 기능 구현
cham0287 Sep 24, 2023
e2b03bd
Fix: 공통 api함수 localStorage 로직 제거
cham0287 Sep 24, 2023
90e6e38
Refactor: Articles 분리
cham0287 Sep 24, 2023
db71a14
Feat: article 상세 페이지 데이터 및 마크업 완료
cham0287 Sep 24, 2023
80a4d88
Refactor: article data 전역 상태로 관리
cham0287 Sep 25, 2023
a495f81
Revert "Refactor: article data 전역 상태로 관리"
cham0287 Sep 26, 2023
6c74c71
Refactor: 코드리뷰 반영
cham0287 Oct 3, 2023
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
31 changes: 31 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"env": {
"es6": true,
"node": true,
"browser": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"next",
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:@tanstack/eslint-plugin-query/recommended"
],
"plugins": ["@typescript-eslint"],
"rules": {
// typescript
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/no-var-requires": "error"
}
}
50 changes: 50 additions & 0 deletions .github/workflows/review-assign-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Review Assign

on:
pull_request:
types: [opened, ready_for_review]

jobs:
assign:
permissions:
actions: write
checks: write
contents: write
deployments: write
discussions: write
issues: write
id-token: read
packages: write
pages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write
runs-on: ubuntu-latest
steps:
- if: github.base_ref == 'main' # base branch name is 'master'
run: echo REVIEWERS=inseong-so >> $GITHUB_ENV
- if: startsWith(github.base_ref, 'team1')
run: echo REVIEWERS=headring, KimHunJin, hyjoong her0707 >> $GITHUB_ENV
- if: startsWith(github.base_ref, 'team2')
run: echo REVIEWERS=Bsfla, SeolJaeHyeok, choisy9619, kyung-jun >> $GITHUB_ENV
- if: startsWith(github.base_ref, 'team3')
run: echo REVIEWERS=sgsg9447, kingyong9169, 2dowon, jqkk >> $GITHUB_ENV
- if: startsWith(github.base_ref, 'team4')
run: echo REVIEWERS=kimseongchan-kr, cham0287, hyeon9782 >> $GITHUB_ENV
- if: startsWith(github.base_ref, 'team5')
run: echo REVIEWERS=2-NOW, hyew-kim, geeonie >> $GITHUB_ENV
- if: startsWith(github.base_ref, 'team6')
run: echo REVIEWERS=areumsheep, ludacirs, innocarpe >> $GITHUB_ENV
- if: startsWith(github.base_ref, 'team7')
run: echo REVIEWERS=endmoseung, steven-yn, ding-co, mandarin-sep >> $GITHUB_ENV
- if: startsWith(github.base_ref, 'team8')
run: echo REVIEWERS=HOJOON07, jiji-hoon96, 71summernight, seung-wan >> $GITHUB_ENV
- if: startsWith(github.base_ref, 'team9')
run: echo REVIEWERS=Siihyun, hhhminme, 0uizi0, brgndyy >> $GITHUB_ENV
- if: startsWith(github.base_ref, 'team10')
run: echo REVIEWERS=Leejha, steadily-worked >> $GITHUB_ENV
- uses: hkusu/review-assign-action@v1
with:
assignees: ${{ github.actor }}
reviewers: ${{ env.REVIEWERS }}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,8 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# editor
.vscode
.idea
.DS_Store
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"printWidth": 120,
"tabWidth": 2,
"bracketSpacing": true,
"trailingComma": "all",
"importOrder": ["^@core/(.*)$", "^@server/(.*)$", "^@ui/(.*)$", "^[./]"],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"importOrderCaseInsensitive": true
}
5 changes: 5 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
11 changes: 11 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const { createVanillaExtractPlugin } = require("@vanilla-extract/next-plugin");
const withVanillaExtract = createVanillaExtractPlugin();

/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: ["api.realworld.io"],
},
};

module.exports = withVanillaExtract(nextConfig);
Loading