pref: update friends
All checks were successful
CI / lint (push) Successful in 12m24s
CI / typecheck (push) Successful in 11m26s

This commit is contained in:
thehrz 2024-02-16 22:50:20 +08:00
parent c13f712213
commit 8c2616b530
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -35,7 +35,7 @@ const friends = [
image: '/images/students/lqx.webp',
link: 'https://space.bilibili.com/646450185',
},
].sort(() => Math.random() - 0.5)
]
</script>
<template>
@ -49,7 +49,7 @@ const friends = [
</v-alert>
<div class="grid grid-cols-2 md:grid-cols-4 grid-gap-6 not-prose">
<v-card v-for="friend in friends" :key="friend.name" :href="friend.link" target="_blank" class="flex flex-col">
<v-card v-for="friend in friends.sort(() => Math.random() - 0.5)" :key="friend.name" :href="friend.link" target="_blank" class="flex flex-col">
<v-img :src="friend.image" class="w-60% m-auto mt-3" />
<div class="mx-3 flex justify-center items-center h-15">