mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 18:03:10 +02:00
Update about-misskey.vue
This commit is contained in:
parent
d465e85239
commit
2aa800cd55
1 changed files with 35 additions and 1 deletions
|
@ -73,7 +73,13 @@
|
||||||
</FormSection>
|
</FormSection>
|
||||||
<FormSection>
|
<FormSection>
|
||||||
<template #label><Mfm text="$[jelly ❤]"/> {{ i18n.ts._aboutMisskey.patrons }}</template>
|
<template #label><Mfm text="$[jelly ❤]"/> {{ i18n.ts._aboutMisskey.patrons }}</template>
|
||||||
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); grid-gap: 12px;">
|
<div :class="$style.patronsWithIcon">
|
||||||
|
<div v-for="patron in patronsWithIcon" :class="$style.patronWithIcon">
|
||||||
|
<img :src="patron.icon" :class="$style.patronIcon">
|
||||||
|
<span :class="$style.patronName">{{ patron.name }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); grid-gap: 12px;">
|
||||||
<div v-for="patron in patrons" :key="patron">{{ patron }}</div>
|
<div v-for="patron in patrons" :key="patron">{{ patron }}</div>
|
||||||
</div>
|
</div>
|
||||||
<p>{{ i18n.ts._aboutMisskey.morePatrons }}</p>
|
<p>{{ i18n.ts._aboutMisskey.morePatrons }}</p>
|
||||||
|
@ -99,6 +105,11 @@ import { definePageMetadata } from '@/scripts/page-metadata';
|
||||||
import { claimAchievement, claimedAchievements } from '@/scripts/achievements';
|
import { claimAchievement, claimedAchievements } from '@/scripts/achievements';
|
||||||
import { $i } from '@/account';
|
import { $i } from '@/account';
|
||||||
|
|
||||||
|
const patronsWithIcon = [{
|
||||||
|
name: 'カイヤン',
|
||||||
|
icon: 'https://misskey-hub.net/patrons/a2820716883e408cb87773e377ce7c8d.jpg',
|
||||||
|
}];
|
||||||
|
|
||||||
const patrons = [
|
const patrons = [
|
||||||
'まっちゃとーにゅ',
|
'まっちゃとーにゅ',
|
||||||
'mametsuko',
|
'mametsuko',
|
||||||
|
@ -353,4 +364,27 @@ definePageMetadata({
|
||||||
.contributorUsername {
|
.contributorUsername {
|
||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.patronsWithIcon {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||||
|
grid-gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.patronWithIcon {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 12px;
|
||||||
|
background: var(--buttonBg);
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.patronIcon {
|
||||||
|
width: 24px;
|
||||||
|
border-radius: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.patronName {
|
||||||
|
margin-left: 12px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue