-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from data-miner00/dev
Seo & update dependencies
- Loading branch information
Showing
10 changed files
with
3,283 additions
and
2,368 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
NUXT_PUBLIC_SITE_URL=https://nuxt-content-template.netlify.app | ||
NUXT_INDEXABLE=true |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<template> | ||
<VHeader /> | ||
<NuxtPage /> | ||
<VFooter /> | ||
<NuxtLayout> | ||
<SeoKit /> | ||
<OgImageStatic /> | ||
<NuxtPage /> | ||
</NuxtLayout> | ||
</template> |
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,42 @@ | ||
<script setup lang="ts"> | ||
const localePath = useLocalePath(); | ||
// Clean error state | ||
function handleError() { | ||
clearError({ redirect: "/" }); | ||
} | ||
</script> | ||
|
||
<template> | ||
<NuxtLayout> | ||
<div | ||
class="h-96 max-w-screen-xl mx-auto flex justify-center items-center mt-24 xl:mt-48" | ||
> | ||
<section class="sm:flex"> | ||
<p class="text-4xl font-semibold text-green-600 sm:text-5xl">404</p> | ||
<div class="sm:ml-6"> | ||
<div class="sm:border-l border-gray-400 sm:pl-6"> | ||
<h1 | ||
class="text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl" | ||
> | ||
{{ $t("errorPage.message") }} | ||
</h1> | ||
<p class="mt-1 text-xl text-gray-500"> | ||
{{ $t("errorPage.message") }} | ||
</p> | ||
</div> | ||
<div | ||
class="flex gap-3 mt-10 sm:border-l sm:border-transparent sm:pl-6" | ||
> | ||
<NuxtLink | ||
class="px-6 py-3 rounded transition-colors duration-200 bg-green-600 text-white border-2 border-solid border-green-600" | ||
:to="localePath('/')" | ||
> | ||
{{ $t("errorPage.action") }} | ||
</NuxtLink> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</NuxtLayout> | ||
</template> |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<template> | ||
<VHeader /> | ||
<slot /> | ||
<VFooter /> | ||
</template> |
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 |
---|---|---|
@@ -1,24 +1,29 @@ | ||
{ | ||
"name": "nuxt-content-template", | ||
"description": "An opinionated template built for documentations and static websites.", | ||
"private": true, | ||
"scripts": { | ||
"build": "nuxt build", | ||
"dev": "nuxt dev", | ||
"generate": "nuxt generate", | ||
"preview": "nuxt preview" | ||
"preview": "nuxt preview", | ||
"clean": "nuxi cleanup" | ||
}, | ||
"devDependencies": { | ||
"@nuxt/content": "^2.3.0", | ||
"@nuxtjs/color-mode": "^3.2.0", | ||
"@nuxt/content": "^2.7.0", | ||
"@nuxtjs/color-mode": "^3.3.0", | ||
"@nuxtjs/i18n": "8.0.0-beta.10", | ||
"@nuxtjs/tailwindcss": "^6.2.0", | ||
"@nuxtjs/tailwindcss": "^6.8.0", | ||
"@tailwindcss/typography": "^0.5.9", | ||
"nuxt": "^3.0.0", | ||
"nuxt": "^3.6.1", | ||
"nuxt-seo-kit": "^1.3.9", | ||
"rehype-mathjax": "^4.0.2", | ||
"remark-math": "^5.1.1", | ||
"sass": "^1.57.1", | ||
"sass-loader": "^13.2.0" | ||
"sass": "^1.63.6", | ||
"sass-loader": "^13.3.2" | ||
}, | ||
"dependencies": { | ||
"@vueuse/core": "^9.11.1" | ||
"@vueuse/core": "^9.13.0", | ||
"@vueuse/motion": "^2.0.0" | ||
} | ||
} |
Oops, something went wrong.