mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-21 16:33:48 +01:00
(fix) noscript message
This commit is contained in:
parent
c35c26c650
commit
ff43ac695b
5
app.vue
5
app.vue
@ -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>
|
||||
|
11
components/g/NoScript.server.vue
Normal file
11
components/g/NoScript.server.vue
Normal 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>
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user