@@ -669,16 +669,16 @@ defineOgImageComponent('Package', {
669669 <!-- Install command with package manager selector -->
670670 <section id =" install" aria-labelledby =" install-heading" class =" area-install scroll-mt-20" >
671671 <div class =" flex flex-wrap items-center justify-between mb-3" >
672- <h2
673- id =" install-heading"
674- class =" group inline-flex items-center gap-1.5 text-xs text-fg-subtle uppercase tracking-wider"
675- >
676- {{ $t('package.install.title') }}
672+ <h2 id =" install-heading" class =" group text-xs text-fg-subtle uppercase tracking-wider" >
677673 <a
678674 href =" #install"
679- class =" opacity-0 group-hover:opacity-100 text-fg-subtle hover:text-fg-muted transition-opacity duration-200 no-underline"
675+ class =" inline-flex items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline"
680676 >
681- <span class =" i-carbon-link w-3 h-3 block" aria-hidden =" true" />
677+ {{ $t('package.install.title') }}
678+ <span
679+ class =" i-carbon-link w-3 h-3 block opacity-0 group-hover:opacity-100 transition-opacity duration-200"
680+ aria-hidden =" true"
681+ />
682682 </a >
683683 </h2 >
684684 <!-- Package manager tabs -->
@@ -783,16 +783,16 @@ defineOgImageComponent('Package', {
783783 aria-labelledby =" readme-heading"
784784 class =" area-readme min-w-0 scroll-mt-20"
785785 >
786- <h2
787- id =" readme-heading"
788- class =" group inline-flex items-center gap-1.5 text-xs text-fg-subtle uppercase tracking-wider mb-4"
789- >
790- {{ $t('package.readme.title') }}
786+ <h2 id =" readme-heading" class =" group text-xs text-fg-subtle uppercase tracking-wider mb-4" >
791787 <a
792788 href =" #readme"
793- class =" opacity-0 group-hover:opacity-100 text-fg-subtle hover:text-fg-muted transition-opacity duration-200 no-underline"
789+ class =" inline-flex items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline"
794790 >
795- <span class =" i-carbon-link w-3 h-3 block" aria-hidden =" true" />
791+ {{ $t('package.readme.title') }}
792+ <span
793+ class =" i-carbon-link w-3 h-3 block opacity-0 group-hover:opacity-100 transition-opacity duration-200"
794+ aria-hidden =" true"
795+ />
796796 </a >
797797 </h2 >
798798 <!-- eslint-disable vue/no-v-html -- HTML is sanitized server-side -->
@@ -829,14 +829,17 @@ defineOgImageComponent('Package', {
829829 >
830830 <h2
831831 id =" keywords-heading"
832- class =" group inline-flex items-center gap-1.5 text-xs text-fg-subtle uppercase tracking-wider mb-3"
832+ class =" group text-xs text-fg-subtle uppercase tracking-wider mb-3"
833833 >
834- {{ $t('package.keywords_title') }}
835834 <a
836835 href =" #keywords"
837- class =" opacity-0 group-hover:opacity-100 text-fg-subtle hover:text-fg-muted transition-opacity duration-200 no-underline"
836+ class =" inline-flex items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline"
838837 >
839- <span class =" i-carbon-link w-3 h-3 block" aria-hidden =" true" />
838+ {{ $t('package.keywords_title') }}
839+ <span
840+ class =" i-carbon-link w-3 h-3 block opacity-0 group-hover:opacity-100 transition-opacity duration-200"
841+ aria-hidden =" true"
842+ />
840843 </a >
841844 </h2 >
842845 <ul class =" flex flex-wrap gap-1.5 list-none m-0 p-0" >
@@ -867,14 +870,17 @@ defineOgImageComponent('Package', {
867870 >
868871 <h2
869872 id =" compatibility-heading"
870- class =" group inline-flex items-center gap-1.5 text-xs text-fg-subtle uppercase tracking-wider mb-3"
873+ class =" group text-xs text-fg-subtle uppercase tracking-wider mb-3"
871874 >
872- {{ $t('package.compatibility') }}
873875 <a
874876 href =" #compatibility"
875- class =" opacity-0 group-hover:opacity-100 text-fg-subtle hover:text-fg-muted transition-opacity duration-200 no-underline"
877+ class =" inline-flex items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline"
876878 >
877- <span class =" i-carbon-link w-3 h-3 block" aria-hidden =" true" />
879+ {{ $t('package.compatibility') }}
880+ <span
881+ class =" i-carbon-link w-3 h-3 block opacity-0 group-hover:opacity-100 transition-opacity duration-200"
882+ aria-hidden =" true"
883+ />
878884 </a >
879885 </h2 >
880886 <dl class =" space-y-2" >
0 commit comments