Sponsorships and Speakers are working and looking pretty well. Other general clean up.

This commit is contained in:
Scott Idem
2024-02-27 16:50:37 -05:00
parent 9540aefd50
commit c93d84f3c3
15 changed files with 1513 additions and 148 deletions

View File

@@ -2,15 +2,12 @@
import { onMount } from 'svelte';
import { PUBLIC_TESTING } from '$env/static/public';
console.log(`Aether Config - TESTING:`, PUBLIC_TESTING);
console.log(`AE Config - +page.svelte PUBLIC_TESTING:`, PUBLIC_TESTING);
type key_val = {
[key: string]: any;
};
import { api } from '$lib/api';
import { ae_loc, ae_sess, ae_api, slct, slct_trigger } from '$lib/ae_stores';
// console.log(api);
import type { key_val } from '$lib/ae_stores';
console.log($ae_loc, $ae_sess, $ae_api);
@@ -19,50 +16,6 @@ onMount(() => {
let url = window.location.href;
console.log(url);
});
// let data_store_obj_get_promises: key_val = {};
// let get_ds_hub_site_header_promise = handle_get_data_store_obj_w_code({code: 'hub_site_header'});
// let get_ds_hub_site_footer_promise = handle_get_data_store_obj_w_code({code: 'hub_site_footer'});
// async function handle_get_data_store_obj_w_code({code}: {code: string}, data_type='text') {
// console.log('*** handle_get_data_store_obj_w_code() ***');
// // let get_item_result = window.localStorage.getItem(code);
// // localStorage.getItem(code);
// // if ($ae_loc_test_store) {
// // $ae_loc.ds[code] = $ae_loc_test_store;
// // } else {
// // console.log('Get local storage item miss.');
// // }
// data_store_obj_get_promises[code] = api.get_data_store_obj_w_code({
// api_cfg: $ae_api,
// data_store_code: code,
// data_type: data_type,
// log_lvl: 1
// })
// .then(function (get_data_store_result) {
// if (get_data_store_result) {
// if (data_type == 'text') {
// // console.log(get_data_store_result.text);
// $ae_loc.ds[code] = get_data_store_result.text;
// } else if (data_type == 'json') {
// // console.log(get_data_store_result.json);
// $ae_loc.ds[code] = get_data_store_result.json;
// }
// // console.log(`Code: ${$ae_loc.ds[code]}`);
// // console.log(`Code:`, $ae_loc.ds[code]);
// }
// })
// .catch(function (error) {
// console.log('No results returned or failed.', error);
// });
// }
</script>