fix: Enhance logout cookie deletion to cover more NextAuth cookie variants and adjust the logout sequence, and disable prefetching for footer links.
This commit is contained in:
@@ -98,9 +98,10 @@ export function Footer() {
|
||||
</h3>
|
||||
<ul className="space-y-3">
|
||||
{footerLinks.services.links.map((link) => (
|
||||
<li key={link.href}>
|
||||
<li key={link.label}>
|
||||
<Link
|
||||
href={link.href}
|
||||
prefetch={false}
|
||||
className="font-serif font-normal text-[14px] leading-[19px] text-[#00293D] hover:text-[#e58625] transition-colors"
|
||||
>
|
||||
{link.label}
|
||||
@@ -117,9 +118,10 @@ export function Footer() {
|
||||
</h3>
|
||||
<ul className="space-y-3">
|
||||
{footerLinks.serviceProviders.links.map((link) => (
|
||||
<li key={link.href}>
|
||||
<li key={link.label}>
|
||||
<Link
|
||||
href={link.href}
|
||||
prefetch={false}
|
||||
className="font-serif font-normal text-[14px] leading-[19px] text-[#00293D] hover:text-[#e58625] transition-colors"
|
||||
>
|
||||
{link.label}
|
||||
@@ -136,9 +138,10 @@ export function Footer() {
|
||||
</h3>
|
||||
<ul className="space-y-3">
|
||||
{footerLinks.resources.links.map((link) => (
|
||||
<li key={link.href}>
|
||||
<li key={link.label}>
|
||||
<Link
|
||||
href={link.href}
|
||||
prefetch={false}
|
||||
className="font-serif font-normal text-[14px] leading-[19px] text-[#00293D] hover:text-[#e58625] transition-colors"
|
||||
>
|
||||
{link.label}
|
||||
@@ -155,9 +158,10 @@ export function Footer() {
|
||||
</h3>
|
||||
<ul className="space-y-3">
|
||||
{footerLinks.aboutContact.links.map((link) => (
|
||||
<li key={link.href}>
|
||||
<li key={link.label}>
|
||||
<Link
|
||||
href={link.href}
|
||||
prefetch={false}
|
||||
className="font-serif font-normal text-[14px] leading-[19px] text-[#00293D] hover:text-[#e58625] transition-colors"
|
||||
>
|
||||
{link.label}
|
||||
@@ -209,7 +213,7 @@ export function Footer() {
|
||||
<div className="max-w-7xl mx-auto px-6 py-4">
|
||||
<div className="flex flex-col md:flex-row items-center justify-between gap-4">
|
||||
<p className="font-serif font-normal text-[15px] leading-[21px] text-[#00293D]">Copyright © 2025 Your Agency Name. All rights reserved.</p>
|
||||
<Link href="/privacy-policy" className="font-serif font-normal text-[15px] leading-[21px] text-[#00293D] hover:text-[#e58625] transition-colors">
|
||||
<Link href="/privacy-policy" prefetch={false} className="font-serif font-normal text-[15px] leading-[21px] text-[#00293D] hover:text-[#e58625] transition-colors">
|
||||
Privacy Policy
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user