Skip to content

Commit

Permalink
Remove profile picture from test data, denote test
Browse files Browse the repository at this point in the history
  • Loading branch information
hieyou1 committed Jun 26, 2024
1 parent 269bd12 commit 9cb9b58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const makeTooltip = (text, tooltip) => {
}

window.onload = async () => {
if (LOAD_TEST_PROJECTS) document.querySelector("#title").innerText += " - TEST";
let { projects } = await (await fetch(LOAD_TEST_PROJECTS ? "/test/projects.json" : "/projects.json")).json();
document.querySelector("#showcase-container").innerText = "";
for (let i of projects) {
Expand Down
6 changes: 0 additions & 6 deletions test/projects.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"$schema": "../project.schema.json",
"projects": [
{
"picture": "https://avatars.githubusercontent.com/u/31020711?v=4",
"title": "DATA OF White Snake",
"description": "Bai She is a story of x, y, and z.",
"author": {
Expand All @@ -24,7 +23,6 @@
"type": "web"
},
{
"picture": "https://avatars.githubusercontent.com/u/31020711?v=4",
"title": "WEB OF White Snake",
"author": {
"hanzi": "李迈克",
Expand All @@ -35,7 +33,6 @@
"type": "web"
},
{
"picture": "https://avatars.githubusercontent.com/u/31020711?v=4",
"title": "WEB OF White Snake",
"description": "Bai She is a story of x, y, and z.",
"author": {
Expand All @@ -47,7 +44,6 @@
"type": "web"
},
{
"picture": "https://avatars.githubusercontent.com/u/31020711?v=4",
"title": "DATA OF White Snake",
"description": "Bai She is a story of x, y, and z.",
"author": {
Expand All @@ -59,7 +55,6 @@
"type": "data"
},
{
"picture": "https://avatars.githubusercontent.com/u/31020711?v=4",
"title": "DATA OF White Snake",
"description": "Bai She is a story of x, y, and z.",
"author": {
Expand All @@ -71,7 +66,6 @@
"type": "data"
},
{
"picture": "https://avatars.githubusercontent.com/u/31020711?v=4",
"title": "DATA OF White Snake",
"description": "Bai She is a story of x, y, and z.",
"author": {
Expand Down

0 comments on commit 9cb9b58

Please sign in to comment.