mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
Don't allow zooming in on cube pages on mobile
This commit is contained in:
parent
582fd61c13
commit
156ccda761
4 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
import Cube from "./_includes/cube.tsx";
|
import Cube from "./_includes/cube.tsx";
|
||||||
|
|
||||||
export const title = "404";
|
export const title = "404";
|
||||||
|
export const viewportFixed = true;
|
||||||
|
|
||||||
export default (_data: Lume.Data, helpers: Lume.Helpers) => {
|
export default (_data: Lume.Data, helpers: Lume.Helpers) => {
|
||||||
const face = (
|
const face = (
|
||||||
|
|
|
@ -4,5 +4,7 @@
|
||||||
|
|
||||||
"color": "#00FFFF",
|
"color": "#00FFFF",
|
||||||
"description": "The official website and link portal of RGBCube and his work.",
|
"description": "The official website and link portal of RGBCube and his work.",
|
||||||
"thumbnail": null
|
"thumbnail": null,
|
||||||
|
|
||||||
|
"viewportFixed": false
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8"/>
|
<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>
|
<title>{{ title }}</title>
|
||||||
<meta property="og:title" content="{{ title }}"/>
|
<meta property="og:title" content="{{ title }}"/>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import Cube from "./_includes/cube.tsx";
|
import Cube from "./_includes/cube.tsx";
|
||||||
|
|
||||||
export const title = "RGBCube";
|
export const title = "RGBCube";
|
||||||
|
export const viewportFixed = true;
|
||||||
|
|
||||||
export default (
|
export default (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue