404 page migration (#277)

This commit is contained in:
formsdev 2024-01-05 15:19:30 +05:30 提交者 GitHub
父节点 95b8853ed7
当前提交 04170ca9fb
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 2 个文件被更改,包括 25 次插入24 次删除

25
client/error.vue Normal file
查看文件

@ -0,0 +1,25 @@
<template>
<NuxtLayout>
<div class="flex mt-6">
<div class="w-full md:w-2/3 md:mx-auto md:max-w-md">
<img alt="Nice plant as we have nothing else to show!" src="/img/icons/plant.png" class="w-56 mb-5">
<h1 class="mb-4 font-semibold text-3xl text-gray-900">
Page Not Found
</h1>
<div class="links">
<NuxtLink :to="{ name: 'index' }" class="hover:underline text-gray-700">
Go Home
</NuxtLink>
</div>
</div>
</div>
</NuxtLayout>
</template>
<script setup>
useOpnSeoMeta({
title: '404 - Page not found'
})
</script>

查看文件

@ -1,24 +0,0 @@
<template>
<div class="flex mt-6">
<div class="w-full md:w-2/3 md:mx-auto md:max-w-md">
<img alt="Nice plant as we have nothing else to show!" src="/img/icons/plant.png" class="w-56 mb-5">
<h1 class="mb-4 font-semibold text-3xl text-gray-900">
Page Not Found
</h1>
<div class="links">
<NuxtLink :to="{ name: 'index' }" class="hover:underline text-gray-700">
Go Home
</NuxtLink>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'NotFound'
}
</script>