Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

Commit 8101757

Browse files
committed
v1.2.1 update
1 parent 938a10f commit 8101757

File tree

11 files changed

+36
-11
lines changed

11 files changed

+36
-11
lines changed

assets/new_icons/horanghill-01.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/new_icons/horanghill-02.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/new_icons/horanghill.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graycrown",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "a simple game launcher",
55
"homepage": "https://gray-crown.web.app",
66
"type": "commonjs",

script/main.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,19 @@ let method;
5353
let stop;
5454
let started = false;
5555
const load = async () => {
56-
console.log('startup being played')
56+
document.getElementById('api-menu').style.display = 'none';
57+
document.getElementById('add').style.display = 'none';
58+
document.body.style.overflowY = 'hidden'
59+
document.getElementById('downloads').style.display = 'none';
5760
startup.play();
58-
console.log('timing out....')
59-
await setTimeout(1000);
60-
started = true;
61+
await setTimeout(5000);
62+
document.getElementById('startup').style.animation = 'fade 0.5s linear normal';
63+
document.getElementById('api-menu').style.display = 'block';
64+
document.getElementById('add').style.display = 'inline-block';
65+
document.getElementById('downloads').style.display = 'inline-block';
66+
await setTimeout(490);
67+
document.getElementById('startup').style.display = 'none';
68+
document.body.style.overflowY = 'auto'
6169
}
6270
load();
6371
document.onclick = () => {

views/css/index.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ object, iframe {
476476
.game-title {
477477
font-size: 1.5em;
478478
font-weight: bold;
479+
color: #fff;
479480
margin-top: 10px;
480481
margin-right: 10px;
481482
margin-bottom: 10px;
@@ -512,7 +513,7 @@ h1 {
512513
display: flex;
513514
justify-content: center;
514515
}
515-
.startup reg-head {
516+
.startup p {
516517
display: flex;
517518
justify-content: center;
518519
text-align: center;
@@ -526,6 +527,7 @@ a {
526527
background-color: var(--main-color);
527528
z-index: 99999;
528529
min-height: 100vh;
530+
padding-top: 2px;
529531
}
530532
.stop {
531533
background-color: var(--stop-color);

views/css/light.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@
9393
#cl {
9494
content: url('../../assets/new_icons/light/ic_fluent_dismiss_24_regular.svg');
9595
}
96+
#horang {
97+
content: url('../../assets/new_icons/light/ic_fluent_puzzle_cube_24_regular.svg');
98+
}
9699
#dv {
97100
content: url('../../assets/new_icons/light/ic_fluent_people_24_regular.svg');
98101
}

0 commit comments

Comments
 (0)