fix: resolve CI lint and formatting failures.

Replace internal anchor tags with Next.js Link components and format the marketing comparison route page.
This commit is contained in:
yusufipk
2026-06-14 16:42:27 +02:00
parent 51257e004f
commit 56fb7403cf
3 changed files with 7 additions and 9 deletions
+4 -4
View File
@@ -316,13 +316,13 @@ export default function RegisterPageClient({
<p className="text-center text-xs text-muted-foreground mt-4">
By continuing, you agree to our{' '}
<a href="/terms" className="underline hover:text-foreground">
<Link href="/terms" className="underline hover:text-foreground">
Terms of Service
</a>{' '}
</Link>{' '}
and{' '}
<a href="/privacy" className="underline hover:text-foreground">
<Link href="/privacy" className="underline hover:text-foreground">
Privacy Policy
</a>
</Link>
</p>
</div>
</div>
+1 -4
View File
@@ -48,10 +48,7 @@ export default async function MarketingSlugPage({ params }: MarketingSlugPagePro
return (
<>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: safeStructuredData }}
/>
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: safeStructuredData }} />
<ComparisonPage page={page} isLoggedIn={Boolean(session?.user)} />
</>
);
+2 -1
View File
@@ -1,5 +1,6 @@
'use client';
import Link from 'next/link';
import { useState } from 'react';
import { signOut } from 'next-auth/react';
import { LogOut } from 'lucide-react';
@@ -29,7 +30,7 @@ export default function SignOutPage() {
{loading ? 'Signing out...' : 'Sign out'}
</Button>
<Button variant="outline" asChild className="w-full">
<a href="/dashboard">Cancel</a>
<Link href="/dashboard">Cancel</Link>
</Button>
</CardContent>
</Card>