egirlskey/packages/frontend/src/pages/ads.vue

29 lines
615 B
Vue
Raw Normal View History

<!--
SPDX-FileCopyrightText: syuilo and misskey-project
SPDX-License-Identifier: AGPL-3.0-only
-->
2023-03-18 05:30:16 +00:00
<template>
<MkStickyContainer>
<template #header><MkPageHeader/></template>
2023-05-19 07:20:53 +00:00
<MkSpacer :contentMax="500">
2023-03-18 05:30:16 +00:00
<div class="_gaps">
<MkAd v-for="ad in instance.ads" :key="ad.id" :specify="ad"/>
</div>
</MkSpacer>
</MkStickyContainer>
</template>
<script lang="ts" setup>
2023-09-19 07:37:43 +00:00
import { definePageMetadata } from '@/scripts/page-metadata.js';
import { i18n } from '@/i18n.js';
import { instance } from '@/instance.js';
2023-03-18 05:30:16 +00:00
definePageMetadata(() => ({
2023-03-18 05:30:16 +00:00
title: i18n.ts.ads,
2023-09-30 22:46:42 +00:00
icon: 'ph-flag ph-bold ph-lg',
}));
2023-03-18 05:30:16 +00:00
</script>