This is a good start. Many key features are working again!!!
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<script lang="ts">
|
||||
import '../app.postcss';
|
||||
import { AppShell, AppBar } from '@skeletonlabs/skeleton';
|
||||
|
||||
import { AppShell, AppBar, initializeStores } from '@skeletonlabs/skeleton';
|
||||
// Initialize the stores for Drawer, Modal, and Toast so they work throughout the app.
|
||||
initializeStores();
|
||||
import { Drawer, Modal } from '@skeletonlabs/skeleton';
|
||||
import type { ModalSettings, ModalComponent, ModalStore } from '@skeletonlabs/skeleton';
|
||||
|
||||
// Highlight JS
|
||||
import hljs from 'highlight.js/lib/core';
|
||||
@@ -24,6 +29,9 @@ import { computePosition, autoUpdate, flip, shift, offset, arrow } from '@floati
|
||||
import { storePopup } from '@skeletonlabs/skeleton';
|
||||
storePopup.set({ computePosition, autoUpdate, flip, shift, offset, arrow });
|
||||
|
||||
// import { TESTING } from '$env/static/private';
|
||||
// console.log(`Aether Config - TESTING:`, TESTING);
|
||||
|
||||
type key_val = {
|
||||
[key: string]: any;
|
||||
};
|
||||
@@ -71,7 +79,7 @@ async function handle_get_data_store_obj_w_code({code, data_type='text'}) {
|
||||
api_cfg: $ae_api,
|
||||
data_store_code: code,
|
||||
data_type: data_type,
|
||||
log_lvl: 2
|
||||
log_lvl: 0
|
||||
})
|
||||
.then(function (get_data_store_result) {
|
||||
if (get_data_store_result) {
|
||||
@@ -96,6 +104,10 @@ async function handle_get_data_store_obj_w_code({code, data_type='text'}) {
|
||||
</script>
|
||||
|
||||
|
||||
<Modal />
|
||||
|
||||
<Drawer />
|
||||
|
||||
<!-- App Shell -->
|
||||
<AppShell>
|
||||
<svelte:fragment slot="header">
|
||||
@@ -108,13 +120,17 @@ async function handle_get_data_store_obj_w_code({code, data_type='text'}) {
|
||||
</svelte:fragment>
|
||||
OSIT's Aether App
|
||||
<svelte:fragment slot="trail">
|
||||
<a
|
||||
<!-- <a
|
||||
class="btn btn-sm variant-ghost-surface"
|
||||
href="example">Example Page</a>
|
||||
href="/testing">Testing Page</a> -->
|
||||
|
||||
<a
|
||||
class="btn btn-sm variant-ghost-surface"
|
||||
href="example">Example Page</a>
|
||||
href="/sponsorships">Sponsorships</a>
|
||||
|
||||
<a
|
||||
class="btn btn-sm variant-ghost-surface"
|
||||
href="/event_speakers">Speakers</a>
|
||||
</svelte:fragment>
|
||||
</AppBar>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user