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:
parent
582fd61c13
commit
156ccda761
4 changed files with 6 additions and 2 deletions
|
@ -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 = (
|
||||
|
|
|
@ -4,5 +4,7 @@
|
|||
|
||||
"color": "#00FFFF",
|
||||
"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">
|
||||
<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 }}"/>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import Cube from "./_includes/cube.tsx";
|
||||
|
||||
export const title = "RGBCube";
|
||||
export const viewportFixed = true;
|
||||
|
||||
export default (
|
||||
<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue