Skip to content

Commit a400729

Browse files
committed
fix(app): rename to eu and point to prod graphql
1 parent 8ff1ece commit a400729

File tree

16 files changed

+13
-13
lines changed

16 files changed

+13
-13
lines changed

app2/src/lib/components/layout/Sidebar/navigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const navigation: Array<NavSection> = [
101101
icon: EscherLogo,
102102
subroutes: [
103103
{
104-
path: "/udrop/claim",
104+
path: "/eudrop/claim",
105105
title: "eU claim",
106106
new: true,
107107
},

app2/src/lib/components/stake/BondComponent.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const isButtonDisabled = $derived(
148148
const QlpConfigProvider = pipe(
149149
ConfigProvider.fromMap(
150150
new Map([
151-
["GRAPHQL_ENDPOINT", "https://development.graphql.union.build/v1/graphql"],
151+
["GRAPHQL_ENDPOINT", "https://graphql.union.build/v1/graphql"],
152152
]),
153153
),
154154
Layer.setConfigProvider,

app2/src/lib/components/stake/UnbondComponent.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const isButtonDisabled = $derived(
139139
const QlpConfigProvider = pipe(
140140
ConfigProvider.fromMap(
141141
new Map([
142-
["GRAPHQL_ENDPOINT", "https://development.graphql.union.build/v1/graphql"],
142+
["GRAPHQL_ENDPOINT", "https://graphql.union.build/v1/graphql"],
143143
]),
144144
),
145145
Layer.setConfigProvider,
File renamed without changes.
File renamed without changes.

app2/src/routes/udrop/claim/+page.svelte renamed to app2/src/routes/eudrop/claim/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { goto } from "$app/navigation"
33
import { page } from "$app/state"
44
import StepperCard from "$lib/components/ui/StepperCard.svelte"
5-
import { EUDROP_ABI, EUDROP_CONTRACT_ADDRESS } from "$lib/constants/udrop.ts"
5+
import { EUDROP_ABI, EUDROP_CONTRACT_ADDRESS } from "$lib/constants/eudrop"
66
import { dashboard } from "$lib/dashboard/stores/user.svelte"
77
import { runPromiseExit$ } from "$lib/runtime"
88
import { Effect, Option } from "effect"
@@ -23,7 +23,7 @@ let isActive = $state<boolean>(false)
2323
let claim = $derived(Option.flatMap(dashboard.airdrop, (store) => store.claim))
2424
$effect(() => {
2525
if (currentSlide > 0 && Option.isNone(claim)) {
26-
goto("/udrop/claim?step=1")
26+
goto("/eudrop/claim?step=1")
2727
}
2828
})
2929
File renamed without changes.

app2/src/routes/udrop/claim/step/Step1.svelte renamed to app2/src/routes/eudrop/claim/step/Step1.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function handleLogin(provider: AuthProvider) {
6767
6868
runPromise(
6969
Effect.gen(function*() {
70-
yield* dashboard.login(provider.id, "/udrop/claim")
70+
yield* dashboard.login(provider.id, "/eudrop/claim")
7171
}).pipe(
7272
Effect.tap(() => Effect.sync(() => loading = false)),
7373
Effect.catchAll(() => Effect.sync(() => loading = false)),
@@ -263,9 +263,9 @@ function handleContinue() {
263263
<span></span>
264264
</div>
265265
<img
266-
src="/images/union-logo-glyph.svg"
266+
src="https://app.escher.finance/images/token/e-union.svg"
267267
alt="Union Logo"
268-
class="w-24 h-auto border border-zinc-700 bg-zinc-925 rounded-full p-4 pulse-logo relative z-50"
268+
class="w-24 h-auto border border-zinc-700 bg-zinc-925 rounded-full pulse-logo relative z-50"
269269
/>
270270
</div>
271271
{/snippet}
File renamed without changes.

app2/src/routes/udrop/claim/step/Step3.svelte renamed to app2/src/routes/eudrop/claim/step/Step3.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ let claim = $derived(
1818
1919
$effect(() => {
2020
if (Option.isNone(claim)) {
21-
window.location.href = "/udrop/claim?step=1"
21+
window.location.href = "/eudrop/claim?step=1"
2222
}
2323
})
2424

0 commit comments

Comments
 (0)