mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-22 08:53:49 +01:00
(add) brand assets
This commit is contained in:
parent
f13dbb8787
commit
b03a39f041
23
components/brand-assets/ImgPreview.vue
Normal file
23
components/brand-assets/ImgPreview.vue
Normal file
@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<a :href="src" target="_blank">
|
||||
<div class="p-6 prevroot">
|
||||
<img :src="src" class="mx-auto max-w-sm" />
|
||||
</div>
|
||||
</a>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
src: string;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.prevroot {
|
||||
background: linear-gradient(45deg, #aaa 25%, transparent 25%, transparent 75%, #aaa 75%),
|
||||
linear-gradient(45deg, #aaa 25%, transparent 25%, transparent 75%, #aaa 75%);
|
||||
background-color: #888;
|
||||
background-size: 20px 20px;
|
||||
background-position: 0 0, 10px 10px;
|
||||
}
|
||||
</style>
|
@ -118,15 +118,28 @@ _docs:
|
||||
title: "サーバー運営者向け"
|
||||
_forDevelopers:
|
||||
title: "開発者向け"
|
||||
_prevNext:
|
||||
prev: "前へ"
|
||||
next: "次へ"
|
||||
_toc:
|
||||
title: "このページの内容"
|
||||
toPageTop: "ページ上部に戻る"
|
||||
_blog:
|
||||
title: "ブログ"
|
||||
description: "Misskey開発本部から、Misskeyに関する最新情報やTips等をお届けします!(日本語のみ)"
|
||||
_content:
|
||||
tip: "ヒント"
|
||||
warning: "注意"
|
||||
danger: "警告"
|
||||
_other:
|
||||
title: "お楽しみ"
|
||||
_brandAssets:
|
||||
title: "アセット集"
|
||||
description: "Misskeyのロゴ、アイコンなどのアセットのコレクションです。アセットは、CC BY-NC-SAのライセンスの下で自由にお使いいただけます🎉"
|
||||
license: "アセットは、CC BY-NC-SAのライセンスの下で自由にお使いいただけます🎉"
|
||||
assetsDirectory: "全てのアセットは、{0}で管理されています。"
|
||||
logo: "ロゴ"
|
||||
icon: "アイコン"
|
||||
banner: "バナー"
|
||||
_links:
|
||||
title: "リンク"
|
66
pages/brand-assets.vue
Normal file
66
pages/brand-assets.vue
Normal file
@ -0,0 +1,66 @@
|
||||
<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" />
|
||||
<div class="relative lg:w-72">
|
||||
<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',
|
||||
}
|
||||
]" />
|
||||
<Tip>
|
||||
<p class="mb-2">{{ $t('_brandAssets.license') }}</p>
|
||||
<NuxtLink class="inline-block" to="http://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank"><img src="https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png" /></NuxtLink>
|
||||
</Tip>
|
||||
<div id="logo">
|
||||
<h2 class="text-2xl lg:text-3xl font-bold mb-4">{{ $t(`_brandAssets.logo`) }}</h2>
|
||||
<BrandAssetsImgPreview src="https://raw.githubusercontent.com/misskey-dev/assets/main/misskey.svg" />
|
||||
</div>
|
||||
<div id="icon">
|
||||
<h2 class="text-2xl lg:text-3xl font-bold mb-4">{{ $t(`_brandAssets.icon`) }}</h2>
|
||||
<BrandAssetsImgPreview src="https://raw.githubusercontent.com/misskey-dev/assets/main/icon.png" />
|
||||
</div>
|
||||
<div id="banner">
|
||||
<h2 class="text-2xl lg:text-3xl font-bold mb-4">{{ $t(`_brandAssets.banner`) }}</h2>
|
||||
<a class="mb-4 block mx-auto" href="https://raw.githubusercontent.com/misskey-dev/assets/main/banner.png" target="_blank">
|
||||
<img class="border border-slate-200 dark:border-slate-800" src="https://raw.githubusercontent.com/misskey-dev/assets/main/banner.png" />
|
||||
</a>
|
||||
<a class="block mx-auto" href="https://raw.githubusercontent.com/misskey-dev/assets/main/banner-2.png" target="_blank">
|
||||
<img class="border border-slate-200 dark:border-slate-800" src="https://raw.githubusercontent.com/misskey-dev/assets/main/banner-2.png" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
BIN
public/img/emojis/artist_palette_3d.png
Normal file
BIN
public/img/emojis/artist_palette_3d.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
Loading…
Reference in New Issue
Block a user