From 4a5d8ac2abf9c017139155a210d10b4aeb2aa515 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 3 Oct 2023 18:54:23 +0800 Subject: added launch script --- .gitignore | 1 + .htmltest.yml | 1 + launch.sh | 8 ++++++++ src/css/index.css | 2 ++ src/js/getrepo.js | 2 +- 5 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .htmltest.yml create mode 100755 launch.sh diff --git a/.gitignore b/.gitignore index e43b0f98..43e52ccd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .DS_Store +.tmp/** diff --git a/.htmltest.yml b/.htmltest.yml new file mode 100644 index 00000000..0d5d3143 --- /dev/null +++ b/.htmltest.yml @@ -0,0 +1 @@ +DirectoryPath: "." diff --git a/launch.sh b/launch.sh new file mode 100755 index 00000000..4cfaf788 --- /dev/null +++ b/launch.sh @@ -0,0 +1,8 @@ +echo '\033[0;35mCode Checking Starts...\033[0m' +html5validator --also-check-css --also-check-svg --verbose | npx gnomon || echo '\033[0;31mCode Check Failed...\033[0m' +# sleep .5 +echo +htmltest --conf ./.htmltest.yml | npx gnomon +echo '\033[0;32mNpx Server Started...\033[0m' + +exec npx serve #| npx gnomon; diff --git a/src/css/index.css b/src/css/index.css index 5ba0659a..a305a2e4 100644 --- a/src/css/index.css +++ b/src/css/index.css @@ -52,6 +52,8 @@ } .window .placeholder .text .title { + /* z-index: -1; */ + /* transform: translateZ(30px); */ font-family: smooth; font-size: 12.5vw; } diff --git a/src/js/getrepo.js b/src/js/getrepo.js index 4c92b9c3..59bc9882 100644 --- a/src/js/getrepo.js +++ b/src/js/getrepo.js @@ -1,4 +1,4 @@ -const username = 'littleblack111'; +const username = 'torvalds'; const clientId = '8aa6ec904eca5e0bc1e3' const clientSecret = 'b9ac8092b0b95f86871f5d1da81f666146d71200'; const hideForks = true; -- cgit v1.2.3