General clean up for CHOW.

This commit is contained in:
Scott Idem
2024-03-04 10:59:15 -05:00
parent 04a8b49177
commit a0947e349a
10 changed files with 125 additions and 53 deletions

View File

@@ -23,32 +23,66 @@ onMount(() => {
</script>
<div class="container h-full mx-auto flex justify-center p-5">
{#if $ae_loc.ds['hub__site__root_page_content']}
{@html $ae_loc.ds['hub__site__root_page_content']}
{:else}
<div class="space-y-10 text-center flex flex-col items-center">
<h1 class="h1">One Sky IT's new Aether App Template</h1>
<h2 class="h2">Development using: Svelte, SvelteKit, Tailwind, Skeleton</h2>
<section class="ae_root md:container h-full mx-auto flex flex-col items-center p-5 space-y-16">
<div class="flex justify-center space-x-2">
<a
class="btn variant-filled"
href="/sponsorships"
>
Open Sponsorships
</a>
{#if $ae_loc.ds['hub__site__root_page_content']}
{@html $ae_loc.ds['hub__site__root_page_content']}
{:else}
<div class="space-y-10 text-center flex flex-col items-center">
<h1 class="h1">One Sky IT's new Aether App Template</h1>
<h2 class="h2">Development using: Svelte, SvelteKit, Tailwind, Skeleton</h2>
<a
class="btn variant-filled"
href="/events_speakers"
>
Open Speakers
</a>
</div>
<div class="flex justify-center space-x-2">
<a
class="btn variant-filled"
href="/sponsorships"
>
Open Sponsorships
</a>
<a
class="btn variant-filled"
href="/events_speakers"
>
Open Speakers
</a>
</div>
{/if}
</div>
{/if}
<div data-sveltekit-preload-data="false" class="">
{#if $ae_loc.iframe}
<a
class="btn btn-sm variant-soft"
href="/?iframe=false"
>
<span class="fas fa-code mx-1"></span>
Exit iframe Mode
</a>
{:else}
<a
class="btn btn-sm variant-soft"
href="/?iframe=true"
>
<span class="fas fa-code mx-1"></span>
Use iframe Mode
</a>
{/if}
<button
class="btn btn-sm variant-soft"
title="Reload and clear the page cache"
on:click={() => {
// $ae_loc.
window.location.reload(true);
}}
>
<span class="fas fa-sync mx-1"></span>
Reload and Clear Cache
</button>
</div>
</section>
<style lang="postcss">