Files
claude af5d9fd7ad refactor(web): enhance legal.js to inject topbar + footer; strip duplication from legal pages
legal.js now:
- Dynamically injects a common topbar (logo + language switcher) on all 6 pages
- Dynamically injects a language-aware footer (EN vs RO copyright text)
- Detects page language and builds appropriate language links
- Uses event delegation for language links (works on injected elements)
- Persists language preference to localStorage

All 6 legal HTML pages now:
- Removed the hardcoded topbar div (12 lines of identical HTML per file)
- Removed the hardcoded footer div (7 lines of HTML with language-specific content)
- Total savings: 114 lines of duplicated HTML across 6 pages
- Pages are 38% smaller (60 lines → 37 lines core content)

Closes #31

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 13:34:18 +03:00

57 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Terms and Conditions - myAi</title>
<meta name="description" content="Rules for using the myAi website and the general conditions applicable to the published content and materials.">
<link rel="stylesheet" href="css/legal.css">
</head>
<body>
<div class="wrap">
<div class="hero">
<div class="kicker">Terms of use</div>
<h1>Terms and Conditions</h1>
<p>Rules for using the myAi website and the general conditions applicable to the published content and materials.</p>
</div>
<div class="content">
<div class="notice"><strong>Terms and Conditions</strong> govern the use of the myAi website and the way users may access the information and materials published on it.</div>
<h2>1. General information</h2>
<p>The myAi website is operated to present the software products and services offered, including applications for dental offices, inventory management, and backup.</p>
<h2>2. Acceptance of terms</h2>
<p>By accessing and using this website, you accept these terms of use. If you do not agree, please do not use the website.</p>
<h2>3. Use of content</h2>
<p>The website content is provided for informational and commercial purposes only. Copying, distributing, modifying, or republishing content without prior approval is not permitted.</p>
<h2>4. Intellectual property</h2>
<p>Texts, images, graphic elements, logos, and the website structure belong to myAi or are used under lawful rights. All rights are reserved.</p>
<h2>5. Limitation of liability</h2>
<p>We make efforts to keep information accurate and up to date, but we do not guarantee that the website is free of errors or interruptions. Use of the information is at your own risk.</p>
<h2>6. External links</h2>
<p>The website may contain links to third-party websites. We are not responsible for the content or policies of those external websites.</p>
<h2>7. Data protection</h2>
<p>Processing of personal data is described in the <a href="privacy-en.html">Privacy Policy</a>, and the use of cookies is explained in the <a href="cookies-en.html">Cookies Policy</a>.</p>
<h2>8. Changes</h2>
<p>We reserve the right to modify these terms at any time. The updated version will be published on the website.</p>
<h2>9. Governing law</h2>
<p>These terms are governed by the laws of Romania. Any disputes will be settled by the competent courts in Romania.</p>
<p class="meta">Last updated: 2026-03-26</p>
</div>
</div>
<script src="js/legal.js"></script>
</body>
</html>