update file structure
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { fade } from 'svelte/transition';
|
||||
|
||||
import Header from '$lib/example/header/Header.svelte';
|
||||
import Header from '$lib/components/Header.svelte';
|
||||
import Index from '$lib/Index.svelte';
|
||||
import Footer from '$lib/example/footer/Footer.svelte';
|
||||
|
||||
import { theme } from '$lib/stores/theme';
|
||||
|
||||
@@ -21,6 +20,5 @@
|
||||
<main class="flex-1" in:fade={{ delay: 300, duration: 1000 }}>
|
||||
<Index />
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
{/await}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import CallTauri from '$lib/example/call-tauri/CallTauri.svelte';
|
||||
import HashInput from '$lib/example/hash/HashInput.svelte';
|
||||
import CallTauri from '$lib/components/CallTauri.svelte';
|
||||
import HashInput from '$lib/components/HashInput.svelte';
|
||||
</script>
|
||||
|
||||
<div class="flex flex-col gap-8 items-center font-bold drop-shadow-ft">
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import ThemeToggleIcon from '$lib/example/header/ThemeToggleIcon.svelte';
|
||||
import ThemeToggleIcon from '$lib/components/ThemeToggleIcon.svelte';
|
||||
import { theme } from '$lib/stores/theme';
|
||||
import { appWindow } from '@tauri-apps/api/window';
|
||||
</script>
|
||||
@@ -17,6 +17,13 @@
|
||||
</button>
|
||||
|
||||
<div>
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://github.com/Fractal-Tess/Svelte-Tauri"
|
||||
class="hover:text-secondary"
|
||||
>
|
||||
<i class="fa-brands fa-github h-6" />
|
||||
</a>
|
||||
<button
|
||||
on:click={appWindow.minimize}
|
||||
aria-live="polite"
|
@@ -1,16 +0,0 @@
|
||||
<!-- Make she the bottom rounded value of fixed elements is the same as html/body in the app.scss file -->
|
||||
<div
|
||||
class="fixed bottom-0 w-full rounded-b-3xl h-12 items-center flex justify-around bg-base-100 shadow-[0_-10px_15px_-3px_rgba(0,0,0,0.1)]"
|
||||
>
|
||||
<a target="_blank" href="https://github.com/Fractal-Tess">
|
||||
Made by <span class="text-secondary-content bg-secondary p-[4px] rounded-md"
|
||||
>Fractal-Tess</span
|
||||
>
|
||||
</a>
|
||||
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://github.com/Fractal-Tess/Svelte-Tauri"
|
||||
class="border-b-2 border-secondary">GitHub</a
|
||||
>
|
||||
</div>
|
Reference in New Issue
Block a user