diff --git a/public/data/commits.json b/public/data/commits.json index 499cd6ed..c2407de9 100644 --- a/public/data/commits.json +++ b/public/data/commits.json @@ -1,5 +1,46 @@ { "changelog": [ + { + "date": "2026-02-18", + "changes": [ + { + "datetime": "2026-02-18T15:00:00+07:00", + "type": "feature", + "title": "Performance Boost with Code Splitting", + "description": "Dramatically improved page load times by implementing lazy loading for all tool pages. Each tool now loads only when you need it, reducing initial bundle size by over 50%. Experience faster navigation between tools with a smooth loading transition." + }, + { + "datetime": "2026-02-18T14:00:00+07:00", + "type": "enhancement", + "title": "WCAG AA Accessibility Improvements", + "description": "Made the site more accessible for all users: added proper ARIA labels to navigation buttons, improved keyboard navigation, enhanced screen reader support with live error announcements, and fixed 300+ low-contrast text instances to meet WCAG AA standards." + }, + { + "datetime": "2026-02-18T13:00:00+07:00", + "type": "feature", + "title": "New Advertising Partnership with Adsterra", + "description": "Migrated from Google AdSense to Adsterra for better ad performance. Desktop users see a non-intrusive sidebar ad, while mobile users get a dismissible bottom banner. All ads respect your privacy and GDPR consent preferences." + }, + { + "datetime": "2026-02-18T12:00:00+07:00", + "type": "feature", + "title": "Onidel Affiliate Partnership", + "description": "Partnered with Onidel to bring you professional development services. Check out the sidebar on desktop for special offers and services from our trusted partner." + }, + { + "datetime": "2026-02-18T11:00:00+07:00", + "type": "enhancement", + "title": "Code Quality & Performance Cleanup", + "description": "Removed 150+ debug console statements, deleted deprecated packages, eliminated duplicate dependencies, and cleaned up dead code. The codebase is now leaner and more maintainable." + }, + { + "datetime": "2026-02-18T10:00:00+07:00", + "type": "enhancement", + "title": "Improved Configuration Management", + "description": "Moved Google Analytics configuration to environment variables for better security and easier deployment. Created .env.example for seamless local development setup." + } + ] + }, { "date": "2025-10-22", "changes": [ diff --git a/src/components/AdBlock.js b/src/components/AdBlock.js index 5ed96b52..2c80b950 100644 --- a/src/components/AdBlock.js +++ b/src/components/AdBlock.js @@ -1,6 +1,6 @@ import React, { useEffect, useRef } from 'react'; -const AdBlock = ({ className = '', adKey = 'e0ca7c61c83457f093bbc2e261b43d31' }) => { +const AdBlock = ({ className = '', adKey = 'e0ca7c61c83457f093bbc2e261b43d31', adDomain = 'solutionbiologyisle.com' }) => { const iframeRef = useRef(null); useEffect(() => { @@ -28,12 +28,12 @@ const AdBlock = ({ className = '', adKey = 'e0ca7c61c83457f093bbc2e261b43d31' }) 'params' : {} }; - + `); doc.close(); - }, [adKey]); + }, [adKey, adDomain]); return (