Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ Thumbs.db
# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
.wrangler
.wrangler

project.inlang/
46 changes: 36 additions & 10 deletions src/locales/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-21T07:48:36.657Z\n"
"PO-Revision-Date: 2025-11-15T23:29:18.536Z\n"
"PO-Revision-Date: 2025-11-26T05:26:09.364Z\n"
"Last-Translator: \n"
"Language: en\n"
"Language-Team: \n"
Expand Down Expand Up @@ -1062,9 +1062,8 @@ msgstr "Vote"
msgid "{0}/USD"
msgstr "{0}/USD"

#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "EOS rebrands to Vaulta"
msgstr "EOS rebrands to Vaulta"
#~ msgid "EOS rebrands to Vaulta"
#~ msgstr "EOS rebrands to Vaulta"

#: src/routes/[[locale]]/[network]/(explorer)/account/[name]/staked/+page.svelte
#: src/routes/[[locale]]/[network]/(homepage)/components/stakedhex.svelte
Expand Down Expand Up @@ -4294,17 +4293,13 @@ msgstr "<0>Unicove -</0> The {0} web wallet and block explorer"

#. placeholder {0}: network.chain.name
#. placeholder {0}: networkName
#. placeholder {0}: networkName
#: src/routes/+layout.server.ts
#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "Stake, Send, Manage Tokens, and Explore {0} – all with ease"
msgstr "Stake, Send, Manage Tokens, and Explore {0} – all with ease"

#. placeholder {0}: networkName
#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "<0>Unicove -</0> The {0} web wallet and block explorer."
msgstr "<0>Unicove -</0> The {0} web wallet and block explorer."
#~ msgid "<0>Unicove -</0> The {0} web wallet and block explorer."
#~ msgstr "<0>Unicove -</0> The {0} web wallet and block explorer."

#. placeholder {0}: productName
#: src/routes/[[locale]]/[network]/(homepage)/components/carousel.svelte
Expand Down Expand Up @@ -5732,3 +5727,34 @@ msgstr "MetaMask Wallet Plugin"

#~ msgid "Controls"
#~ msgstr "Controls"

#~ msgid "Get Started - Create Account"
#~ msgstr "Get Started - Create Account"

#~ msgid "Unicove Your Gateway To The Jungle 4 Network."
#~ msgstr "Unicove Your Gateway To The Jungle 4 Network."

#~ msgid "Create your account in minutes. Stake, swap, and manage your digital assets with complete control."
#~ msgstr "Create your account in minutes. Stake, swap, and manage your digital assets with complete control."

#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid ""
"Create your account in minutes. Stake, swap, and manage your digital assets with complete\n"
"control."
msgstr ""
"Create your account in minutes. Stake, swap, and manage your digital assets with complete\n"
"control."

#~ msgid "Unicove Your Gateway To The Vaulta Network."
#~ msgstr "Unicove Your Gateway To The Vaulta Network."

#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "Your Gateway To The Vaulta Network."
msgstr "Your Gateway To The Vaulta Network."

#~ msgid "Get started with an account\""
#~ msgstr "Get started with an account\""

#: src/routes/[[locale]]/[network]/(homepage)/components/get-started.svelte
msgid "Get started with an account"
msgstr "Get started with an account"
44 changes: 34 additions & 10 deletions src/locales/ko.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-21T07:48:36.663Z\n"
"PO-Revision-Date: 2025-11-15T23:29:18.569Z\n"
"PO-Revision-Date: 2025-11-26T05:26:09.370Z\n"
"Last-Translator: \n"
"Language: ko\n"
"Language-Team: \n"
Expand Down Expand Up @@ -1053,9 +1053,8 @@ msgstr ""
msgid "{0}/USD"
msgstr ""

#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "EOS rebrands to Vaulta"
msgstr ""
#~ msgid "EOS rebrands to Vaulta"
#~ msgstr ""

#: src/routes/[[locale]]/[network]/(explorer)/account/[name]/staked/+page.svelte
#: src/routes/[[locale]]/[network]/(homepage)/components/stakedhex.svelte
Expand Down Expand Up @@ -4204,17 +4203,13 @@ msgstr "<0>Unicove -</0> {0} 웹 지갑 및 블록 탐색기"

#. placeholder {0}: network.chain.name
#. placeholder {0}: networkName
#. placeholder {0}: networkName
#: src/routes/+layout.server.ts
#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "Stake, Send, Manage Tokens, and Explore {0} – all with ease"
msgstr "손쉽게 {0} 네트워크에서 스테이킹, 전송, 토큰 관리 및 탐색을 모두 즐기세요!"

#. placeholder {0}: networkName
#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "<0>Unicove -</0> The {0} web wallet and block explorer."
msgstr "<0>Unicove -</0> {0} 웹 지갑 및 블록 탐색기"
#~ msgid "<0>Unicove -</0> The {0} web wallet and block explorer."
#~ msgstr "<0>Unicove -</0> {0} 웹 지갑 및 블록 탐색기"

#. placeholder {0}: productName
#: src/routes/[[locale]]/[network]/(homepage)/components/carousel.svelte
Expand Down Expand Up @@ -5596,3 +5591,32 @@ msgstr ""

#~ msgid "Controls"
#~ msgstr ""

#~ msgid "Get Started - Create Account"
#~ msgstr ""

#~ msgid "Unicove Your Gateway To The Jungle 4 Network."
#~ msgstr ""

#~ msgid "Create your account in minutes. Stake, swap, and manage your digital assets with complete control."
#~ msgstr ""

#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid ""
"Create your account in minutes. Stake, swap, and manage your digital assets with complete\n"
"control."
msgstr ""

#~ msgid "Unicove Your Gateway To The Vaulta Network."
#~ msgstr ""

#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "Your Gateway To The Vaulta Network."
msgstr ""

#~ msgid "Get started with an account\""
#~ msgstr ""

#: src/routes/[[locale]]/[network]/(homepage)/components/get-started.svelte
msgid "Get started with an account"
msgstr ""
44 changes: 34 additions & 10 deletions src/locales/zh.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-21T07:48:36.665Z\n"
"PO-Revision-Date: 2025-11-15T23:29:18.572Z\n"
"PO-Revision-Date: 2025-11-26T05:26:09.375Z\n"
"Last-Translator: \n"
"Language: zh\n"
"Language-Team: \n"
Expand Down Expand Up @@ -1053,9 +1053,8 @@ msgstr ""
msgid "{0}/USD"
msgstr ""

#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "EOS rebrands to Vaulta"
msgstr ""
#~ msgid "EOS rebrands to Vaulta"
#~ msgstr ""

#: src/routes/[[locale]]/[network]/(explorer)/account/[name]/staked/+page.svelte
#: src/routes/[[locale]]/[network]/(homepage)/components/stakedhex.svelte
Expand Down Expand Up @@ -4204,17 +4203,13 @@ msgstr "<0>Unicove -</0> {0} 网页钱包与区块浏览器"

#. placeholder {0}: network.chain.name
#. placeholder {0}: networkName
#. placeholder {0}: networkName
#: src/routes/+layout.server.ts
#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "Stake, Send, Manage Tokens, and Explore {0} – all with ease"
msgstr "轻松质押,发送,管理代币和探索{0}网络"

#. placeholder {0}: networkName
#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "<0>Unicove -</0> The {0} web wallet and block explorer."
msgstr "<0>Unicove -</0> {0} 网页钱包与区块浏览器"
#~ msgid "<0>Unicove -</0> The {0} web wallet and block explorer."
#~ msgstr "<0>Unicove -</0> {0} 网页钱包与区块浏览器"

#. placeholder {0}: productName
#: src/routes/[[locale]]/[network]/(homepage)/components/carousel.svelte
Expand Down Expand Up @@ -5596,3 +5591,32 @@ msgstr ""

#~ msgid "Controls"
#~ msgstr ""

#~ msgid "Get Started - Create Account"
#~ msgstr ""

#~ msgid "Unicove Your Gateway To The Jungle 4 Network."
#~ msgstr ""

#~ msgid "Create your account in minutes. Stake, swap, and manage your digital assets with complete control."
#~ msgstr ""

#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid ""
"Create your account in minutes. Stake, swap, and manage your digital assets with complete\n"
"control."
msgstr ""

#~ msgid "Unicove Your Gateway To The Vaulta Network."
#~ msgstr ""

#: src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
msgid "Your Gateway To The Vaulta Network."
msgstr ""

#~ msgid "Get started with an account\""
#~ msgstr ""

#: src/routes/[[locale]]/[network]/(homepage)/components/get-started.svelte
msgid "Get started with an account"
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<script lang="ts">
import { getContext } from 'svelte';
import { goto } from '$app/navigation';
import type { UnicoveContext } from '$lib/state/client.svelte';
import type { LoginOptions } from '@wharfkit/session';
import { Button } from 'unicove-components';

const context = getContext<UnicoveContext>('state');
const urlPath = $derived(context.urlPath);

const TARGET_PLUGIN_ID = 'web-authenticator';

const pluginAvailable = $derived.by(() => {
const sessionKit = context.wharf.sessionKit;
if (sessionKit) {
return sessionKit.walletPlugins.some((wallet) => wallet.id === TARGET_PLUGIN_ID);
}
return true;
});

async function handleGetStarted() {
if (!context.wharf.sessionKit) {
return;
}

const webAuthenticatorPlugin = context.wharf.sessionKit.walletPlugins.find(
(wallet) => wallet.id === TARGET_PLUGIN_ID
);

if (!webAuthenticatorPlugin) {
console.error('Web Authenticator plugin not found');
return;
}

const options: LoginOptions = {
walletPlugin: webAuthenticatorPlugin.id,
chain: context.network.chain.id
};

try {
const session = await context.wharf.login(options);
goto(urlPath(`/account/${session.actor}`));
} catch (error) {
console.error('Failed to login with web authenticator:', error);
}
}
</script>

{#if pluginAvailable}
<Button variant="primary" class="w-full justify-center md:w-auto" onclick={handleGetStarted}
>Get started with an account</Button
>
{/if}
37 changes: 17 additions & 20 deletions src/routes/[[locale]]/[network]/(homepage)/components/hero.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import waxDark from '$lib/assets/hero/wax/dark.png?enhanced';
import UnicoveOutline from '$lib/assets/unicove-outline.svg';

import { Button } from 'unicove-components';
import { browser } from '$app/environment';
import GetStarted from './get-started.svelte';

interface Props {
networkName: string;
Expand All @@ -23,7 +23,7 @@

let darkMode = $state(browser && localStorage.getItem('color-scheme') === 'dark');

const logo = {
const logo: Record<string, string> = {
vaulta: vaultaLogo,
telos: telos,
jungle4: jungle4,
Expand Down Expand Up @@ -181,11 +181,13 @@
{#snippet vaulta()}
<section
id="hero"
class="@container col-span-full grid h-[70svh] max-h-156 place-content-center sm:pt-12 md:pt-0"
class="@container col-span-full grid min-h-[50svh] place-content-center gap-y-8 px-4 pt-8 sm:min-h-[40svh] sm:pt-12 md:grid-cols-2 md:items-center md:gap-y-0 md:px-0 md:pt-0"
>
<Stack class="relative grid justify-items-center gap-5 text-center">
<Stack
class="relative z-10 row-start-1 flex grid justify-items-center gap-5 justify-self-center text-center md:col-start-1"
>
<svg
class="z-50 mb-2 h-auto w-64"
class="z-50 mb-2 h-auto w-48 sm:w-64"
width="81"
height="33"
viewBox="0 0 81 33"
Expand All @@ -197,29 +199,24 @@
fill="currentColor"
/>
</svg>
</Stack>

<Stack
class="z-10 grid justify-items-center gap-4 text-center sm:gap-5 md:col-start-2 md:row-start-1 md:justify-items-start md:text-left"
>
<h1
class="font-sans-hero max-w-128 text-3xl leading-tight font-bold text-balance lg:text-4xl lg:leading-tight"
class="font-sans-hero max-w-128 text-2xl leading-tight font-bold text-balance sm:text-3xl sm:leading-tight lg:text-4xl lg:leading-tight"
>
<span class="">Unicove -</span>
The {networkName} web wallet and block explorer.
Your Gateway To The Vaulta Network.
</h1>
<p
class="text-muted mb-2 max-w-md rounded-lg text-xl leading-tight text-pretty lg:text-xl lg:leading-tight"
class="text-muted mb-2 max-w-md rounded-lg text-lg leading-tight text-pretty sm:text-xl sm:leading-tight lg:text-xl lg:leading-tight"
>
Stake, Send, Manage Tokens, and Explore {networkName} – all with ease
Create your account in minutes. Stake, swap, and manage your digital assets with complete
control.
</p>

<div class="grid gap-4">
<!-- <div class="grid gap-4 @2xl:grid-cols-2"> -->
<!-- <Button variant="primary">Create your Vaulta account</Button> -->
<Button

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming that it's fine to remove this button at this point.

@aaroncox aaroncox Nov 24, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think so

class="text-primary bg-surface-container-lowest/20 backdrop-blur"
href="https://www.vaulta.com/resources/opening-the-gateway-to-web3-banking"
>
EOS rebrands to Vaulta
</Button>
</div>
<GetStarted />
</Stack>
</section>
{/snippet}