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

31 lines
663 B
Vue
Raw Normal View History

<!--
SPDX-FileCopyrightText: syuilo and other misskey contributors
SPDX-License-Identifier: AGPL-3.0-only
-->
2023-03-18 06:30:16 +01:00
<template>
<MkStickyContainer>
<template #header><MkPageHeader/></template>
2023-05-19 09:20:53 +02:00
<MkSpacer :contentMax="500">
2023-03-18 06:30:16 +01:00
<div class="_gaps">
<MkAd v-for="ad in instance.ads" :key="ad.id" :specify="ad"/>
</div>
</MkSpacer>
</MkStickyContainer>
</template>
<script lang="ts" setup>
import { computed, watch } from 'vue';
import * as os from '@/os';
import { definePageMetadata } from '@/scripts/page-metadata';
import { i18n } from '@/i18n';
import { instance } from '@/instance';
definePageMetadata({
title: i18n.ts.ads,
icon: 'ti ti-ad',
});
</script>