mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-24 09:49:06 +01:00
parent
6f6205ddc8
commit
ce84e471b8
@ -42,7 +42,7 @@ const { locale, fallbackLocale } = useI18n();
|
|||||||
const localePath = useGLocalePath();
|
const localePath = useGLocalePath();
|
||||||
const showTagline = ref(false);
|
const showTagline = ref(false);
|
||||||
const colorMode = useColorMode();
|
const colorMode = useColorMode();
|
||||||
const mobileScreenShot = computed(() => (colorMode.preference === 'dark') ? '/img/hero/misskey-mobile-dark.png' : '/img/hero/misskey-mobile-light.png');
|
const mobileScreenShot = computed(() => (colorMode.value === 'dark') ? '/img/hero/misskey-mobile-dark.png' : '/img/hero/misskey-mobile-light.png');
|
||||||
|
|
||||||
// お知らせ欄にブログが来る可能性もあるので
|
// お知らせ欄にブログが来る可能性もあるので
|
||||||
const localeState = useState('miHub_blog_originalLocale', () => locale.value);
|
const localeState = useState('miHub_blog_originalLocale', () => locale.value);
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
const colorMode = useColorMode();
|
const colorMode = useColorMode();
|
||||||
const screenshots = computed(() => {
|
const screenshots = computed(() => {
|
||||||
if (colorMode.preference === 'dark') {
|
if (colorMode.value === 'dark') {
|
||||||
return {
|
return {
|
||||||
desktop: '/img/hero/misskey-dark.png',
|
desktop: '/img/hero/misskey-dark.png',
|
||||||
mobile: '/img/hero/misskey-mobile-dark.png',
|
mobile: '/img/hero/misskey-mobile-dark.png',
|
||||||
|
Loading…
Reference in New Issue
Block a user