From 23bd75b9255af436e4e09f716ef52f9e408a7c7e Mon Sep 17 00:00:00 2001 From: Harvey Date: Tue, 12 May 2020 15:38:52 +0200 Subject: [PATCH] Removed old data from JS. --- src/script.js | 92 +-------------------------------------------------- 1 file changed, 1 insertion(+), 91 deletions(-) diff --git a/src/script.js b/src/script.js index 11632be..c12d854 100644 --- a/src/script.js +++ b/src/script.js @@ -127,97 +127,7 @@ function setup(data) { } } -var data = -{ - "linkGroups": [ - { - "name": "social", - "links": [ - { - "name": "discord", - "url": "https://discordapp.com/" - }, - { - "url": "https://arisuchan.jp/", - "name": "arisuchan" - }, - { - "name": "lainchan", - "url": "https://lainchan.org/" - }, - { - "name": "twitter", - "url": "https://twitter.com/" - } - ] - }, - { - "name": "entertainment", - "links": [ - { - "url": "https://www.youtube.com", - "name": "youtube" - }, - { - "url": "https://www.twitch.tv", - "name": "twitch" - }, - { - "url": "https://www.plex.com", - "name": "plex" - }, - { - "url": "https://www.netflix.com", - "name": "netflix" - }, - { - "url": "https://www.nreboot.com/", - "name": "nreboot" - } - ] - }, - { - "name": "code", - "links": [ - { - "url": "https://www.github.com/", - "name": "github" - }, - { - "url": "https://www.codepen.io/", - "name": "codepen" - }, - { - "name": "mozilla dev", - "url": "https://developer.mozilla.org/" - }, - { - "name": "devdocs", - "url": "http://devdocs.io/" - } - ] - } - ], - "userInformation": [ - { - "key": "User", - "value": "orion" - }, - { - "key": "Account Created", - "value": "Aug 1998" - }, - { - "key": "Bio", - "value": "what is good" - } - ], - "backgroundUrl": "https://images.unsplash.com/photo-1492627223639-6e980361988c?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1489&q=80", - "imageWindowImageUrl": "https://pbs.twimg.com/media/DJeR25oXoAIhkVq.jpg" -} - new CustomStartStorage().get() .then(data => { - setup(data); + setup(data); }); -