Skip to content

Commit

Permalink
refactor: Remove .md extensions from legal document links
Browse files Browse the repository at this point in the history
  • Loading branch information
aidamiscom committed Jan 4, 2025
1 parent 1c3cd5a commit 8082740
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/LegalNotice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function LegalNotice() {

const handleDisagree = () => {
setVisible(false);
history.push('/contact/legal/disclaimer.md');
history.push('/contact/legal/disclaimer');
window.location.reload(); // Ensure page reloads with new state
};

Expand All @@ -50,10 +50,10 @@ function LegalNotice() {
By using this website, you agree to our:
</p>
<ul>
<li><a href="/contact/legal/disclaimer.md" target="_blank">Legal Disclaimer</a></li>
<li><a href="/contact/legal/terms.md" target="_blank">Terms of Use</a></li>
<li><a href="/contact/legal/privacy.md" target="_blank">Privacy Policy</a></li>
<li><a href="/contact/legal/cookies.md" target="_blank">Cookie Policy</a></li>
<li><a href="/contact/legal/disclaimer" target="_blank">Legal Disclaimer</a></li>
<li><a href="/contact/legal/terms" target="_blank">Terms of Use</a></li>
<li><a href="/contact/legal/privacy" target="_blank">Privacy Policy</a></li>
<li><a href="/contact/legal/cookies" target="_blank">Cookie Policy</a></li>
</ul>
<p>
Please review these documents carefully before proceeding.
Expand Down

0 comments on commit 8082740

Please sign in to comment.