From 25c34f2a3bcb28b68bbc87cc6411c34ccfbb5c88 Mon Sep 17 00:00:00 2001 From: CanadaHonk Date: Sat, 10 Dec 2022 15:41:11 +0000 Subject: [PATCH] gluworld: add more product and V8 info --- gluworld/index.html | 40 ++++++++++++++++++++++++++++------------ gluworld/index.js | 2 +- 2 files changed, 29 insertions(+), 13 deletions(-) diff --git a/gluworld/index.html b/gluworld/index.html index 6fa0c36..7376b72 100644 --- a/gluworld/index.html +++ b/gluworld/index.html @@ -8,18 +8,21 @@

Gluon
- built with + built with
+ running on

Chromium
- +
+ V8

Node
- +
+ V8

@@ -30,20 +33,25 @@ background: #101418; color: #fff; font-family: Inter, sans-serif; + + margin: 0; + width: 100%; + height: 100%; } body { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); + box-sizing: border-box; + padding: 5vw 5vh; - width: 90%; - padding: 12px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-around; } h1, h2, code { text-align: center; + margin: 0; } h1 { @@ -51,7 +59,7 @@ font-size: 34px; } - h1 > code { + h1 > code, h2 > span > code { margin-left: 8px; } @@ -60,17 +68,22 @@ font-size: 28px; } + h2 > span, h2 > span > code { + font-weight: 600; + font-size: 18px; + color: #bbb; + } + code { font-size: 100%; font-family: Fira Code; + color: #ddd; } #versions { display: flex; justify-content: space-around; width: 100%; - - margin-top: 20vh; } @@ -79,6 +92,9 @@ node_version.textContent = Gluon.versions.node; gluon_version.textContent = Gluon.versions.gluon; builder.textContent = Gluon.versions.builder; + product.textContent = Gluon.versions.product; + node_v8.textContent = Gluon.versions.v8.node; + chromium_v8.textContent = Gluon.versions.v8.chromium; \ No newline at end of file diff --git a/gluworld/index.js b/gluworld/index.js index a01c1c4..7d5aa22 100644 --- a/gluworld/index.js +++ b/gluworld/index.js @@ -8,6 +8,6 @@ const __dirname = dirname(__filename); (async () => { const Chromium = await Gluon.open(pathToFileURL(join(__dirname, 'index.html')).href, { - windowSize: [ 800, 450 ] + windowSize: [ 800, 500 ] }); })(); \ No newline at end of file