diff --git a/src/lib/components/organisms/Footer.svelte b/src/lib/components/organisms/Footer.svelte
index 1fa0972e..a5b27963 100644
--- a/src/lib/components/organisms/Footer.svelte
+++ b/src/lib/components/organisms/Footer.svelte
@@ -15,7 +15,8 @@
{ label: 'Tokens', href: '/tokens' },
{ label: 'Compare apps', href: '/compare' },
{ label: 'Coming from v1?', href: '/welcome-back' },
- { label: 'LangX Token', href: 'https://token.langx.io' }
+ { label: 'LangX Token', href: 'https://token.langx.io' },
+ { label: 'LangX Copilot', href: 'https://copilot.langx.io' }
]
},
{
diff --git a/src/lib/components/organisms/Header.svelte b/src/lib/components/organisms/Header.svelte
index 1651bfd7..e4386f49 100644
--- a/src/lib/components/organisms/Header.svelte
+++ b/src/lib/components/organisms/Header.svelte
@@ -4,6 +4,7 @@
import { beforeNavigate } from '$app/navigation';
import Logo from '$lib/components/atoms/Logo.svelte';
import Button from '$lib/components/atoms/Button.svelte';
+ import UiIcon from '$lib/components/atoms/UiIcon.svelte';
import ThemeToggle from '$lib/components/molecules/ThemeToggle.svelte';
import { ctaSettled, heroOwnsPrimary, primaryCtaInView } from '$lib/stores/cta';
import { hueFor } from '$lib/data/hues';
@@ -21,13 +22,17 @@
const hue = $derived(hueProp ?? (page.data?.hue as Hue | undefined) ?? hueFor(page.url.pathname));
// Search brings most visitors to the plans, the comparisons, the tools and
- // the blog, so those are here; everything else is in the footer.
+ // the blog, so those are here; everything else is in the footer. The last
+ // two are the sister sites, which each link back here: they open in a new
+ // tab and carry the arrow, so nobody mistakes them for a page of this one.
const links = [
{ href: '/#echo', label: 'Echo' },
{ href: '/plans', label: 'Plans' },
{ href: '/compare', label: 'Compare' },
{ href: '/tools', label: 'Tools' },
- { href: '/blog', label: 'Blog' }
+ { href: '/blog', label: 'Blog' },
+ { href: 'https://token.langx.io', label: 'Token', external: true },
+ { href: 'https://copilot.langx.io', label: 'Copilot', external: true }
];
// The section you are in, marked in both the bar and the phone menu. Echo
@@ -57,6 +62,16 @@
});
+{#snippet navLink(link: (typeof links)[number])}
+ {#if link.external}
+ {link.label}
+ {:else}
+ {link.label}
+ {/if}
+{/snippet}
+
{#snippet download()}