chore: update repository

This commit is contained in:
Pooya Parsa 2021-12-22 20:54:18 +01:00
parent d38da4cd6a
commit e750f66215
4 changed files with 47 additions and 50 deletions

View File

@ -10,3 +10,7 @@ Pre-compiled html templates used for Nuxt.
- Open `http://localhost:3000/` for a list of all the templates
To add a new template, simply create a new file: `./templates/<templateName>/index.html`.
# License
<a rel="license" href="http://creativecommons.org/licenses/by-nd/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nd/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Nuxt UI</span> by <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Nuxt Team</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nd/4.0/">Creative Commons Attribution-NoDerivatives 4.0 International License</a>.<br />Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="https://github.com/nuxt/ui" rel="dct:source">https://github.com/nuxt/ui</a>.

View File

@ -1,6 +1,6 @@
{
"name": "@nuxt/ui-templates",
"version": "0.1.5",
"version": "0.0.0",
"repository": "nuxt/ui",
"license": "CC-BY-ND-4.0",
"exports": {
@ -15,28 +15,30 @@
"dist/index.*"
],
"scripts": {
"dev": "vite",
"build": "vite build",
"dev": "vite",
"lint": "eslint --ext .ts,.js .",
"test": "yarn lint && yarn build",
"prepack": "yarn build",
"release": "yarn test && standard-version && npm publish && git push --follow-tags",
"optimize-assets": "npx svgo public/assets/**/*.svg",
"prerender": "yarn build && jiti ./lib/prerender"
"prepack": "yarn build",
"prerender": "yarn build && jiti ./lib/prerender",
"test": "yarn lint && yarn build"
},
"devDependencies": {
"@nuxt/ui-assets": "^0.1.0",
"@nuxt/ui-assets": "*",
"@types/html-minifier": "^4.0.1",
"@types/lodash.template": "^4.5.0",
"critters": "^0.0.14",
"globby": "^11.0.4",
"html-minifier": "^4.0.0",
"jiti": "^1.12.9",
"lodash.template": "^4.5.0",
"scule": "^0.2.1",
"standard-version": "^9.3.2",
"upath": "^2.0.1",
"vite": "^2.6.14",
"vite-plugin-windicss": "^1.5.1",
"windicss": "^3.2.1"
},
"publishConfig": {
"access": "public"
}
}

View File

@ -1,47 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<title>{{ messages.statusCode }} - {{ messages.statusMessage }} | {{ messages.appName }}</title>
<meta charset="utf-8" />
<meta
content="width=device-width,initial-scale=1.0,minimum-scale=1.0"
name="viewport"
/>
<script type="module" src="/styles.ts"></script>
</head>
<body
class="
<head>
<title>{{ messages.statusCode }} - {{ messages.statusMessage }} | {{ messages.appName }}</title>
<meta charset="utf-8" />
<meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0" name="viewport" />
<script type="module" src="/styles.ts"></script>
</head>
<body class="
font-sans
antialiased
bg-cloud-surface
dark:bg-sky-darker
text-sky-darkest
dark:text-sky-surface
"
>
">
<!-- <sprite> -->
<div class="min-h-screen md:flex">
<div class="flex items-center justify-center w-full md:w-1/2">
<div class="max-w-sm m-8">
<div class="text-5xl font-bold dark:text-white md:text-15xl">
{{ messages.statusCode }}
</div>
<div class="w-16 h-1 my-3 bg-primary md:my-6"></div>
<p
class="
<div class="min-h-screen md:flex">
<div class="flex items-center justify-center w-full md:w-1/2">
<div class="max-w-sm m-8">
<div class="text-5xl font-bold dark:text-white md:text-15xl">
{{ messages.statusCode }}
</div>
<div class="w-16 h-1 my-3 bg-primary md:my-6"></div>
<p class="
mb-8
text-2xl
font-light
leading-normal
dark:text-cloud-lighter
md:text-3xl
"
>
{{ messages.description }}
</p>
<a
href="/"
class="
">
{{ messages.description }}
</p>
<a href="/" class="
px-4
py-3
font-bold
@ -51,22 +44,20 @@
bg-primary
hover:bg-primary-400
dark:bg-primary
"
>
{{ messages.backHome }}
</a>
</div>
">
{{ messages.backHome }}
</a>
</div>
<div
class="
</div>
<div class="
relative
w-full
pb-full
md:flex md:pb-0 md:min-h-screen md:w-1/2
"
>
<img src="/assets/images/404.svg" class="object-cover">
</div>
">
<img src="images/404.svg" class="object-cover">
</div>
</body>
</div>
</body>
</html>

View File

@ -41,7 +41,7 @@
pb-full
md:flex md:pb-0 md:min-h-screen md:w-1/2
">
<img src="@nuxt/ui-assets/images/5002.svg" class="object-cover">
<img src="images/500.svg" class="object-cover">
</div>
</div>
</body>