From 9cb9b582703d8ada354c45fb332da085f081bd35 Mon Sep 17 00:00:00 2001 From: hieyou1 <31020711+hieyou1@users.noreply.github.com> Date: Wed, 26 Jun 2024 17:46:42 -0500 Subject: [PATCH] Remove profile picture from test data, denote test --- script.js | 1 + test/projects.json | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/script.js b/script.js index 00c6901..6b2b02d 100644 --- a/script.js +++ b/script.js @@ -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) { diff --git a/test/projects.json b/test/projects.json index 8a0f7c7..1456cdc 100644 --- a/test/projects.json +++ b/test/projects.json @@ -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": { @@ -24,7 +23,6 @@ "type": "web" }, { - "picture": "https://avatars.githubusercontent.com/u/31020711?v=4", "title": "WEB OF White Snake", "author": { "hanzi": "ζŽθΏˆε…‹", @@ -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": { @@ -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": { @@ -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": { @@ -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": {