Skip to content

Commit

Permalink
Обновлено: Amberol
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegShchavelev committed Feb 16, 2024
1 parent 1272b17 commit 2f44d20
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
17 changes: 11 additions & 6 deletions .vitepress/theme/components/AGWAppsMetaWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import VPImage from 'vitepress/dist/client/theme-default/components/VPImage.vue'
</figure>
<div class="body">
<div class="summary">{{ props.summary }}</div>
<div v-if="props.adaptive || props.proprietary || props.gnomeCircle || props.gnomeCore || props.createTheme || props.restrictions" class="badges">
<div v-if="props.adaptive || props.proprietary || props.gnomeCircle || props.gnomeCore || props.createTheme || props.restrictions"
class="badges">
<Badge v-if="props.adaptive" type="tip">Адаптивное</Badge>
<Badge v-if="props.proprietary" type="danger">Проприетарное</Badge>
<Badge v-if="props.gnomeCircle" type="success">GNOME Circle</Badge>
Expand All @@ -33,7 +34,8 @@ import VPImage from 'vitepress/dist/client/theme-default/components/VPImage.vue'
</figure>
<div>
<div class="caption">Разработчик</div>
<div class="name">{{ props.developer.name }}<span class="nickname">{{ props.developer.nickname }}</span></div>
<div class="name">{{ props.developer.name }}<span class="nickname">{{ props.developer.nickname }}</span>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -66,10 +68,10 @@ import VPImage from 'vitepress/dist/client/theme-default/components/VPImage.vue'
<div class="footet">
<a target="_blank" v-if="props.sponsor && props.sponsor.url" :href="props.sponsor.url"
class="link-gnome-sponsor">Поддержать автора</a>
<a target="_blank" v-if="props.snapcraft && props.snapcraft.url" :href="props.snapcraft.url"
class="link-gnome-snap">Snapcraft</a>
<a target="_blank" v-if="props.flathub && props.flathub.url" :href="props.flathub.url"
class="link-gnome-flathub">Flathub</a>
<a target="_blank" v-if="props.snap && props.snap.url" :href="props.snap.url"
class="link-gnome-snap">Snapcraft</a>
<a target="_blank" v-if="props.sisyphus && props.sisyphus.url" :href="props.sisyphus.url"
class="link-gnome-sisyphus">Сизиф</a>
</div>
Expand Down Expand Up @@ -158,19 +160,22 @@ dl {
margin-bottom: 0;
}
dt, .developers .caption {
dt,
.developers .caption {
font-size: 12px;
color: var(--vp-c-text-2);
font-weight: 500;
}
dd, .developers .name {
dd,
.developers .name {
margin-left: 0;
font-size: 14px;
padding-bottom: 8px;
margin-bottom: 8px;
}
.developers .name:last-child {
margin-bottom: 0;
padding-bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion .vitepress/theme/components/VPTeamMembers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const modules = [Pagination];
import 'swiper/css';
import 'swiper/css/pagination';
const onSwiper = (swiper) => console.log(swiper);
const onSwiper = (swiper: any) => console.log(swiper);
const onSlideChange = () => console.log('slide change');
interface Props {
Expand Down
2 changes: 2 additions & 0 deletions docs/apps/amberol.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ metainfo:
anchor: gitlab.gnome.org
adaptive: true,
gnomeCircle: true
snapcraft:
url: https://snapcraft.io/amberol
flathub:
url: https://flathub.org/apps/io.bassi.Amberol
sisyphus:
Expand Down

0 comments on commit 2f44d20

Please sign in to comment.