Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 40 additions & 42 deletions src/lib/layout/footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,52 +54,30 @@
</Button.Anchor>
</Layout.Stack>
</Layout.Stack>
{#if isCloud && $isSmallViewport}
<div class="extra-margin">
<Layout.Stack direction="row" justifyContent={'flex-start'} alignItems="center">
{#if $version}
{#if isCloud}
<Icon size="s" icon={IconCloud} />
{/if}
<Link.Anchor
size="s"
variant="quiet"
href="https://github.com/appwrite/appwrite/releases"
aria-label="Appwrite releases on Github"
target="_blank"
rel="noreferrer">
Version {$version}
</Link.Anchor>
<span class="divider-wrapper">
<Divider vertical />
</span>
{/if}
<Badge size="xs" variant="secondary" content="BETA" />
</Layout.Stack>
</div>
{/if}
<Layout.Stack
direction="row"
justifyContent={$isSmallViewport ? 'flex-start' : 'flex-end'}
alignItems="center">
{#if isCloud}
{#if !$isSmallViewport}<Badge size="xs" variant="secondary" content="BETA" /><Icon
alignItems="center"
wrap="wrap">
{#if !$isSmallViewport}
{#if isCloud}
<Badge size="xs" variant="secondary" content="BETA" />
<Icon size="s" icon={IconCloud} />
{/if}

{#if $version}
<Link.Anchor
size="s"
icon={IconCloud} />
{#if $version}
<Link.Anchor
size="s"
variant="quiet"
href="https://github.com/appwrite/appwrite/releases"
aria-label="Appwrite releases on Github"
target="_blank"
rel="noreferrer">
Version {$version}
</Link.Anchor>
<span class="divider-wrapper">
<Divider vertical />
</span>
{/if}
variant="quiet"
href="https://github.com/appwrite/appwrite/releases"
aria-label="Appwrite releases on Github"
target="_blank"
rel="noreferrer">
Version {$version}
</Link.Anchor>
<span class="divider-wrapper">
<Divider vertical />
</span>
{/if}
{/if}
Copy link
Preview

Copilot AI Jul 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This closing {/if} statement appears to be misplaced or unmatched. Based on the diff context, it should correspond to the {#if !$isSmallViewport} condition that opens at line 85, but the indentation and logical flow suggest a structural issue in the conditional blocks.

Copilot uses AI. Check for mistakes.


Expand Down Expand Up @@ -146,6 +124,26 @@
Cookies
</Link.Anchor>
{/if}
{#if $isSmallViewport}
{#if $version}
<span class="divider-wrapper">
<Divider vertical />
</span>
<Link.Anchor
size="s"
variant="quiet"
href="https://github.com/appwrite/appwrite/releases"
aria-label="Appwrite releases on Github"
target="_blank"
rel="noreferrer">
Version {$version}
</Link.Anchor>
{#if isCloud}
<Icon size="s" icon={IconCloud} />
<Badge size="xs" variant="secondary" content="BETA" />
{/if}
{/if}
{/if}
</Layout.Stack>
</Layout.Stack>
</footer>
Expand Down
Loading