Skip to content

Commit 28ecce9

Browse files
committed
feat: add responsive styles and view transitions for improved UI
- Introduced hit areas for buttons to enhance accessibility based on Fitts' Law. - Created responsive styles for mobile devices, including adjustments to layout and visibility of elements. - Added view transition styles for smoother animations during state changes. - Implemented a power switch UI with animations and visual feedback. - Developed unit tests for navigation, sound engine, and theme manager functionalities. - Added a setup file for testing environment compatibility.
1 parent a99e26a commit 28ecce9

28 files changed

Lines changed: 2994 additions & 2365 deletions

.github/workflows/ci.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
node-version: lts/*
2626
- name: Install dependencies
2727
run: npm ci
28-
28+
2929
- name: Install Playwright Browsers
3030
run: npx playwright install --with-deps
3131

@@ -50,22 +50,14 @@ jobs:
5050
path: playwright-report/
5151
retention-days: 30
5252

53-
build-site:
54-
needs: test
55-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
56-
runs-on: ubuntu-latest
57-
steps:
58-
- name: Checkout your repository using git
59-
uses: actions/checkout@v4
60-
61-
- name: Install, build, and upload your site
62-
uses: withastro/action@v2
63-
with:
64-
package-manager: npm
65-
node-version: 22.12.0
53+
- name: Upload Pages artifact
54+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
55+
uses: actions/upload-pages-artifact@v3
56+
with:
57+
path: dist/
6658

6759
deploy:
68-
needs: build-site
60+
needs: test
6961
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
7062
runs-on: ubuntu-latest
7163
environment:

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npm test
1+
npm run check && npm run test:unit

0 commit comments

Comments
 (0)