Skip to content

Commit

Permalink
chore: cleanup and update icons (#2945)
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az authored Sep 12, 2024
2 parents f40fa35 + 7b9fad7 commit 38cfe9f
Show file tree
Hide file tree
Showing 9 changed files with 454 additions and 706 deletions.
2 changes: 1 addition & 1 deletion app/app.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
packages = {
app = unstablePkgs.buildNpmPackage {
npmDepsHash = "sha256-/K7Qkq4pjeyrFETev1xIaGK0x2A1k+YZDR0na/32FOo=";
npmDepsHash = "sha256-edh9+hs4uXoXk96Trb2MHbTNNnk89Ocwc0Nqdk3lQoo=";
src = ./.;
sourceRoot = "app";
npmFlags = [ "--legacy-peer-deps" "--ignore-scripts" ];
Expand Down
1,089 changes: 395 additions & 694 deletions app/package-lock.json

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"mode-watcher": "^0.4.1",
"paneforge": "^0.0.5",
"svelte-persisted-store": "^0.11.0",
"svelte-preprocess-react": "^0.17.1",
"svelte-radix": "^1.1.1",
"svelte-sonner": "^0.3.27",
"svelte-ux": "^0.74.7",
Expand Down Expand Up @@ -68,15 +67,12 @@
"@types/postcss-import": "^14.0.3",
"@types/three": "^0.168.0",
"autoprefixer": "^10.4.20",
"buffer": "^6.0.3",
"clsx": "^2.1.1",
"fluid-tailwind": "^1.0.3",
"graphql": "^16.9.0",
"jsr": "^0.13.1",
"patch-package": "^8.0.0",
"postcss": "^8.4.45",
"postcss-import": "^16.1.0",
"process": "^0.11.10",
"rollup-plugin-visualizer": "^5.12.0",
"svelte": "^4.2.19",
"svelte-check": "^4.0.1",
Expand Down Expand Up @@ -106,6 +102,8 @@
"isarray": "npm:@nolyfill/isarray@^1",
"json-stable-stringify": "npm:@nolyfill/json-stable-stringify@^1",
"which-typed-array": "npm:@nolyfill/which-typed-array@^1",
"is-core-module": "npm:@nolyfill/is-core-module@^1"
"is-core-module": "npm:@nolyfill/is-core-module@^1",
"assert": "npm:@nolyfill/assert@^1",
"side-channel": "npm:@nolyfill/side-channel@^1"
}
}
2 changes: 1 addition & 1 deletion app/src/lib/components/header/header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import { routes } from "$lib/components/navigation/index.ts"
draft
? "hidden"
: [
"h-10",
"h-9",
currentRoute
? "bg-foreground text-primary-foreground !hover:bg-foreground !hover:text-primary-foreground"
: "",
Expand Down
1 change: 1 addition & 0 deletions app/src/lib/polyfill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ if (browser) {
window.EventEmitter = EventEmitter
}

// @ts-expect-error
BigInt["prototype"].toJSON = function () {
return this.toString()
}
4 changes: 2 additions & 2 deletions app/src/lib/wallet/cosmos/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const cosmosWalletsInformation = [
{
id: "leap",
name: "leap",
icon: "https://assets.leapwallet.io/logos/leap-cosmos-logo.svg",
icon: "/images/icons/leap.svg",
/**
* reference links:
* - leap deep link generator: https://developers.leapwallet.io/deeplink-generator
Expand All @@ -29,7 +29,7 @@ export const cosmosWalletsInformation = [
{
id: "keplr",
name: "keplr",
icon: "https://assets-global.website-files.com/63eb7ddf41cf5b1c8fdfbc74/63fc1eaf76d6a3bd547b017c_Keplr_icon_ver.1.3_2.svg",
icon: "/images/icons/keplr.svg",
deepLink:
"https://deeplink.keplr.app?url=app.union.build#Intent;package=com.chainapsis.keplr;scheme=keplrwallet;end;",
download: "https://keplr.app/download"
Expand Down
30 changes: 30 additions & 0 deletions app/static/images/icons/keplr.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions app/static/images/icons/leap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions app/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import path from "node:path"
import { sveltePreprocess } from "svelte-preprocess"
import adapterStatic from "@sveltejs/adapter-static"
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"
import svelteReactPreprocess from "svelte-preprocess-react/preprocessReact"

/** @type {import('@sveltejs/kit').Config} */
export default {
Expand All @@ -13,8 +12,7 @@ export default {
postcss: {
configFilePath: "./postcss.config.cjs"
}
}),
svelteReactPreprocess()
})
],
vitePlugin: {
experimental: {},
Expand Down

0 comments on commit 38cfe9f

Please sign in to comment.