Fix CSP violations and revert to stable CSS version

- Add region1.google-analytics.com to CSP headers in index.php and blog articles
- Fix manifest.json icon purpose warning by changing to "any"
- Add mobile-web-app-capable meta tag for mobile compatibility
- Revert CSS files to stable version from commit 5558f53 to resolve hero section animation issues
- Remove spam protection code that was causing layout problems

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-06-18 05:17:33 +00:00
parent 283ea68ff8
commit cffe81f960
23 changed files with 424 additions and 184 deletions

19
email-config.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
// Email configuration
// For production, use environment variables or a secure config file
// SMTP Configuration
define('SMTP_HOST', 'smtp.gmail.com'); // Your SMTP server
define('SMTP_PORT', 587); // SMTP port (587 for TLS, 465 for SSL)
define('SMTP_USERNAME', 'info@ukdataservices.co.uk'); // Your email
define('SMTP_PASSWORD', 'YOUR_APP_PASSWORD_HERE'); // Your app password
define('SMTP_ENCRYPTION', 'tls'); // 'tls' or 'ssl'
// Email Settings
define('EMAIL_FROM', 'info@ukdataservices.co.uk');
define('EMAIL_FROM_NAME', 'UK Data Services');
define('EMAIL_TO', 'info@ukdataservices.co.uk');
// Fallback to PHP mail() if SMTP fails
define('USE_SMTP', false); // Set to true when SMTP is configured
?>