@@ -359,7 +359,7 @@ defineOgImageComponent('Default', {
359359 <!-- Error: no version -->
360360 <div v-if =" !version" class =" container py-20 text-center" >
361361 <p class =" text-fg-muted mb-4" >{{ $t('code.version_required') }}</p >
362- <ButtonLink :to =" packageRoute()" >{{ $t('code.go_to_package') }}</ButtonLink >
362+ <LinkBase :to =" packageRoute()" >{{ $t('code.go_to_package') }}</LinkBase >
363363 </div >
364364
365365 <!-- Loading state -->
@@ -371,7 +371,7 @@ defineOgImageComponent('Default', {
371371 <!-- Error state -->
372372 <div v-else-if =" treeStatus === 'error'" class =" container py-20 text-center" role =" alert" >
373373 <p class =" text-fg-muted mb-4" >{{ $t('code.failed_to_load_tree') }}</p >
374- <ButtonLink :to =" packageRoute(version)" >{{ $t('code.back_to_package') }}</ButtonLink >
374+ <LinkBase :to =" packageRoute(version)" >{{ $t('code.back_to_package') }}</LinkBase >
375375 </div >
376376
377377 <!-- Main content: file tree + file viewer -->
@@ -472,15 +472,15 @@ defineOgImageComponent('Default', {
472472 <p class =" text-fg-subtle text-sm mb-4" >
473473 {{ $t('code.file_size_warning', { size: formatBytes(currentNode?.size ?? 0) }) }}
474474 </p >
475- <ButtonLink
475+ <LinkBase
476476 :href =" `https://cdn.jsdelivr.net/npm/${packageName}@${version}/${filePath}`"
477477 target =" _blank"
478478 rel =" noopener noreferrer"
479479 class =" inline-flex items-center gap-2"
480480 >
481481 {{ $t('code.view_raw') }}
482482 <span class =" i-carbon:launch w-4 h-4" />
483- </ButtonLink >
483+ </LinkBase >
484484 </div >
485485
486486 <!-- Loading file content -->
@@ -526,15 +526,15 @@ defineOgImageComponent('Default', {
526526 <div class =" i-carbon:warning-alt w-8 h-8 mx-auto text-fg-subtle mb-4" />
527527 <p class =" text-fg-muted mb-2" >{{ $t('code.failed_to_load') }}</p >
528528 <p class =" text-fg-subtle text-sm mb-4" >{{ $t('code.unavailable_hint') }}</p >
529- <ButtonLink
529+ <LinkBase
530530 :href =" `https://cdn.jsdelivr.net/npm/${packageName}@${version}/${filePath}`"
531531 target =" _blank"
532532 rel =" noopener noreferrer"
533533 class =" inline-flex items-center gap-2"
534534 >
535535 {{ $t('code.view_raw') }}
536536 <span class =" i-carbon:launch w-4 h-4" />
537- </ButtonLink >
537+ </LinkBase >
538538 </div >
539539
540540 <!-- Directory listing (when no file selected or viewing a directory) -->
0 commit comments