chore: deps; better single episode show display; styles

This commit is contained in:
Cory Dransfeldt 2024-06-17 09:51:41 -07:00
parent 5a8ad0af13
commit fbce37d5a0
No known key found for this signature in database
5 changed files with 39 additions and 38 deletions

View file

@ -150,8 +150,8 @@ export default {
if (item['rating']) normalized['subtext'] = item['rating'] if (item['rating']) normalized['subtext'] = item['rating']
} }
if (item.type === 'tv') { if (item.type === 'tv') {
normalized['title'] = item['title'] normalized['title'] = item['name']
normalized['alt'] = `${item['title']} from ${item['name']}` normalized['alt'] = `${item['subtext']} of ${item['name']}`
normalized['subtext'] = item['subtext'] normalized['subtext'] = item['subtext']
} }
if (item.type === 'tv-range') { if (item.type === 'tv-range') {

56
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.3.22", "version": "19.3.23",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.3.22", "version": "19.3.23",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.4.0", "@cdransf/api-text": "^1.4.0",
@ -21,10 +21,10 @@
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0", "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"@11tyrocks/eleventy-plugin-lightningcss": "^1.4.0", "@11tyrocks/eleventy-plugin-lightningcss": "^1.4.0",
"@cdransf/eleventy-plugin-tabler-icons": "^1.6.0", "@cdransf/eleventy-plugin-tabler-icons": "^1.6.0",
"@supabase/supabase-js": "^2.43.4", "@supabase/supabase-js": "^2.43.5",
"dotenv-flow": "^4.1.0", "dotenv-flow": "^4.1.0",
"html-minifier-terser": "^7.2.0", "html-minifier-terser": "^7.2.0",
"liquidjs": "^10.13.1", "liquidjs": "^10.14.0",
"luxon": "^3.4.4", "luxon": "^3.4.4",
"markdown-it": "^14.1.0", "markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.0.1", "markdown-it-anchor": "^9.0.1",
@ -433,9 +433,9 @@
} }
}, },
"node_modules/@supabase/functions-js": { "node_modules/@supabase/functions-js": {
"version": "2.3.1", "version": "2.4.1",
"resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.3.1.tgz", "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.4.1.tgz",
"integrity": "sha512-QyzNle/rVzlOi4BbVqxLSH828VdGY1RElqGFAj+XeVypj6+PVtMlD21G8SDnsPQDtlqqTtoGRgdMlQZih5hTuw==", "integrity": "sha512-8sZ2ibwHlf+WkHDUZJUXqqmPvWQ3UHN0W30behOJngVh/qHHekhJLCFbh0AjkE9/FqqXtf9eoVvmYgfCLk5tNA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -456,9 +456,9 @@
} }
}, },
"node_modules/@supabase/postgrest-js": { "node_modules/@supabase/postgrest-js": {
"version": "1.15.2", "version": "1.15.5",
"resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.15.2.tgz", "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.15.5.tgz",
"integrity": "sha512-9/7pUmXExvGuEK1yZhVYXPZnLEkDTwxgMQHXLrN5BwPZZm4iUCL1YEyep/Z2lIZah8d8M433mVAUEGsihUj5KQ==", "integrity": "sha512-YR4TiitTE2hizT7mB99Cl3V9i00RAY5sUxS2/NuWWzkreM7OeYlP2OqnqVwwb4z6ILn+j8x9e/igJDepFhjswQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -479,9 +479,9 @@
} }
}, },
"node_modules/@supabase/storage-js": { "node_modules/@supabase/storage-js": {
"version": "2.5.5", "version": "2.6.0",
"resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.5.5.tgz", "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.6.0.tgz",
"integrity": "sha512-OpLoDRjFwClwc2cjTJZG8XviTiQH4Ik8sCiMK5v7et0MDu2QlXjCAW3ljxJB5+z/KazdMOTnySi+hysxWUPu3w==", "integrity": "sha512-REAxr7myf+3utMkI2oOmZ6sdplMZZ71/2NEIEMBZHL9Fkmm3/JnaOZVSRqvG4LStYj2v5WhCruCzuMn6oD/Drw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -489,18 +489,18 @@
} }
}, },
"node_modules/@supabase/supabase-js": { "node_modules/@supabase/supabase-js": {
"version": "2.43.4", "version": "2.43.5",
"resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.43.4.tgz", "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.43.5.tgz",
"integrity": "sha512-/pLPaxiIsn5Vaz3s32HC6O/VNwfeddnzS0bZRpOW0AKcPuXroD8pT9G8mpiBlZfpKsMmq6k7tlhW7Sr1PAQ1lw==", "integrity": "sha512-Y4GukjZWW6ouohMaPlYz8tSz9ykf9jY7w9/RhqKuScmla3Xiklce8eLr8TYAtA+oQYCWxo3RgS3B6O4rd/72FA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@supabase/auth-js": "2.64.2", "@supabase/auth-js": "2.64.2",
"@supabase/functions-js": "2.3.1", "@supabase/functions-js": "2.4.1",
"@supabase/node-fetch": "2.6.15", "@supabase/node-fetch": "2.6.15",
"@supabase/postgrest-js": "1.15.2", "@supabase/postgrest-js": "1.15.5",
"@supabase/realtime-js": "2.9.5", "@supabase/realtime-js": "2.9.5",
"@supabase/storage-js": "2.5.5" "@supabase/storage-js": "2.6.0"
} }
}, },
"node_modules/@types/linkify-it": { "node_modules/@types/linkify-it": {
@ -825,9 +825,9 @@
} }
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001634", "version": "1.0.30001636",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001634.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz",
"integrity": "sha512-fbBYXQ9q3+yp1q1gBk86tOFs4pyn/yxFm5ZNP18OXJDfA3txImOY9PhfxVggZ4vRHDqoU8NrKU81eN0OtzOgRA==", "integrity": "sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@ -2145,9 +2145,9 @@
} }
}, },
"node_modules/liquidjs": { "node_modules/liquidjs": {
"version": "10.13.1", "version": "10.14.0",
"resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.13.1.tgz", "resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.14.0.tgz",
"integrity": "sha512-QCQ69sbyMdA1970NEsG7KdQoKi6N+lGg55izisvKvrrRO1nrpS/YBAnzDndR13exYB4xE9A87qdOMuaXPn9v9A==", "integrity": "sha512-Zjg35Yo3L/2aNy7QkICha/ulbXRtZS7oRenWyDDfw+J34Xy3fOKWWHxASC9r0gbxN661nrwmG/kOIKHfYcVk4Q==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -3479,9 +3479,9 @@
"license": "ISC" "license": "ISC"
}, },
"node_modules/ws": { "node_modules/ws": {
"version": "8.17.0", "version": "8.17.1",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.17.0.tgz", "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz",
"integrity": "sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==", "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.3.22", "version": "19.3.23",
"description": "The source for my personal site. Built using 11ty.", "description": "The source for my personal site. Built using 11ty.",
"type": "module", "type": "module",
"scripts": { "scripts": {
@ -31,10 +31,10 @@
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0", "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"@11tyrocks/eleventy-plugin-lightningcss": "^1.4.0", "@11tyrocks/eleventy-plugin-lightningcss": "^1.4.0",
"@cdransf/eleventy-plugin-tabler-icons": "^1.6.0", "@cdransf/eleventy-plugin-tabler-icons": "^1.6.0",
"@supabase/supabase-js": "^2.43.4", "@supabase/supabase-js": "^2.43.5",
"dotenv-flow": "^4.1.0", "dotenv-flow": "^4.1.0",
"html-minifier-terser": "^7.2.0", "html-minifier-terser": "^7.2.0",
"liquidjs": "^10.13.1", "liquidjs": "^10.14.0",
"luxon": "^3.4.4", "luxon": "^3.4.4",
"markdown-it": "^14.1.0", "markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.0.1", "markdown-it-anchor": "^9.0.1",

View file

@ -91,7 +91,7 @@ export default async function () {
showEpisodesMap[showTmdbId].episodes.push({ showEpisodesMap[showTmdbId].episodes.push({
name: showTitle, name: showTitle,
url: `/watching/shows/${showTmdbId}`, url: `/watching/shows/${showTmdbId}`,
subtext: `${showTitle} / S${seasonNumber}E${episodeNumber}`, subtext: `S${seasonNumber}E${episodeNumber}`,
episode: episodeNumber, episode: episodeNumber,
season: seasonNumber, season: seasonNumber,
tmdbId: showTmdbId, tmdbId: showTmdbId,
@ -113,7 +113,7 @@ export default async function () {
if (show.episodes.length > 1) { if (show.episodes.length > 1) {
episodeData.push({ episodeData.push({
name: show.title, name: show['title'],
url: `/watching/shows/${show['tmdbId']}`, url: `/watching/shows/${show['tmdbId']}`,
subtext: `S${startingSeason}E${startingEpisode} - S${endingSeason}E${endingEpisode}`, subtext: `S${startingSeason}E${startingEpisode} - S${endingSeason}E${endingEpisode}`,
startingEpisode, startingEpisode,

View file

@ -89,10 +89,11 @@ code {
sup.footnote-ref { sup.footnote-ref {
line-height: var(--line-height-xs); line-height: var(--line-height-xs);
}
& a { sup.footnote-ref a,
text-decoration: none; .footnote-backref {
} text-decoration: none;
} }
strong, strong,