Compare commits

..

No commits in common. '4239ca7d6705c27303162ea4056479ee0c2d8cfd' and '446b98db2060d5763a1486a568e59ce266a4502a' have entirely different histories.

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

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

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

@ -6,10 +6,6 @@
export let data: PageData export let data: PageData
</script> </script>
<svelte:head>
<link rel="canonical" href="https://app.kon.sh/signup" />
</svelte:head>
<div <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"> 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"> <div class="absolute right-4 top-4 md:right-8 md:top-8">
@ -18,7 +14,7 @@
<div <div
class="bg-primary-foreground relative hidden h-full flex-col p-10 text-white dark:border-r lg:flex"> class="bg-primary-foreground relative hidden h-full flex-col p-10 text-white dark:border-r lg:flex">
<a href="/"> <a href="/">
<img src="/logo.png" alt="logo" class="h-12" /> <img src="/logo.png" alt="" class="h-12" />
</a> </a>
</div> </div>
<div class="p-8"> <div class="p-8">

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

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

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

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