diff --git a/src/routes/(app)/database/summons/[id]/+page.svelte b/src/routes/(app)/database/summons/[id]/+page.svelte index 684dab1b..67a6e2b8 100644 --- a/src/routes/(app)/database/summons/[id]/+page.svelte +++ b/src/routes/(app)/database/summons/[id]/+page.svelte @@ -1,27 +1,33 @@ -
+
{#if summon} -
- + +
+ + + + - - - - {#if flb} - - {/if} - {#if ulb} - - {/if} - {#if transcendence} - - {/if} - + {#if editMode} + + + + + + + + - - - - {#if flb} - - {/if} - {#if ulb} - - {/if} - {#if transcendence} - - {/if} - - - - - {#if summon.uncap} - - + - + {#if editData.flb} + + {/if} + {#if editData.ulb} + + {/if} + {#if editData.transcendence} + + {/if} + + + + + + + + {/if} - -
-

Call Effect

-
- {#if summon.callName || summon.callDescription} -
-

{summon.callName || 'Call Effect'}

-

- {summon.callDescription || 'No description available'} -

+ {#if !editMode} +
+

Call Effect

+
+ {#if summon.callName || summon.callDescription} +
+

{summon.callName || 'Call Effect'}

+

+ {summon.callDescription || 'No description available'} +

+
+ {:else} +

No call effect information available

+ {/if}
- {:else} -

No call effect information available

- {/if} -
-

Aura Effect

-
- {#if summon.auraName || summon.auraDescription} -
-

{summon.auraName || 'Aura Effect'}

-

- {summon.auraDescription || 'No description available'} -

+

Aura Effect

+
+ {#if summon.auraName || summon.auraDescription} +
+

{summon.auraName || 'Aura Effect'}

+

+ {summon.auraDescription || 'No description available'} +

+
+ {:else} +

No aura effect information available

+ {/if}
- {:else} -

No aura effect information available

- {/if} -
- {#if summon.subAuraName || summon.subAuraDescription} -

Sub Aura Effect

-
-
-

{summon.subAuraName || 'Sub Aura Effect'}

-

- {summon.subAuraDescription || 'No description available'} -

-
+ {#if summon.subAuraName || summon.subAuraDescription} +

Sub Aura Effect

+
+
+

{summon.subAuraName || 'Sub Aura Effect'}

+

+ {summon.subAuraDescription || 'No description available'} +

+
+
+ {/if}
{/if} -
-
+
+
{:else}

Summon Not Found

@@ -160,35 +397,6 @@ @use '$src/themes/spacing' as spacing; @use '$src/themes/typography' as typography; - .summon-detail { - padding: spacing.$unit-2x 0; - } - - .page-header { - margin-bottom: spacing.$unit-2x; - - .back-button { - background: #f8f9fa; - border: 1px solid #dee2e6; - padding: spacing.$unit-half spacing.$unit; - border-radius: 4px; - cursor: pointer; - font-size: typography.$font-small; - margin-bottom: spacing.$unit; - transition: all 0.2s; - - &:hover { - background: #e9ecef; - } - } - - h1 { - font-size: typography.$font-xxlarge; - font-weight: typography.$bold; - margin: 0; - } - } - .not-found { text-align: center; padding: spacing.$unit * 4; @@ -208,11 +416,9 @@ } } - .summon-content { - background: white; - border-radius: 8px; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - overflow: hidden; + .details { + display: flex; + flex-direction: column; } .summon-abilities {