Commit a5d3ed77 authored by Gabriel Benson's avatar Gabriel Benson
Browse files

implemented recommendations from Google's Lighthouse tool

parent 57ad8fea
{
"name": "rt_lite",
"version": "2.1.1",
"version": "2.1.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......@@ -3464,9 +3464,9 @@
"dev": true
},
"ansi-colors": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz",
"integrity": "sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==",
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
"integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
"dev": true
},
"ansi-regex": {
......@@ -5572,12 +5572,12 @@
}
},
"enquirer": {
"version": "2.3.5",
"resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.5.tgz",
"integrity": "sha512-BNT1C08P9XD0vNg3J475yIUG+mVdp9T6towYFHUv897X0KoHBjB1shyrNmhmtHWKP17iSWgo7Gqh7BBuzLZMSA==",
"version": "2.3.6",
"resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz",
"integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==",
"dev": true,
"requires": {
"ansi-colors": "^3.2.1"
"ansi-colors": "^4.1.1"
}
},
"entities": {
......@@ -5685,9 +5685,9 @@
}
},
"eslint": {
"version": "7.3.1",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-7.3.1.tgz",
"integrity": "sha512-cQC/xj9bhWUcyi/RuMbRtC3I0eW8MH0jhRELSvpKYkWep3C6YZ2OkvcvJVUeO6gcunABmzptbXBuDoXsjHmfTA==",
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-7.4.0.tgz",
"integrity": "sha512-gU+lxhlPHu45H3JkEGgYhWhkR9wLHHEXC9FbWFnTlEkbKyZKWgWRLgf61E8zWmBuI6g5xKBph9ltg3NtZMVF8g==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
......@@ -9341,6 +9341,16 @@
"@pwa-manifest/core": "^1.4.1"
}
},
"parcel-plugin-static-files-copy": {
"version": "2.4.3",
"resolved": "https://registry.npmjs.org/parcel-plugin-static-files-copy/-/parcel-plugin-static-files-copy-2.4.3.tgz",
"integrity": "sha512-tUZn54XsZIZ9hhhNQkyaWaHLvjOj2wra8pp4yPjp1b5p1frQ+YEwG6eaNtaQVyA+UvORsZg+Wni7n9gIOBE8eA==",
"dev": true,
"requires": {
"minimatch": "3.0.4",
"path": "0.12.7"
}
},
"parent-module": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
......@@ -9406,6 +9416,33 @@
"integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=",
"dev": true
},
"path": {
"version": "0.12.7",
"resolved": "https://registry.npmjs.org/path/-/path-0.12.7.tgz",
"integrity": "sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8=",
"dev": true,
"requires": {
"process": "^0.11.1",
"util": "^0.10.3"
},
"dependencies": {
"inherits": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
"dev": true
},
"util": {
"version": "0.10.4",
"resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz",
"integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==",
"dev": true,
"requires": {
"inherits": "2.0.3"
}
}
}
},
"path-browserify": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz",
......@@ -11123,9 +11160,9 @@
"dev": true
},
"sass": {
"version": "1.26.9",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.26.9.tgz",
"integrity": "sha512-t8AkRVi+xvba4yZiLWkJdgJHBFCB3Dh4johniQkPy9ywkgFHNasXFEFP+RG/F6LhQ+aoE4aX+IorIWQjS0esVw==",
"version": "1.26.10",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.26.10.tgz",
"integrity": "sha512-bzN0uvmzfsTvjz0qwccN1sPm2HxxpNI/Xa+7PlUEMS+nQvbyuEK7Y0qFqxlPHhiNHb1Ze8WQJtU31olMObkAMw==",
"dev": true,
"requires": {
"chokidar": ">=2.0.0 <4.0.0"
......
{
"name": "rt_lite",
"version": "2.1.3",
"version": "2.1.4",
"description": "A slim and sexy Rotten Tomatoes client",
"main": "index.js",
"scripts": {
......@@ -41,7 +41,7 @@
"consola": "^2.14.0",
"core-js": "^3.6.5",
"debounce": "^1.2.0",
"eslint": "^7.3.1",
"eslint": "^7.4.0",
"eslint-plugin-vue": "^6.2.2",
"js-cookie": "^2.2.1",
"normalize.css": "^8.0.1",
......@@ -49,8 +49,9 @@
"parcel-plugin-bundle-visualiser": "^1.2.0",
"parcel-plugin-clean-dist": "0.0.6",
"parcel-plugin-pwa-manifest": "^3.0.10",
"parcel-plugin-static-files-copy": "^2.4.3",
"pug": "^3.0.0",
"sass": "^1.26.9",
"sass": "^1.26.10",
"stylelint": "^13.6.1",
"stylus": "^0.54.7",
"vue": "^2.6.11",
......
......@@ -17,4 +17,18 @@ html(lang="en")
link(rel="stylesheet", href="~/scss/main.scss")
body
div#app
noscript
p Hi! It looks like you have JavaScript disabled. I get it, the web
| can be a scary place and it's definitely smart to disable JavaScript
| by default. However, this particular site does indeed require
| JavaScript in order to function. If you're worried, please visit
a(href="https://gitlab.com/gabeotisbenson/rt_lite") &nbsp;rt_lite on
| GitLab&nbsp;
| where you can look at the source for yourself to verify that there's
| nothing nasty going on (I'm not even running any analytics or tracking
| crap!). When you're satisifed, please whitelist this site and get to
| checking movie scores!
p Thanks,
br
a(href="https://gabe.xyz") Gabe
script(src="~/index.js")
......@@ -2,7 +2,7 @@
div.banner(v-if="bannerVisible")
div.heading
strong.greeting Hey!
button.dismiss-trigger(@click="dismissBanner"): XCircleIcon
button.dismiss-trigger(@click="dismissBanner", aria-label="Dismiss"): XCircleIcon
p rt_lite is now available as a progressive web app, which is
| techno-babble for "you can install this site as an app on your phone"!
| If that sounds like something you'd like to do, just use the button
......
<template lang="pug">
form(@submit.prevent="handleSearchTerms(searchTerms)"): label
span Search
input(v-model="searchTerms", type="text", :placeholder="site.searchPlaceholderText", autofocus)
form(@submit.prevent="handleSearchTerms(searchTerms)")
label
span Search
input(
v-model="searchTerms",
type="text",
:placeholder="site.searchPlaceholderText",
autofocus,
aria-label="Search for a film"
)
</template>
<script>
......
User-agent: *
Disallow:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment