jointrashposs/pages/brand-assets.vue

78 lines
3.6 KiB
Vue
Raw Normal View History

2023-07-13 16:58:54 +02:00
<template>
<div>
<GHero>
<template #title>{{ $t('_brandAssets.title') }}</template>
<template #description>
{{ $t('_brandAssets.description') }}
</template>
<template #icon>
<div class="hidden lg:block relative px-6 py-8">
<GDots class="absolute top-0 left-0 w-32 h-32 text-accent-600" />
<GDots class="absolute bottom-0 right-0 w-32 h-32 text-accent-600" />
2023-07-15 10:34:45 +02:00
<div class="relative lg:w-64">
2023-07-13 16:58:54 +02:00
<img class="drop-shadow-xl" src="/img/emojis/artist_palette_3d.png" />
</div>
</div>
</template>
</GHero>
<div class="pb-12 lg:mt-12 pt-6 bg-white dark:bg-slate-950">
<div class="container mx-auto max-w-screen-lg px-6 space-y-6 lg:space-y-8">
<GLocalNav :items="[
{
name: $t('_brandAssets.logo'),
anchor: '#logo',
},
{
name: $t('_brandAssets.icon'),
anchor: '#icon',
},
{
name: $t('_brandAssets.banner'),
anchor: '#banner',
2023-11-03 07:16:02 +01:00
},
{
name: $t('_brandAssets.avatarDecorationTemplate'),
anchor: '#avatar-decoration'
2023-07-13 16:58:54 +02:00
}
]" />
<Tip>
<p class="mb-2">{{ $t('_brandAssets.license') }}</p>
2024-03-12 07:06:27 +01:00
<GNuxtLink class="inline-block" to="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank"><img src="https://licensebuttons.net/l/by-sa/4.0/88x31.png" /></GNuxtLink>
2023-07-13 16:58:54 +02:00
</Tip>
<div id="logo">
<h2 class="text-2xl lg:text-3xl font-title font-bold mb-4">{{ $t(`_brandAssets.logo`) }}</h2>
2023-12-19 13:02:52 +01:00
<BrandAssetsImgPreview src="https://assets.misskey-hub.net/public/misskey.svg" />
2023-07-13 16:58:54 +02:00
</div>
<div id="icon">
<h2 class="text-2xl lg:text-3xl font-title font-bold mb-4">{{ $t(`_brandAssets.icon`) }}</h2>
2023-12-19 13:02:52 +01:00
<BrandAssetsImgPreview src="https://assets.misskey-hub.net/public/icon.png" />
2023-07-13 16:58:54 +02:00
</div>
<div id="banner">
<h2 class="text-2xl lg:text-3xl font-title font-bold mb-4">{{ $t(`_brandAssets.banner`) }}</h2>
2023-12-19 13:02:52 +01:00
<a class="mb-4 block mx-auto" href="https://assets.misskey-hub.net/public/banner.png" target="_blank">
<img class="border border-slate-200 dark:border-slate-700" src="https://assets.misskey-hub.net/public/banner.png" />
2023-07-13 16:58:54 +02:00
</a>
2023-12-19 13:02:52 +01:00
<a class="block mx-auto" href="https://assets.misskey-hub.net/public/banner-2.png" target="_blank">
<img class="border border-slate-200 dark:border-slate-700" src="https://assets.misskey-hub.net/public/banner-2.png" />
2023-07-13 16:58:54 +02:00
</a>
</div>
2023-11-03 07:16:02 +01:00
<div id="avatar-decoration">
<h2 class="text-2xl lg:text-3xl font-title font-bold mb-4">{{ $t(`_brandAssets.avatarDecorationTemplate`) }}</h2>
2023-11-03 07:16:02 +01:00
<BrandAssetsImgPreview src="/img/misc/avatar-decoration-template.png" />
</div>
2023-07-13 16:58:54 +02:00
</div>
</div>
</div>
</template>
<script setup lang="ts">
const { t } = useI18n();
const route = useRoute();
2023-07-13 16:58:54 +02:00
route.meta.title = t('_brandAssets.title');
route.meta.description = t('_brandAssets.description');
2023-07-13 16:58:54 +02:00
</script>
<style scoped>
</style>