Skip to content

Commit

Permalink
Updated transition style slide
Browse files Browse the repository at this point in the history
  • Loading branch information
biplobsd committed Jan 17, 2025
1 parent 5cb5799 commit 1316c09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Main.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Home from "src/components/pages/Home.svelte";
import About from "src/components/pages/About.svelte";
import type { TabName } from "../utils/types";
import { blur, slide } from "svelte/transition";
import { slide } from "svelte/transition";
import Api from "./pages/API.svelte";
import { workingModeWritable, xpathsWritable } from "src/utils/storage";
import FeatureUnavailable from "src/components/Feature_Unavailable.svelte";
Expand Down Expand Up @@ -34,7 +34,7 @@
</div>
<div class="my-2 w-full relative">
{#if tabName === "Home"}
<div in:blur out:slide>
<div transition:slide>
{#if !$xpathsWritable.API_ENABLE && !$xpathsWritable.XPATH_ENABLE}
<FeatureUnavailable />
{:else}
Expand All @@ -55,12 +55,12 @@
</div>
{/if}
{#if tabName === "Settings"}
<div in:blur out:slide>
<div transition:slide>
<Settings />
</div>
{/if}
{#if tabName === "About"}
<div in:blur out:slide>
<div transition:slide>
<About />
</div>
{/if}
Expand Down

0 comments on commit 1316c09

Please sign in to comment.