|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>Cookie Notice | ExeTech | The University of Exeter's Theatrical Production Society</title> |
| 7 | + <script src="https://cdn.tailwindcss.com"></script> |
| 8 | + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"/> |
| 9 | + <link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700&display=swap" rel="stylesheet"> |
| 10 | + <link rel="icon" type="image/x-icon" href="/images/favicon.ico"> |
| 11 | + <style> |
| 12 | + html { scroll-behavior: smooth; } |
| 13 | + </style> |
| 14 | +</head> |
| 15 | + |
| 16 | +<body class="bg-black text-white" style="font-family: 'Titillium Web', sans-serif;"> |
| 17 | + |
| 18 | +<!-- Header placeholder --> |
| 19 | +<div id="header-placeholder"></div> |
| 20 | + |
| 21 | +<script> |
| 22 | + async function loadHeader() { |
| 23 | + const res = await fetch('/header.html'); |
| 24 | + const html = await res.text(); |
| 25 | + const placeholder = document.getElementById('header-placeholder'); |
| 26 | + placeholder.innerHTML = html; |
| 27 | + |
| 28 | + // Highlight current link |
| 29 | + const links = placeholder.querySelectorAll('nav a'); |
| 30 | + const currentPath = window.location.pathname; |
| 31 | + links.forEach(link => { |
| 32 | + if (link.getAttribute('href') === currentPath) { |
| 33 | + link.classList.add('bg-white', 'text-black'); |
| 34 | + } |
| 35 | + }); |
| 36 | + |
| 37 | + // --- Mobile menu toggle --- |
| 38 | + const btn = placeholder.querySelector('#mobile-menu-button'); |
| 39 | + const menu = placeholder.querySelector('#mobile-menu'); |
| 40 | + const icon = btn?.querySelector('i'); |
| 41 | + |
| 42 | + if (btn && menu) { |
| 43 | + btn.addEventListener('click', () => { |
| 44 | + menu.classList.toggle('hidden'); |
| 45 | + |
| 46 | + // Animate via max-height |
| 47 | + if (menu.classList.contains('hidden')) { |
| 48 | + menu.style.maxHeight = '0px'; |
| 49 | + } else { |
| 50 | + menu.style.maxHeight = menu.scrollHeight + 'px'; |
| 51 | + } |
| 52 | + |
| 53 | + // Swap icons |
| 54 | + if (icon) { |
| 55 | + icon.classList.toggle('fa-bars'); |
| 56 | + icon.classList.toggle('fa-times'); |
| 57 | + } |
| 58 | + }); |
| 59 | + |
| 60 | + // Reset if screen gets wider |
| 61 | + window.addEventListener('resize', () => { |
| 62 | + if (window.innerWidth >= 768) { |
| 63 | + menu.classList.add('hidden'); |
| 64 | + menu.style.maxHeight = '0px'; |
| 65 | + if (icon) { |
| 66 | + icon.classList.remove('fa-times'); |
| 67 | + icon.classList.add('fa-bars'); |
| 68 | + } |
| 69 | + } |
| 70 | + }); |
| 71 | + } |
| 72 | + } |
| 73 | + |
| 74 | + loadHeader(); |
| 75 | +</script> |
| 76 | + |
| 77 | + |
| 78 | + <!-- Main Content --> |
| 79 | + <main class="max-w-4xl mx-auto px-6 py-12 space-y-6"> |
| 80 | + <h2 class="text-3xl font-bold text-white">Cookie Notice</h2> |
| 81 | + |
| 82 | + <p class="text-lg text-gray-300"> |
| 83 | + ExeTech only uses <strong>essential cookies</strong> required for the website to function properly. |
| 84 | + These cookies ensure basic site functionality. |
| 85 | + </p> |
| 86 | + |
| 87 | + <p class="text-lg text-gray-300"> |
| 88 | + We do <strong>not</strong> use analytics, tracking, or marketing cookies. |
| 89 | + </p> |
| 90 | + |
| 91 | + <p class="text-lg text-gray-300"> |
| 92 | + The embedded Twice/Rentle store only uses essential cookies for proper functionality and does not set marketing or tracking cookies. |
| 93 | + Third-party websites that we link to may use their own cookies. |
| 94 | + </p> |
| 95 | + |
| 96 | + <p class="text-lg text-gray-300"> |
| 97 | + For more information, please contact us at |
| 98 | + <a href="mailto:exetech@groups.exeterguild.com" class="underline hover:text-gray-400 transition">exetech@groups.exeterguild.com</a>. |
| 99 | + </p> |
| 100 | + |
| 101 | + <a href="index.html" class="inline-block mt-6 bg-white text-black font-semibold py-2 px-4 rounded-lg hover:bg-gray-200 transition"> |
| 102 | + Back to Home |
| 103 | + </a> |
| 104 | + </main> |
| 105 | + |
| 106 | + <!-- Footer --> |
| 107 | + <div id="footer-placeholder" class="fixed bottom-0 left-0 w-full"></div> |
| 108 | + <script> |
| 109 | + fetch('/footer.html') |
| 110 | + .then(r => r.text()) |
| 111 | + .then(data => { document.getElementById('footer-placeholder').innerHTML = data; }); |
| 112 | + </script> |
| 113 | + |
| 114 | +</body> |
| 115 | +</html> |
0 commit comments