From e16904e13a1cbdaf6db003581e31628e5d8a4f77 Mon Sep 17 00:00:00 2001 From: Tommi Date: Sun, 18 Sep 2022 09:30:04 +0200 Subject: [PATCH] fixed cursor URL --- .eleventy.js | 3 +-- data/site.json | 2 +- styles/style.scss | 4 ++-- {logos => svg}/qsm.png | Bin {logos => svg}/qsm.svg | 0 {logos => svg}/red-cursor-hover.svg | 0 {logos => svg}/red-cursor.svg | 0 7 files changed, 4 insertions(+), 5 deletions(-) rename {logos => svg}/qsm.png (100%) rename {logos => svg}/qsm.svg (100%) rename {logos => svg}/red-cursor-hover.svg (100%) rename {logos => svg}/red-cursor.svg (100%) diff --git a/.eleventy.js b/.eleventy.js index f9b34e2..8f29880 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -65,7 +65,6 @@ module.exports = function(eleventyConfig) { eleventyConfig.addWatchTarget('styles'); eleventyConfig.addPassthroughCopy({'styles': '/'}); eleventyConfig.addPassthroughCopy({'svg': '/'}); - eleventyConfig.addPassthroughCopy('js'); // Plugins // eleventyConfig.addPlugin(require('@11ty/eleventy-plugin-directory-output')); @@ -102,7 +101,7 @@ module.exports = function(eleventyConfig) { }); eleventyConfig.addPlugin(require('eleventy-plugin-svg-contents')); eleventyConfig.addPlugin(require('@sardine/eleventy-plugin-tinysvg'), { - baseUrl: 'assets/svg/' + baseUrl: 'svg/' }); eleventyConfig.addPlugin(require('eleventy-plugin-toc'), { ul: true, diff --git a/data/site.json b/data/site.json index 0a88602..42ef1bb 100644 --- a/data/site.json +++ b/data/site.json @@ -11,6 +11,6 @@ "primary": "#E6£946", "description": "Why and How to quit mainstream social media", "favicon": "https://quitsocialmedia.club/favicon.svg", - "image": "/logos/qsm.png", + "image": "https://quitsocialmedia.club/qsm.png", "source": "https://codeberg.org/tommi/quitsocialmedia.club" } diff --git a/styles/style.scss b/styles/style.scss index f5c15b0..45cf36a 100644 --- a/styles/style.scss +++ b/styles/style.scss @@ -40,7 +40,7 @@ $quicktrans: .2s; html { box-sizing: border-box; - cursor: url(/logos/red-cursor.svg) 16 16, crosshair; + cursor: url(/red-cursor.svg) 16 16, crosshair; background: var(--background); scroll-behavior: smooth; @@ -345,7 +345,7 @@ button, .aa-suggestion, .embed-container, label { - cursor: url(/logos/red-cursor-hover.svg) 16 16, pointer; + cursor: url(/red-cursor-hover.svg) 16 16, pointer; } diff --git a/logos/qsm.png b/svg/qsm.png similarity index 100% rename from logos/qsm.png rename to svg/qsm.png diff --git a/logos/qsm.svg b/svg/qsm.svg similarity index 100% rename from logos/qsm.svg rename to svg/qsm.svg diff --git a/logos/red-cursor-hover.svg b/svg/red-cursor-hover.svg similarity index 100% rename from logos/red-cursor-hover.svg rename to svg/red-cursor-hover.svg diff --git a/logos/red-cursor.svg b/svg/red-cursor.svg similarity index 100% rename from logos/red-cursor.svg rename to svg/red-cursor.svg