-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
efafa02
commit 61978cb
Showing
5 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: syuilo and misskey-project | ||
SPDX-License-Identifier: AGPL-3.0-only | ||
--> | ||
|
||
<!-- 動的ページのブロックの代替。利用できないということを表示する --> | ||
<template> | ||
<div :class="$style.root"> | ||
<div :class="$style.heading"><i class="ti ti-dice-5"></i> {{ i18n.ts._pages.blocks.dynamic }}</div> | ||
<I18n :src="i18n.ts._pages.blocks.dynamicDescription" tag="div" :class="$style.text"> | ||
<template #play> | ||
<MkA to="/play" class="_link">Play</MkA> | ||
</template> | ||
</I18n> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import * as Misskey from 'misskey-js'; | ||
import { i18n } from '@/i18n.js'; | ||
|
||
const props = defineProps<{ | ||
block: Misskey.entities.PageBlock, | ||
page: Misskey.entities.Page, | ||
}>(); | ||
</script> | ||
|
||
<style lang="scss" module> | ||
.root { | ||
border: 1px solid var(--divider); | ||
border-radius: var(--radius); | ||
padding: var(--margin); | ||
text-align: center; | ||
} | ||
|
||
.heading { | ||
font-weight: 700; | ||
} | ||
|
||
.text { | ||
font-size: 90%; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61978cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chromatic detects changes. Please review the changes on Chromatic.