(fix) noscript message

This commit is contained in:
kakkokari-gtyih 2023-11-15 21:23:19 +09:00
parent c35c26c650
commit ff43ac695b
3 changed files with 13 additions and 5 deletions

View File

@ -126,10 +126,7 @@ useHead((): Record<string, any> => ({
</script>
<template>
<div class="text-slate-800 dark:text-slate-200 bg-slate-100 dark:bg-gray-900">
<NuxtIsland name="commonNoScript">
<noscript class="block bg-accent-800 text-white text-center py-1.5 px-3 keep-all relative z-[10005]">Please turn
on Javascript from your browser's settings.</noscript>
</NuxtIsland>
<NuxtIsland name="GNoScript" />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>

View File

@ -0,0 +1,11 @@
<template>
<noscript class="block bg-accent-800 text-white text-center py-1.5 px-3 keep-all relative z-[10005]">Please turn on Javascript from your browser's settings.</noscript>
</template>
<script setup lang="ts">
</script>
<style scoped>
</style>

View File

@ -1,6 +1,6 @@
<template>
<div class="text-slate-800 dark:text-slate-200 bg-slate-100 dark:bg-gray-900">
<noscript class="block bg-accent-800 text-white text-center py-1.5 px-3 keep-all relative z-[10005]">Please turn on Javascript from your browser's settings.</noscript>
<NuxtIsland name="GNoScript" />
ページが見つかりませんでした
<pre>{{ error }}</pre>
</div>