mirror of
https://github.com/coracle-social/flotilla.git
synced 2025-12-10 10:57:04 +00:00
Redirect harder, use platform logo as favicon
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
<link rel="icon" href={import.meta.env.PLATFORM_LOGO} />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
%sveltekit.head%
|
%sveltekit.head%
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -22,41 +22,43 @@
|
|||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="hero min-h-screen">
|
{#if !PLATFORM_RELAY}
|
||||||
<div class="hero-content">
|
<div class="hero min-h-screen">
|
||||||
<div class="column content gap-4">
|
<div class="hero-content">
|
||||||
<h1 class="text-center text-5xl">Welcome to</h1>
|
<div class="column content gap-4">
|
||||||
<h1 class="mb-4 text-center text-5xl font-bold uppercase">{PLATFORM_NAME}</h1>
|
<h1 class="text-center text-5xl">Welcome to</h1>
|
||||||
<div class="grid gap-3 lg:grid-cols-2">
|
<h1 class="mb-4 text-center text-5xl font-bold uppercase">{PLATFORM_NAME}</h1>
|
||||||
<Button on:click={addSpace}>
|
<div class="grid gap-3 lg:grid-cols-2">
|
||||||
<CardButton>
|
<Button on:click={addSpace}>
|
||||||
<div slot="icon"><Icon icon="add-circle" size={7} /></div>
|
<CardButton>
|
||||||
<div slot="title">Add a space</div>
|
<div slot="icon"><Icon icon="add-circle" size={7} /></div>
|
||||||
<div slot="info">Use an invite link, or create your own space.</div>
|
<div slot="title">Add a space</div>
|
||||||
</CardButton>
|
<div slot="info">Use an invite link, or create your own space.</div>
|
||||||
</Button>
|
</CardButton>
|
||||||
<Link href="/discover">
|
</Button>
|
||||||
<CardButton>
|
<Link href="/discover">
|
||||||
<div slot="icon"><Icon icon="compass-big" size={7} /></div>
|
<CardButton>
|
||||||
<div slot="title">Discover spaces</div>
|
<div slot="icon"><Icon icon="compass-big" size={7} /></div>
|
||||||
<div slot="info">Find a community based on your hobbies or interests.</div>
|
<div slot="title">Discover spaces</div>
|
||||||
</CardButton>
|
<div slot="info">Find a community based on your hobbies or interests.</div>
|
||||||
</Link>
|
</CardButton>
|
||||||
<Link href="/people">
|
</Link>
|
||||||
<CardButton>
|
<Link href="/people">
|
||||||
<div slot="icon"><Icon icon="plain" size={7} /></div>
|
<CardButton>
|
||||||
<div slot="title">Browse the network</div>
|
<div slot="icon"><Icon icon="plain" size={7} /></div>
|
||||||
<div slot="info">Find your people on the nostr network</div>
|
<div slot="title">Browse the network</div>
|
||||||
</CardButton>
|
<div slot="info">Find your people on the nostr network</div>
|
||||||
</Link>
|
</CardButton>
|
||||||
<Button on:click={startChat}>
|
</Link>
|
||||||
<CardButton>
|
<Button on:click={startChat}>
|
||||||
<div slot="icon"><Icon icon="hand-pills" size={7} /></div>
|
<CardButton>
|
||||||
<div slot="title">Start a conversation</div>
|
<div slot="icon"><Icon icon="hand-pills" size={7} /></div>
|
||||||
<div slot="info">Use nostr's encrypted group chats to stay in touch</div>
|
<div slot="title">Start a conversation</div>
|
||||||
</CardButton>
|
<div slot="info">Use nostr's encrypted group chats to stay in touch</div>
|
||||||
</Button>
|
</CardButton>
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user