This commit is contained in:
Ginger Wong
2020-06-28 17:20:43 -07:00
14 changed files with 140 additions and 99 deletions

View File

@@ -1,7 +1,7 @@
// add more to the promises later.
class Config {
async init() {
const configFileLocation = "./js/config.json";
const configFileLocation = "/config";
try {
const response = await fetch(configFileLocation);

View File

@@ -1,21 +0,0 @@
{
"name": "gabek",
"title": "Owncast Demo Server",
"logo": "/img/logo128.png",
"summary": "This is brief summary of whom you are or what your stream is. demo server for Owncast. You can read more about it at owncast.online. You can edit this description in your web config file.\n\nBlathers is an owl with brown feathers. His face is white and he has a yellow beak. His arms are wing shaped and he has yellow talons. His eyes are very big with small black irises. He also has big pink cheek circles on his cheeks. His belly appears to be checkered in diamonds with light brown and white squares, similar to an argyle vest, which is traditionally associated with academia. His green bowtie further alludes to his academic nature.",
"tags": [
"music",
"software",
"animal crossing"
],
"socialHandles": [
{ "platform": "twitter", "handle": "abc" },
{ "platform": "instagram", "handle": "abc" },
{ "platform": "facebook", "handle": "" },
{ "platform": "tiktok", "handle": "abc" },
{ "platform": "soundcloud", "handle": "abc" },
{ "platform": "newone", "handle": "abc" }
]
}

View File

@@ -20,7 +20,7 @@ const SOCIAL_PLATFORMS_URLS = {
urlPrefix: "http://www.instagram.com/",
imgPos: [0,3],
},
instagram: {
snapchat: {
name: "Snapchat",
urlPrefix: "http://www.snapchat.com/",
imgPos: [0,4],
@@ -35,8 +35,8 @@ const SOCIAL_PLATFORMS_URLS = {
urlPrefix: "http://www.soundcloud.com/",
imgPos: [0,6],
},
basecamp: {
name: "Base Camp",
bandcamp: {
name: "Bandcamp",
urlPrefix: "http://www.basecamp.com/",
imgPos: [0,7],
},