From 5cdbf036f18df3688b8401d1ea9f8c618410d8a2 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Fri, 26 Jan 2024 01:31:15 +0100 Subject: [PATCH] Added tag pages. --- assets/css/breakpoints.css | 3 + components/filters/actors.vue | 6 +- components/filters/channels.vue | 2 +- components/filters/filters.vue | 9 ++ components/filters/tags.vue | 16 ++- package-lock.json | 112 ++++++++++++++++++++- package.json | 2 + pages/about/+Page.vue | 13 --- pages/index/+Page.vue | 12 --- pages/index/Counter.vue | 8 -- pages/tags/+Page.vue | 142 +++++++++++++++++++++++++++ pages/tags/+onBeforeRender.js | 136 +++++++++++++++++++++++++ pages/tags/@tagId/+Page.vue | 63 ++++++++++++ pages/tags/@tagId/+onBeforeRender.js | 50 ++++++++++ pages/tags/@tagId/+route.js | 22 +++++ src/entities.js | 2 +- src/tags.js | 70 +++++++++++-- src/web/scenes.js | 2 +- vite.config.js | 1 + 19 files changed, 618 insertions(+), 53 deletions(-) delete mode 100644 pages/about/+Page.vue delete mode 100644 pages/index/+Page.vue delete mode 100644 pages/index/Counter.vue create mode 100644 pages/tags/+Page.vue create mode 100644 pages/tags/+onBeforeRender.js create mode 100644 pages/tags/@tagId/+Page.vue create mode 100644 pages/tags/@tagId/+onBeforeRender.js create mode 100644 pages/tags/@tagId/+route.js diff --git a/assets/css/breakpoints.css b/assets/css/breakpoints.css index 015083e..f6f0ef0 100644 --- a/assets/css/breakpoints.css +++ b/assets/css/breakpoints.css @@ -1,3 +1,6 @@ +@custom-media --small-30 (max-width: 540px); +@custom-media --small-20 (max-width: 650px); @custom-media --small-10 (max-width: 768px); @custom-media --small (max-width: 900px); @custom-media --compact (max-width: 1200px); +@custom-media --big (max-width: 1500px); diff --git a/components/filters/actors.vue b/components/filters/actors.vue index 4739e57..b05f06c 100644 --- a/components/filters/actors.vue +++ b/components/filters/actors.vue @@ -63,6 +63,7 @@