|
|
|
@ -3,8 +3,6 @@
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-left:5vw;
|
|
|
|
|
margin-right:5vw;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#interverse-details{
|
|
|
|
@ -223,26 +221,9 @@ a{
|
|
|
|
|
Alpine.store("data", {});
|
|
|
|
|
interverse_data(url.replace("https://",'').replace('http://','').replace('/',''), function (data) {
|
|
|
|
|
console.log("Initializing interverse...")
|
|
|
|
|
Alpine.store('data',data);
|
|
|
|
|
for (group in data['connection_groups']) {
|
|
|
|
|
for (link in data['connection_groups'][group]) {
|
|
|
|
|
url = data['connection_groups'][group][link];
|
|
|
|
|
console.log("Connection: "+url)
|
|
|
|
|
interverse_data(url.replace("https://",'').replace('http://','').replace('/',''),function(data){
|
|
|
|
|
Alpine.store(data['location'],data)
|
|
|
|
|
});
|
|
|
|
|
//connections.push(data['connection_groups'][group][link]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
var connections = data['connections'];
|
|
|
|
|
for (var i = 0; i < connections.length; i++) {
|
|
|
|
|
url = connections[i].replace("https://",'').replace('http://','').replace('/','')
|
|
|
|
|
interverse_data(url,function(data){
|
|
|
|
|
if (data['location']){
|
|
|
|
|
Alpine.store(data['location'],data);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
Alpine.store('data',data['main'])
|
|
|
|
|
for (c in data['connections']){
|
|
|
|
|
Alpine.store(c,data['connections'][c])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|