Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1.56 KB

README.md

File metadata and controls

50 lines (28 loc) · 1.56 KB

playground-macos

My portfolio website simulating macOS's GUI: https://portfolio.zxh.io

Powered by React + React Redux + UnoCSS + TypeScript + Vite.

day night

 

Usage

pnpm install

# serve with hot reload, open http://localhost:3000 to view it in the browser
pnpm dev

# build for production with minification to the `dist` folder
pnpm build

 

Changelog

  • Update 2021.12.05: Simulated the real state of the device's battery using Battery API. On the browsers that don't support this API, the charge level will be displayed as 100%.

  • Update 2021.12.05: Refactored this project by using functional components and hooks to make the code cleaner. See this branch for the previous version written using class components.

 

Credits

 

License

MIT