Compare commits

...

2 Commits

@ -84,8 +84,6 @@
isLoadingQrModal = false
}
const hostDomain = 'https://' + shortener.link.split('/')[2]
const shortenerUrl = shortener.project?.enable_custom_domain
? shortener.project.custom_domain || shortener_url
: shortener_url
@ -96,7 +94,8 @@
<Card.Title class="flex items-center justify-between gap-4">
<Avatar.Root class="overflow-visible">
<Avatar.Image
src={hostDomain + '/favicon.ico'}
src={'https://www.google.com/s2/favicons?sz=128&domain_url=' +
shortener.link}
alt="favicon" />
<Avatar.Fallback class="bg-opacity-0">
<img src="/favicon.png" alt="favicon" />

@ -69,8 +69,6 @@
isLoadingQrModal = false
}
const hostDomain = 'https://' + shortener.link.split('/')[2]
const shortenerUrl = selected_project.enable_custom_domain
? selected_project.custom_domain || shortener_url
: shortener_url
@ -81,7 +79,8 @@
<Card.Title class="flex items-center justify-between gap-4">
<Avatar.Root class="overflow-visible">
<Avatar.Image
src={hostDomain + '/favicon.ico'}
src={'https://www.google.com/s2/favicons?sz=128&domain_url=' +
shortener.link}
alt="favicon" />
<Avatar.Fallback class="bg-opacity-0">
<img src="/favicon.png" alt="favicon" />

@ -27,7 +27,7 @@
<div
class="bg-primary-foreground relative hidden h-full flex-col p-10 text-white dark:border-r lg:flex">
<a href="/">
<img src="/logo.png" alt="" class="h-12" />
<img src="/logo.png" alt="logo" class="h-12" />
</a>
</div>
<div class="p-8">

@ -6,6 +6,10 @@
export let data: PageData
</script>
<svelte:head>
<link rel="canonical" href="https://app.kon.sh/signup" />
</svelte:head>
<div
class="container relative h-screen flex-col items-center justify-center md:grid lg:max-w-none lg:grid-cols-2 lg:px-0">
<div class="absolute right-4 top-4 md:right-8 md:top-8">
@ -14,7 +18,7 @@
<div
class="bg-primary-foreground relative hidden h-full flex-col p-10 text-white dark:border-r lg:flex">
<a href="/">
<img src="/logo.png" alt="" class="h-12" />
<img src="/logo.png" alt="logo" class="h-12" />
</a>
</div>
<div class="p-8">

@ -15,7 +15,7 @@
<div class="flex h-screen w-screen flex-col items-center">
<header class="grid w-full max-w-6xl grid-cols-3 px-8 py-4">
<div class="flex items-center justify-start gap-4">
<img src="/logo.png" alt="" class="h-8" />
<img src="/logo.png" alt="logo" class="h-8" />
<div>kon.sh</div>
</div>
<div class="grid grid-cols-4 items-center">

@ -0,0 +1,6 @@
import { redirect } from '@sveltejs/kit'
import type { PageServerLoad } from './$types'
export const load = (async () => {
redirect(302, '/')
}) satisfies PageServerLoad

@ -15,7 +15,11 @@
<meta
name="description"
content="Kon.sh URL shortener - free, open source link shortener with analytics, custom qr code and custom name. Bitly/tiny url alternative" />
<meta property="og:image" content="/logo.png" />
<meta property="og:title" content="Kon.sh" />
<meta
property="og:description"
content="Kon.sh URL shortener - free, open source link shortener with analytics, custom qr code and custom name. Bitly/tiny url alternative" />
<meta property="og:image" content="/og.png" />
</svelte:head>
<ModeWatcher />

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

@ -0,0 +1 @@
google-site-verification: googled263903462c1d2c5.html
Loading…
Cancel
Save