Skip to content

Commit c592d33

Browse files
Al Aqsa Reto WijayaAl Aqsa Reto Wijaya
authored andcommitted
Update Firebase configuration, enhance theme support, and improve component styling
- Updated default Firebase project in `.firebaserc`. - Upgraded several dependencies in `package-lock.json` for improved functionality and security. - Added CSS custom properties for light and dark themes in `index.css`. - Refactored theme context and providers in `main.jsx` and related components. - Enhanced UI components with theme-aware classes and improved loading states. - Updated product and cart management actions to ensure consistent code style. - Improved user experience with better error handling and loading indicators in various pages.
1 parent 660928d commit c592d33

33 files changed

Lines changed: 811 additions & 471 deletions

.firebase/hosting.ZGlzdA.cache

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
vite.svg,1747068397372,12b282beddfe94d624e7f1155761299a42ce1e3eac8053ebe3f38bd1fa04816c
2-
index.html,1747068397503,328f5e948b00e4e6ab21faae34d223bd9b1f7af138d335d50f806f9cf80421bd
3-
assets/index-D--WXDDg.css,1747068397503,adda92caee0df5291c414c3e3deb2c47c8d091ce7722733541a09f85bd76bacf
4-
assets/tulis-logo-RCPKZwBo.png,1747068397503,babae3aad12011083e9c9c3b0a413876c58eb548624b45f48d87673b0d4d8f52
5-
assets/index-BIJfda--.js,1747068397503,852b37d71f2d8f4d85fcb1770a9a9d7617f6ac44ae6f3a83b59da4e58499f0fc
1+
index.html,1755377730265,3099783598c1afb8d5aa4bbd7fbaf93f7f261ca988a751487df0abe67354196e
2+
assets/index-QoUOjg4z.css,1755377671215,30d9a41ac2cdc316339fd893effc6603780a6f474745f7efbeb3498e375ae4ea
3+
vite.svg,1755377671076,12b282beddfe94d624e7f1155761299a42ce1e3eac8053ebe3f38bd1fa04816c
4+
assets/tulis-logo-RCPKZwBo.png,1755377671215,babae3aad12011083e9c9c3b0a413876c58eb548624b45f48d87673b0d4d8f52
5+
assets/index-Dfw-N6rr.js,1755377671215,a261f0fdf7db5cb0b9ef8bf743373c068f42774c04129640a2d9aaf52ea58a47

.firebaserc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"projects": {
3-
"default": "fern007-phase2-01"
4-
}
3+
"default": "tulis-349aa",
4+
"tulis": "tulis-349aa"
5+
},
6+
"targets": {},
7+
"etags": {}
58
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This file was auto-generated by the Firebase CLI
2+
# https://github.com/firebase/firebase-tools
3+
4+
name: Deploy to Firebase Hosting on merge
5+
on:
6+
push:
7+
branches:
8+
- main
9+
jobs:
10+
build_and_deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- run: npm ci && npm run build
15+
- uses: FirebaseExtended/action-hosting-deploy@v0
16+
with:
17+
repoToken: ${{ secrets.GITHUB_TOKEN }}
18+
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TULIS_349AA }}
19+
channelId: live
20+
projectId: tulis-349aa
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This file was auto-generated by the Firebase CLI
2+
# https://github.com/firebase/firebase-tools
3+
4+
name: Deploy to Firebase Hosting on PR
5+
on: pull_request
6+
permissions:
7+
checks: write
8+
contents: read
9+
pull-requests: write
10+
jobs:
11+
build_and_preview:
12+
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- run: npm ci && npm run build
17+
- uses: FirebaseExtended/action-hosting-deploy@v0
18+
with:
19+
repoToken: ${{ secrets.GITHUB_TOKEN }}
20+
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TULIS_349AA }}
21+
projectId: tulis-349aa

package-lock.json

Lines changed: 50 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)