${brand}
+${title}
+ +관련 상품
+같은 카테고리의 다른 상품들
+diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 15a3a274..2bb94ed1 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -32,7 +32,7 @@ **상품 정렬 기능** -- [ ] 상품을 가격순/이름순으로 오름차순/내림차순 정렬을 할 수 있다. +- [ ] 상품을 가격순/인기순으로 오름차순/내림차순 정렬을 할 수 있다. - [ ] 드롭다운을 통해 정렬 기준을 선택할 수 있다 - [ ] 정렬 변경 시 즉시 목록에 반영된다 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..839ed830 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,52 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - main + - feature-* + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: true + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: latest + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: "20" + cache: "pnpm" + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Build + run: pnpm run build + + - name: Setup Pages + uses: actions/configure-pages@v4 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: "./dist" + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/index.html b/index.html index d43ffde2..ebbf51b3 100644 --- a/index.html +++ b/index.html @@ -1,26 +1,27 @@ -
- - -${formatNumber(item.price)}원
+ +${formatNumber(item.price * item.count)}원
+ +원하는 상품을 담아보세요!
+${brand}
+${formatNumber(lprice)}원
+${brand}
+같은 카테고리의 다른 상품들
+${message}
+ +${message}
+ +${message}
+ +
- - 220원 -
-
- 이지웨이건축자재
-- 230원 -
-장바구니에 추가되었습니다
- -선택된 상품들이 삭제되었습니다
- -오류가 발생했습니다.
- -원하는 상품을 담아보세요!
-
- - 220원 -
- -- 440원 -
- -
- - 230원 -
- -- 230원 -
- -
- - 220원 -
- -- 440원 -
- -
- - 230원 -
- -- 230원 -
- -상품 정보를 불러오는 중...
-
- 같은 카테고리의 다른 상품들
-상품 정보를 불러오는 중...
+
+ 220원
+
+ 이지웨이건축자재
+230원
+장바구니에 추가되었습니다
+ +선택된 상품들이 삭제되었습니다
+ +오류가 발생했습니다.
+ +원하는 상품을 담아보세요!
+
+ 220원
+ +440원
+ +
+ 230원
+ +230원
+ +
+ 220원
+ +440원
+ +
+ 230원
+ +230원
+ +상품 정보를 불러오는 중...
+
+ 같은 카테고리의 다른 상품들
+