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 - 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`. 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", "name": "@nuxt/ui-templates",
"version": "0.1.5", "version": "0.0.0",
"repository": "nuxt/ui", "repository": "nuxt/ui",
"license": "CC-BY-ND-4.0", "license": "CC-BY-ND-4.0",
"exports": { "exports": {
@ -15,28 +15,30 @@
"dist/index.*" "dist/index.*"
], ],
"scripts": { "scripts": {
"dev": "vite",
"build": "vite build", "build": "vite build",
"dev": "vite",
"lint": "eslint --ext .ts,.js .", "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", "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": { "devDependencies": {
"@nuxt/ui-assets": "^0.1.0", "@nuxt/ui-assets": "*",
"@types/html-minifier": "^4.0.1", "@types/html-minifier": "^4.0.1",
"@types/lodash.template": "^4.5.0", "@types/lodash.template": "^4.5.0",
"critters": "^0.0.14", "critters": "^0.0.14",
"globby": "^11.0.4", "globby": "^11.0.4",
"html-minifier": "^4.0.0", "html-minifier": "^4.0.0",
"jiti": "^1.12.9",
"lodash.template": "^4.5.0", "lodash.template": "^4.5.0",
"scule": "^0.2.1", "scule": "^0.2.1",
"standard-version": "^9.3.2",
"upath": "^2.0.1", "upath": "^2.0.1",
"vite": "^2.6.14", "vite": "^2.6.14",
"vite-plugin-windicss": "^1.5.1", "vite-plugin-windicss": "^1.5.1",
"windicss": "^3.2.1" "windicss": "^3.2.1"
},
"publishConfig": {
"access": "public"
} }
} }

View File

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

View File

@ -41,7 +41,7 @@
pb-full pb-full
md:flex md:pb-0 md:min-h-screen md:w-1/2 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>
</div> </div>
</body> </body>