Skip to content

Commit 14e9f89

Browse files
Update OGLayout.svelte
1 parent d711aa8 commit 14e9f89

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

src/frontend/src/routes/og/OGLayout.svelte

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
subtitle,
1111
footerTags = ['End-to-end encryption', 'Auto-expiring links', 'Zero-knowledge']
1212
} = $props<{
13-
domain?: string | null;
13+
domain?: string;
1414
label: string;
1515
title: string;
1616
subtitle: string;
@@ -34,17 +34,14 @@
3434
<div
3535
class="absolute -right-50 -bottom-50 flex h-150 w-150 rounded-full bg-[rgba(214,16,179,0.15)] blur-[120px]"
3636
></div>
37-
38-
{#if displayDomain}
39-
<div class="absolute left-24 right-24 top-10 z-10 flex">
40-
<div
41-
class={`flex items-center text-[20px] font-semibold text-[#e5e7eb] ${domainAlignClass}`}
42-
dir={direction}
43-
>
44-
{displayDomain}
45-
</div>
37+
<div class="absolute top-10 right-24 left-24 z-10 flex">
38+
<div
39+
class={`flex items-center text-[20px] font-semibold text-[#e5e7eb] ${domainAlignClass}`}
40+
dir={direction}
41+
>
42+
{displayDomain}
4643
</div>
47-
{/if}
44+
</div>
4845

4946
<!-- Main Content Row -->
5047
<div class="relative z-10 flex flex-row items-center">

0 commit comments

Comments
 (0)