perf: avoid layout re-rendering

This commit is contained in:
Riccardo
2024-01-25 18:12:37 +01:00
parent 551bff815f
commit dbefdc49e2
15 changed files with 137 additions and 135 deletions

View File

@@ -1,4 +1,5 @@
'use client';
import Link from 'next/link';
import { Card } from '../../components/custom/card';
export default function Privacy() {
@@ -15,12 +16,12 @@ export default function Privacy() {
the Service, You agree to the collection and use of information in
accordance with this Privacy Policy. This Privacy Policy has been
created with the help of the{' '}
<a
<Link
href='https://www.termsfeed.com/privacy-policy-generator/'
target='_blank'
>
Privacy Policy Generator
</a>
</Link>
.
</p>
<br />
@@ -420,9 +421,13 @@ export default function Privacy() {
<ul>
<li>
By visiting this page on our website:{' '}
<a href={'/privacy'} rel='external nofollow noopener' target='_blank'>
<Link
href={'/privacy'}
rel='external nofollow noopener'
target='_blank'
>
Privacy Policy
</a>
</Link>
</li>
</ul>
</div>