2023-07-26 22:31:52 -07:00
|
|
|
<!--
|
|
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
-->
|
|
|
|
|
2023-03-17 22:30:16 -07:00
|
|
|
<template>
|
|
|
|
<MkStickyContainer>
|
|
|
|
<template #header><MkPageHeader/></template>
|
|
|
|
|
2023-05-19 00:20:53 -07:00
|
|
|
<MkSpacer :contentMax="500">
|
2023-03-17 22:30:16 -07: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';
|
2023-09-19 00:37:43 -07:00
|
|
|
import * as os from '@/os.js';
|
|
|
|
import { definePageMetadata } from '@/scripts/page-metadata.js';
|
|
|
|
import { i18n } from '@/i18n.js';
|
|
|
|
import { instance } from '@/instance.js';
|
2023-03-17 22:30:16 -07:00
|
|
|
|
|
|
|
definePageMetadata({
|
|
|
|
title: i18n.ts.ads,
|
|
|
|
icon: 'ti ti-ad',
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|