@@ -22,40 +22,50 @@ const props = defineProps<{
2222 </script >
2323
2424<template >
25- <ul class =" flex flex-wrap gap-4 md:gap-x-6 md:gap-y-4 list-none" >
26- <li v-for =" item in list" :key =" item.name" >
25+ <ul class =" list-none" >
26+ <li
27+ v-for =" item in list"
28+ :key =" item.name"
29+ :style ="
30+ 'items' in item && `grid-column: span ${item.items.length} / span ${item.items.length};`
31+ "
32+ >
2733 <a
2834 v-if =" 'logo' in item"
2935 :href =" item.url"
3036 target =" _blank"
3137 rel =" noopener noreferrer"
32- class =" relative flex items-center justify-center h-14 min-w-14 rounded-md hover:bg-fg/10 transition-colors p-1 "
38+ class =" relative flex items-center justify-center h-16 rounded-md bg-bg-muted hover:bg-bg-subtle border border-border transition-colors py-1 px-3 "
3339 :style =" { paddingBlock: item.normalisingIndent }"
3440 :aria-label =" item.name"
3541 >
3642 <AboutLogoImg :src =" item.logo" :alt =" item.name" />
3743 </a >
38- <div v-else-if =" item.items" class =" relative flex items-center justify-center" >
44+ <div
45+ v-else-if =" item.items"
46+ class =" relative flex items-center justify-center h-full bg-bg-muted border border-border rounded-md py-1 px-2"
47+ >
3948 <svg
4049 width =" 11"
4150 height =" 38"
4251 viewBox =" 0 0 11 38"
4352 fill =" none"
4453 xmlns =" http://www.w3.org/2000/svg"
4554 aria-hidden =" true"
55+ class =" h-full w-auto"
4656 >
4757 <path
4858 d =" M5.62151 0C-1.8519 10.6931 -1.89574 27.2683 5.62151 37.9997H10.6709C3.15538 27.2683 3.19922 10.6931 10.6709 0H5.62151Z"
4959 fill =" currentColor"
5060 />
5161 </svg >
5262 <ul class =" flex items-center justify-center h-full gap-0.5 list-none" >
53- <li v-for =" groupItem in item.items" :key =" groupItem.name" >
63+ <li v-for =" groupItem in item.items" :key =" groupItem.name" class = " h-full " >
5464 <a
5565 :href =" groupItem.url"
5666 target =" _blank"
5767 rel =" noopener noreferrer"
58- class =" relative flex items-center justify-center h-10 min-w-10 rounded-md hover:bg-fg/10 transition-colors p-0 .5"
68+ class =" relative flex items-center justify-center h-full aspect-square rounded-md hover:bg-bg-subtle border border-transparent hover:border-border transition-colors p-1 .5"
5969 :style =" { paddingBlock: groupItem.normalisingIndent }"
6070 :aria-label =" groupItem.name"
6171 >
@@ -70,6 +80,7 @@ const props = defineProps<{
7080 fill =" none"
7181 xmlns =" http://www.w3.org/2000/svg"
7282 aria-hidden =" true"
83+ class =" h-full w-auto"
7384 >
7485 <path
7586 d =" M5.04935 0H0C7.4734 10.6931 7.51725 27.2683 0 37.9997H5.04935C12.5648 27.2683 12.521 10.6931 5.04935 0Z"
0 commit comments