From 156ccda761e7110371a4ae0a7bb57a3456b18de0 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 28 Feb 2024 15:33:43 +0300 Subject: [PATCH] Don't allow zooming in on cube pages on mobile --- site/404.tsx | 1 + site/_data.json | 4 +++- site/_includes/base.vto | 2 +- site/index.tsx | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/site/404.tsx b/site/404.tsx index 91f62ab..dfd86b8 100644 --- a/site/404.tsx +++ b/site/404.tsx @@ -1,6 +1,7 @@ import Cube from "./_includes/cube.tsx"; export const title = "404"; +export const viewportFixed = true; export default (_data: Lume.Data, helpers: Lume.Helpers) => { const face = ( diff --git a/site/_data.json b/site/_data.json index 2f76e1d..8f3898d 100644 --- a/site/_data.json +++ b/site/_data.json @@ -4,5 +4,7 @@ "color": "#00FFFF", "description": "The official website and link portal of RGBCube and his work.", - "thumbnail": null + "thumbnail": null, + + "viewportFixed": false } diff --git a/site/_includes/base.vto b/site/_includes/base.vto index 6d64fa1..833421b 100644 --- a/site/_includes/base.vto +++ b/site/_includes/base.vto @@ -1,7 +1,7 @@ - + {{ title }} diff --git a/site/index.tsx b/site/index.tsx index 3b8e7b2..9a6efca 100644 --- a/site/index.tsx +++ b/site/index.tsx @@ -1,6 +1,7 @@ import Cube from "./_includes/cube.tsx"; export const title = "RGBCube"; +export const viewportFixed = true; export default ( <>