mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
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:
@@ -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>
|
||||
|
||||
@@ -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)} />
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user