Commit graph

13 commits

Author SHA1 Message Date
289dc9ef00 feat: implement automatic image optimization with Astro Assets
- Configure content collections to use image() helper for type-safe image references
- Replace all <img> tags with <Image> component from astro:assets
- Migrate images from /public to /src/assets for automatic optimization
- Update blog posts to use relative paths in frontmatter (../../assets/photos/)
- Remove unused images and duplicates from /public folder
- Update Footer component to use optimized SVG icons
- Clean up manifest.json to use favicon.ico instead of deleted photos

Performance improvements:
- remote.jpg: 1.8MB → 128KB (93% reduction)
- me.png: 71KB → 12KB (83% reduction)
- Automatic WebP conversion
- Tree-shaking: only used images are optimized

/public folder reduced from 2.3MB to 32KB (only essential files)
Build output: 2.2MB with fully optimized images ready for S3 deployment
2026-01-08 17:52:58 +01:00
69d5850f5b featmigrate from Angular to Astro static site
BREAKING CHANGE: Complete rewrite from Angular SPA to Astro

- Replace Angular 18 with Astro 5.16.7 + Tailwind CSS
- Convert all Angular components to Astro components
- Add content collections for blog with markdown support
- Setup S3 deployment with CloudFront invalidation
- Add RSS feed and sitemap generation
- Configure Prettier and Biome for code formatting
- Switch from npm to pnpm
- Remove Amplify backend (now fully static)
- Improve SEO and performance with static generation
2026-01-08 16:46:17 +01:00
Lorenzo Iovino
931281cf20 Add sitemap 2024-01-15 18:03:19 +01:00
Lorenzo Iovino
5fe54833a0 Feat WIP responsive layout 2024-01-10 05:10:45 +01:00
Lorenzo Iovino
e6f42eaa37 Added tailwind 2023-12-28 11:33:21 +01:00
Lorenzo Iovino
3ebe6fd67a Add missing dependecies aws-cdk-lib and constructs 2023-12-27 22:51:39 +01:00
Lorenzo Iovino
2e2f9a6cb0 Fix typescript version 2023-12-27 22:03:03 +01:00
Lorenzo Iovino
1fc688fc78 Node version downgraded to 18 2023-12-27 21:57:02 +01:00
Lorenzo Iovino
aff7c513c6 Downgrade typescript to version 5.2.2 2023-12-27 21:30:33 +01:00
Lorenzo Iovino
4537fcfd2f Add amplify 2023-12-27 21:28:38 +01:00
Lorenzo Iovino
bcb1618942 Node version updated to 20 2023-12-27 20:52:56 +01:00
Lorenzo Iovino
92bbfa0861 Added amplify 2023-12-27 20:31:32 +01:00
Lorenzo Iovino
c1c17d0322 First commit 2023-12-27 18:52:40 +01:00