Commit Graph
6 Commits
Author SHA1 Message Date
mahdiarghyani 3ecd1616e0 feat(resume): add PDF download functionality with server endpoint
- Add useResumePdf composable for client-side PDF download handling
- Implement /api/resume/pdf server endpoint for PDF generation
- Add puppeteer and @sparticuz/chromium dependencies for PDF rendering
- Add puppeteer-core for headless browser automation
- Update Vercel configuration to support PDF generation
- Include loading state management and error handling with toast notifications
- Implement blob download with automatic filename generation
- Add memory leak prevention through object URL revocation
2025-12-01 12:19:00 +03:30
mahdiarghyani d300ff462a fix(prerender): Optimize blog route prerendering for multilingual support
- Modify content file parsing hook to handle both English and Persian blog routes
- Remove English locale prefix for default language routes
- Preserve Persian locale prefix for localized routes
- Add type assertions to resolve TypeScript hook typing issues
- Improve logging for prerendered blog routes
2025-11-11 17:10:41 +03:30
mahdiarghyani d04e9ea58c fix(prerender): Optimize blog route prerendering strategy
- Refactor prerender plugin to use content:file:afterParse hook
- Dynamically collect blog post routes during file parsing
- Remove complex locale-based post fetching logic
- Add conditional prerendering to prevent unnecessary processing
- Improve logging for prerender route generation
- Simplify route collection and prerendering process
Improves performance and reliability of static site generation for blog content.
2025-11-11 17:10:21 +03:30
mahdiarghyani 713bb83981 implement ssg config for blog posts in project , 2025-11-10 18:09:18 +03:30
mahdiarghyani d2333d3db2 blog mvp completed 2025-11-09 15:31:41 +03:30
Ali Arghyani e1bc3d8adf Initial commit (secrets removed) 2025-11-04 09:09:29 +03:30