Started pulling in the IDAA Bulletin Board code

This commit is contained in:
Scott Idem
2024-09-27 18:55:24 -04:00
parent 58928d07eb
commit 35c901f144
14 changed files with 588 additions and 269 deletions

View File

@@ -0,0 +1,21 @@
<script lang="ts">
/** @type {import('./$types').LayoutData} */
export let data: any;
let log_lvl = 2;
console.log(`ae_idaa_bulletin_board +layout.svelte data:`, data);
import { ae_snip, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/ae_stores';
import { idaa_loc, idaa_sess, idaa_slct } from '$lib/ae_idaa_stores';
// Quickly save the data passed from the parent(s) to the Svelte stores, localStorage, and other.
$slct.account_id = data.account_id;
// console.log(`$slct.account_id = `, $slct.account_id);
let ae_acct = data[$slct.account_id];
console.log(`ae_acct = `, ae_acct);
$idaa_slct.post_obj_li = ae_acct.slct.post_obj_li;
</script>
<slot />