update
This commit is contained in:
@@ -40,7 +40,7 @@ export function GuideSectionNav({
|
||||
>
|
||||
<Link
|
||||
href={`/admin/${characterKey}`}
|
||||
prefetch
|
||||
prefetch={false}
|
||||
onClick={confirmNavigation}
|
||||
className={cn(
|
||||
"flex min-h-8 shrink-0 items-center gap-2 rounded-md px-3 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
||||
@@ -56,7 +56,7 @@ export function GuideSectionNav({
|
||||
<Link
|
||||
key={section.slug}
|
||||
href={`/admin/${characterKey}/${section.slug}`}
|
||||
prefetch
|
||||
prefetch={false}
|
||||
onClick={confirmNavigation}
|
||||
className={cn(
|
||||
"flex min-h-8 shrink-0 items-center gap-2 rounded-md px-3 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
||||
@@ -72,7 +72,7 @@ export function GuideSectionNav({
|
||||
<Link
|
||||
key={extra.id}
|
||||
href={`/admin/${characterKey}/${extra.slug}`}
|
||||
prefetch
|
||||
prefetch={false}
|
||||
onClick={confirmNavigation}
|
||||
className={cn(
|
||||
"flex min-h-8 shrink-0 items-center gap-2 rounded-md px-3 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
||||
|
||||
@@ -195,7 +195,7 @@ export function StructuredDashboard({
|
||||
>
|
||||
<Link
|
||||
href={`/admin/${guide.characterKey}`}
|
||||
prefetch
|
||||
prefetch={false}
|
||||
className="absolute inset-0 z-10 rounded-xl outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
||||
>
|
||||
<span className="sr-only">แก้ไข Guide {guide.name}</span>
|
||||
@@ -205,6 +205,7 @@ export function StructuredDashboard({
|
||||
src={guide.coverUrl}
|
||||
alt={`Guide ${guide.name}`}
|
||||
fill
|
||||
sizes="(min-width: 1280px) 33vw, (min-width: 768px) 50vw, 100vw"
|
||||
className="object-cover"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user