<!--
SPDX-FileCopyrightText: syuilo and misskey-project
SPDX-License-Identifier: AGPL-3.0-only
-->

<template>
<MkStickyContainer>
	<template #header><MkPageHeader/></template>

	<MkSpacer :contentMax="500">
		<div class="_gaps">
			<MkAd v-for="ad in serverMetadata.ads" :key="ad.id" :specify="ad"/>
		</div>
	</MkSpacer>
</MkStickyContainer>
</template>

<script lang="ts" setup>
import { inject } from 'vue';
import { definePageMetadata } from '@/scripts/page-metadata.js';
import { i18n } from '@/i18n.js';

import { DI } from '@/di.js';

const serverMetadata = inject(DI.serverMetadata);

definePageMetadata(() => ({
	title: i18n.ts.ads,
	icon: 'ti ti-ad',
}));
</script>

