<?php
// PWA Meta Tags, Service Worker Registration & Install Prompt
// Include this in <head> sections
$pwa_icon = htmlspecialchars(!empty($site_data['logo_url']) ? $site_data['logo_url'] : $site_data['web_url'] . '/images/softbills.png');
$pwa_name = htmlspecialchars($site_data['web_name'] ?? 'VTU Platform');
?>
<!-- PWA Meta Tags -->
<link rel="manifest" href="<?php echo $site_data['web_url']; ?>/manifest.php">
<meta name="theme-color" content="#4D148C">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="<?php echo $pwa_name; ?>">
<link rel="apple-touch-icon" href="<?php echo $pwa_icon; ?>">
<meta name="msapplication-TileImage" content="<?php echo $pwa_icon; ?>">
<meta name="msapplication-TileColor" content="#4D148C">
