Commit Graph

109 Commits

Author SHA1 Message Date
a90ce51709 更新 frontend/bun.sh
Some checks failed
Deploy Frontend / deploy (push) Has been cancelled
2025-07-08 13:32:10 +00:00
6a33450923 feat: add Gitea workflow for frontend deployment
- Add automated deployment workflow for frontend directory changes
- Support password authentication with sshpass
- Deploy to /data/photography directory on server
- Configure Caddy server reload after deployment
- Include build, type check, and lint steps
2025-07-08 18:51:25 +08:00
60742fd563 fix: correct .gitignore formatting 2025-07-08 17:44:53 +08:00
80622be036 feat: add frontend/node_modules to gitignore 2025-07-08 17:44:25 +08:00
55932ee587 feat: improve hydration handling and add dependencies
- Add hydration state check to PhotoGallery component to prevent SSR/client mismatch
- Update bun.lock with Express and CORS dependencies for mock API
- Add placeholder image for better development experience
2025-07-08 17:39:12 +08:00
4d85b6bd24 feat: add comprehensive .gitignore file
- Ignore node_modules, build files, and dependencies
- Exclude environment files and IDE configurations
- Add backend and admin specific ignores for future development
- Cover OS generated files and temporary files
2025-07-08 17:36:52 +08:00
8c5c9a5f8e fix: resolve hydration mismatch error and improve project setup
- Fix React hydration mismatch in ThemeProvider with mounted state check
- Update layout.tsx to use light theme by default instead of system
- Optimize photo filtering with useMemo in page.tsx
- Add Express mock API for development
- Update CLAUDE.md with comprehensive project documentation
- Create backend/ and admin/ directories for future development
2025-07-08 17:34:16 +08:00
3d197eb7e3 feat: setup frontend project with bun and dynamic data fetching
- Create new frontend project directory with Next.js 15 + React 19
- Migrate from pnpm to bun for faster package management
- Add TanStack Query + Axios for dynamic data fetching
- Create comprehensive Makefile with development commands
- Setup API layer with query hooks and error handling
- Configure environment variables and bun settings
- Add TypeScript type checking and project documentation
- Update CLAUDE.md with bun-specific development workflow
2025-07-08 15:28:26 +08:00
d06caee35a init ui 2025-07-08 14:39:08 +08:00