Commit graph

53 commits

Author SHA1 Message Date
1ca0f9d495 post: add why i write these posts 2026-01-12 18:43:19 +01:00
3338079fc3 post: add from angular to astro 2026-01-09 18:21:56 +01:00
05ab51aa05 feat: add navigable table of contents to blog posts 2026-01-09 18:21:20 +01:00
5c1d532386 feat: improve UX with performance optimizations, layout fixes, and dark mode prompt 2026-01-09 17:03:17 +01:00
52f112568c feat: optimize performance and fix CLS issues 2026-01-09 16:40:37 +01:00
df04844ca2 feat: implement dark mode with theme toggle
- Add dark mode support across all components and pages
- Implement theme toggle button in navbar (desktop and mobile)
- Fix desktop theme toggle icon visibility issue
- Add dark mode color variants to all text, backgrounds and components
- Update Tailwind config to enable class-based dark mode
- Add dark mode support to prose styles for blog content
- Persist theme preference in localStorage
- Update all pages (index, bio, blog) with dark mode colors
- Optimize images (me.png and me-baby.jpg)
2026-01-09 16:20:24 +01:00
7caf02fb36 perf: improve Lighthouse performance score
Fix render blocking and layout shift issues:
- Make Google Fonts non-blocking with font-display: swap
- Inline critical font-face declaration to prevent FOIT
- Add fetchpriority='high' and loading='eager' to hero LCP image
- Remove lazy loading from above-the-fold content

Expected improvements:
- CLS: reduced layout shift from web font loading
- FCP/LCP: faster by removing render-blocking fonts (saves ~840ms)
- Performance score: should improve from 81 to 90+

Remaining optimizations can be done later:
- Minify JavaScript (173 KB)
- Reduce unused JavaScript (295 KB)
- These require more complex bundling optimizations
2026-01-08 18:45:25 +01:00
7ba4560631 perf: reduce image sizes to stay under 100KB threshold 2026-01-08 18:09:08 +01:00
049c20a4b2 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
e3f7a631eb ci: trigger workflow 2026-01-08 16:58:05 +01:00
81c84a844f fix(ci): update pnpm version to 10.x and fix lockfile compatibility
- Update GitHub Actions to use pnpm 10 instead of 8
- Remove frozen-lockfile setting from .npmrc
- Regenerate pnpm-lock.yaml with lockfileVersion 9.0
- Remove pnpm-workspace.yaml (not needed for single project)
2026-01-08 16:52:31 +01:00
da4a7d0792 fix(ci): remove pnpm-workspace.yaml and add .npmrc for proper pnpm configuration 2026-01-08 16:50:08 +01:00
7cf2e858a2 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
7be49ba73a
Update biography.page.html 2024-02-04 22:46:36 +01:00
Lorenzo Iovino
bf18822f6b Optimized SEO 2024-01-18 10:24:37 +01:00
Lorenzo Iovino
d772bd795e Added meta tags 2024-01-17 12:22:44 +01:00
Lorenzo Iovino
513a66fe2b Removed autoblocking iubenda 2024-01-17 12:10:02 +01:00
Lorenzo Iovino
f48c2377bd Add sitemap 2024-01-15 18:03:19 +01:00
Lorenzo Iovino
f0e17fbc20 Update iubenda 2024-01-12 16:39:54 +01:00
Lorenzo Iovino
8c9e06b3e5 Fix changed ga 2024-01-12 16:34:32 +01:00
Lorenzo Iovino
f212b27eec Add style home and bio 2024-01-12 13:42:41 +01:00
Lorenzo Iovino
3ea3bae29a Add style home 2024-01-12 12:13:05 +01:00
Lorenzo Iovino
34f44930cd Merge branch 'main' of https://github.com/lokenxo/loreiov.com into main 2024-01-12 10:33:00 +01:00
Lorenzo Iovino
b50beb3a22 Updated iubenda 2024-01-12 10:32:50 +01:00
Lorenzo Iovino
9805fe5797
Update main.yml 2024-01-12 10:27:23 +01:00
Lorenzo Iovino
26f69d000f
Update main.yml 2024-01-12 10:19:47 +01:00
Lorenzo Iovino
232a63d766 Add added iubenda 2024-01-12 06:07:09 +01:00
Lorenzo Iovino
e2d701a994 Fix cicd main.yml 2024-01-12 04:30:59 +01:00
Lorenzo Iovino
bb9dee3c52 Fix cicd main.yml 2024-01-12 04:23:29 +01:00
Lorenzo Iovino
9a4998139d Fix cicd main.yml 2024-01-12 04:12:04 +01:00
Lorenzo Iovino
156c8eb993
Create main.yml 2024-01-12 04:05:23 +01:00
Lorenzo Iovino
e73797a150 Add favicon 2024-01-12 03:59:02 +01:00
Lorenzo Iovino
ae6cb293f4 Add google analytics 2024-01-12 03:18:27 +01:00
Lorenzo Iovino
0419f10ef0 Renaming JPG to jpg images 2024-01-11 10:53:52 +01:00
Lorenzo Iovino
851efbcc82
Merge pull request #2 from thisloke/home-page
Home page
2024-01-10 05:11:26 +01:00
Lorenzo Iovino
191719918a Feat WIP responsive layout 2024-01-10 05:10:45 +01:00
Lorenzo Iovino
dcfcb09c16 Added portfolio contents 2024-01-04 23:09:10 +01:00
Lorenzo Iovino
ba036abb76 Add portfolio 2023-12-31 12:22:24 +01:00
Lorenzo Iovino
5fa5d27008 Added contents 2023-12-31 01:04:33 +01:00
Lorenzo Iovino
8b20acfcc4 Added more components 2023-12-29 04:34:47 +01:00
Lorenzo Iovino
c94493a3c5 Added a lot of components 2023-12-29 03:06:56 +01:00
Lorenzo Iovino
08f8d90f3d Added tailwind 2023-12-28 11:33:21 +01:00
Lorenzo Iovino
07c62b521b Add missing dependecies aws-cdk-lib and constructs 2023-12-27 22:51:39 +01:00
Lorenzo Iovino
385825920d Fix typescript version 2023-12-27 22:03:03 +01:00
Lorenzo Iovino
1f4cc515eb Node version downgraded to 18 2023-12-27 21:57:02 +01:00
Lorenzo Iovino
1368acb305 Fix package-lock.json versions 2023-12-27 21:37:50 +01:00
Lorenzo Iovino
613c194547 Downgrade typescript to version 5.2.2 2023-12-27 21:30:33 +01:00
Lorenzo Iovino
fac11d7f90 Add amplify 2023-12-27 21:28:38 +01:00
Lorenzo Iovino
e5fb7291a9 Node version updated to 20 2023-12-27 20:52:56 +01:00
Lorenzo Iovino
612932ff79 Node version updated to 20 2023-12-27 20:52:44 +01:00