mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +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">
|
<p className="text-center text-xs text-muted-foreground mt-4">
|
||||||
By continuing, you agree to our{' '}
|
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
|
Terms of Service
|
||||||
</a>{' '}
|
</Link>{' '}
|
||||||
and{' '}
|
and{' '}
|
||||||
<a href="/privacy" className="underline hover:text-foreground">
|
<Link href="/privacy" className="underline hover:text-foreground">
|
||||||
Privacy Policy
|
Privacy Policy
|
||||||
</a>
|
</Link>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -48,10 +48,7 @@ export default async function MarketingSlugPage({ params }: MarketingSlugPagePro
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<script
|
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: safeStructuredData }} />
|
||||||
type="application/ld+json"
|
|
||||||
dangerouslySetInnerHTML={{ __html: safeStructuredData }}
|
|
||||||
/>
|
|
||||||
<ComparisonPage page={page} isLoggedIn={Boolean(session?.user)} />
|
<ComparisonPage page={page} isLoggedIn={Boolean(session?.user)} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
|
import Link from 'next/link';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { signOut } from 'next-auth/react';
|
import { signOut } from 'next-auth/react';
|
||||||
import { LogOut } from 'lucide-react';
|
import { LogOut } from 'lucide-react';
|
||||||
@@ -29,7 +30,7 @@ export default function SignOutPage() {
|
|||||||
{loading ? 'Signing out...' : 'Sign out'}
|
{loading ? 'Signing out...' : 'Sign out'}
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="outline" asChild className="w-full">
|
<Button variant="outline" asChild className="w-full">
|
||||||
<a href="/dashboard">Cancel</a>
|
<Link href="/dashboard">Cancel</Link>
|
||||||
</Button>
|
</Button>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user