1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-30 20:47:46 +00:00

Don't allow zooming in on cube pages on mobile

This commit is contained in:
RGBCube 2024-02-28 15:33:43 +03:00
parent 582fd61c13
commit 156ccda761
No known key found for this signature in database
4 changed files with 6 additions and 2 deletions

View file

@ -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 = (

View file

@ -4,5 +4,7 @@
"color": "#00FFFF",
"description": "The official website and link portal of RGBCube and his work.",
"thumbnail": null
"thumbnail": null,
"viewportFixed": false
}

View file

@ -1,7 +1,7 @@
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0{{ viewportFixed ? ', maximum-scale=1.0, user-scalable=0' : '' }}"/>
<title>{{ title }}</title>
<meta property="og:title" content="{{ title }}"/>

View file

@ -1,6 +1,7 @@
import Cube from "./_includes/cube.tsx";
export const title = "RGBCube";
export const viewportFixed = true;
export default (
<>