summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-03 18:54:23 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-03 18:54:23 +0800
commit4a5d8ac2abf9c017139155a210d10b4aeb2aa515 (patch)
tree5eb69b2be9abe93a245e7bfd3e554f5091c523aa
parent9a4c2220d310a9bc7b7a01943bf925ed38265665 (diff)
added launch script
-rw-r--r--.gitignore1
-rw-r--r--.htmltest.yml1
-rwxr-xr-xlaunch.sh8
-rw-r--r--src/css/index.css2
-rw-r--r--src/js/getrepo.js2
5 files changed, 13 insertions, 1 deletions
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;