From e6f4702bc17adc4e7b218f69ae0dbb9c20f3f136 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz <43585069+Sharqiewicz@users.noreply.github.com> Date: Thu, 31 Oct 2024 22:54:42 +0100 Subject: [PATCH] add missing command to generate netlify redirects * use favicon.ico * remove collator.ts - it is not used --- README.md | 1 - collator.ts | 228 --------------------------------------------------- favicon.png | Bin 5545 -> 0 bytes index.html | 2 +- package.json | 3 +- 5 files changed, 3 insertions(+), 231 deletions(-) delete mode 100644 collator.ts delete mode 100755 favicon.png diff --git a/README.md b/README.md index fb30aa39..e7ec83a3 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,6 @@ Builds the app for production to the `dist` folder.\ It transpiles TypeScript, bundles React in production mode, splits and optimizes the builds for the best performance. The build is minified and the filenames include the hashes.\ -We call on `version.cjs` to show the commit version on the sidebar.\ We also create a file, on the fly, a file named `_redirects` that will serve the index.html instead of giving a 404 no matter what URL the browser requests. diff --git a/collator.ts b/collator.ts deleted file mode 100644 index 06411261..00000000 --- a/collator.ts +++ /dev/null @@ -1,228 +0,0 @@ -const dummy_bonded = [ - { - bonded: '171,511.528', - symbol: 'AMPE', - delegations: '54', - apr: '13.94%', - name: 'Masternode24.de', - }, - { - bonded: '172,653.3155', - symbol: 'AMPE', - delegations: '46', - apr: '13.75%', - name: 'ALFASTAKE', - }, - { - bonded: '175,978.65', - symbol: 'AMPE', - delegations: '35', - apr: '13.7%', - name: 'BerryStake', - }, - { - bonded: '178,943.337', - symbol: 'AMPE', - delegations: '13', - apr: '13.65%', - name: 'BIFROST SEED 2', - }, - { - bonded: '178,545.504', - symbol: 'AMPE', - delegations: '23', - apr: '13.62%', - name: 'Staking4All', - }, - { - bonded: '173,533.2727', - symbol: 'AMPE', - delegations: '37', - apr: '13.61%', - name: 'ilgio', - }, - { - bonded: '182,136.8549', - symbol: 'AMPE', - delegations: '22', - apr: '13.47%', - name: 'BIFROST SEED 4', - }, - { - bonded: '173,088', - symbol: 'AMPE', - delegations: '25', - apr: '13.4%', - name: 'Sio34', - }, - { - bonded: '166,546.4693', - symbol: 'AMPE', - delegations: '42', - apr: '13.37%', - name: 'TheMilkyWayGang', - }, - { - bonded: '179,649.4158', - symbol: 'AMPE', - delegations: '20', - apr: '13.36%', - name: 'Jsquare F', - }, - { - bonded: '176,962', - symbol: 'AMPE', - delegations: '20', - apr: '13.25%', - name: 'Mitch-Wariner', - }, - { - bonded: '176,277.6512', - symbol: 'AMPE', - delegations: '37', - apr: '13.19%', - name: 'Stake.Works | ', - }, - { - bonded: '177,708.2163', - symbol: 'AMPE', - delegations: '56', - apr: '13.16%', - name: 'STAKELY', - }, - { - bonded: '168,868.3868', - symbol: 'AMPE', - delegations: '36', - apr: '13.16%', - name: 'ANAMIX-BIFROST', - }, - { - bonded: '173,308.4282', - symbol: 'AMPE', - delegations: '60', - apr: '13%', - name: 'StakeBaby.com | DVN', - }, - { - bonded: '179,334.6444', - symbol: 'AMPE', - delegations: '54', - apr: '13%', - name: 'redpenguin', - }, - { - bonded: '171,886.4763', - symbol: 'AMPE', - delegations: '25', - apr: '12.96%', - name: 'Jsquare A', - }, - { - bonded: '178,551.4737', - symbol: 'AMPE', - delegations: '23', - apr: '12.82%', - name: 'Jsquare C', - }, - { - bonded: '181,881.4454', - symbol: 'AMPE', - delegations: '31', - apr: '12.8%', - name: 'BIFROST SEED 3', - }, - { - bonded: '189,681.0166', - symbol: 'AMPE', - delegations: '46', - apr: '12.78%', - name: 'HIRISH', - }, - { - bonded: '178,730.8424', - symbol: 'AMPE', - delegations: '60', - apr: '12.52%', - name: 'Sik | crifferent.de', - }, - { - bonded: '180,232.6499', - symbol: 'AMPE', - delegations: '45', - apr: '12.48%', - name: 'POLSKADOT | RelaySSL', - }, - { - bonded: '186,118.5537', - symbol: 'AMPE', - delegations: '65', - apr: '12.44%', - name: 'Polkadotters', - }, - { - bonded: '185,288.3077', - symbol: 'AMPE', - delegations: '70', - apr: '12.42%', - name: 'Jsquare B', - }, - { - bonded: '185,703', - symbol: 'AMPE', - delegations: '12', - apr: '12.41%', - name: 'BIFROST SEED 1', - }, - { - bonded: '195,559', - symbol: 'AMPE', - delegations: '32', - apr: '12.4%', - name: 'Jsquare E', - }, - { - bonded: '190,982', - symbol: 'AMPE', - delegations: '10', - apr: '12.38%', - name: 'Iceberg Nodes', - }, - { - bonded: '179,099.39', - symbol: 'AMPE', - delegations: '40', - apr: '12.26%', - name: 'Jsquare D', - }, - { - bonded: '187,006', - symbol: 'AMPE', - delegations: '25', - apr: '12.16%', - name: 'pathrocknetwork', - }, - { - bonded: '187,993.7', - symbol: 'AMPE', - delegations: '22', - apr: '12.03%', - name: 'ryabina', - }, - { - bonded: '185,794.8187', - symbol: 'AMPE', - delegations: '57', - apr: '11.91%', - name: 'Moonbridge', - }, - { - bonded: '208,258.3616', - symbol: 'AMPE', - delegations: '16', - apr: '11.35%', - name: 'AlexPromoTeam-Ambassador', - }, -]; - -export default dummy_bonded; diff --git a/favicon.png b/favicon.png deleted file mode 100755 index 2591c5f0e0946f39734bcc2f83fa031182328c73..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5545 zcmeHL`#;m||Gze4D|6VbaL-|~=)_v3lFC*>5+&{^&8Z{8iXo>>Ipi>hN+Ciy<`6P! zk(FY1Cz)ezhe;pNighOw)4rGP`}=)7zJJ5_`@{Qjy>=a5*Xw#+uj}=EzLs#%-dbrX zeklMz$!71KLjWLHiyuY-_7t{pnqjkqzV}EV0E)jYeh9%}loWvFt~PsiIfdqY8GLz8 ztG6d^q`hQ^h75Dr;ee$x`Yjz5LsVTBofZ8TPBW3`fkG$p#=$|u;!MqCAqFQVOvhbF zf2R0$oD+OcQs(t%(H%pL)MpD{!e#W3kX3-XLsmlqz~d4Ctb7arn8g1V{&hlB9SMxP z9&sYt+$m{p?l*b)*cV~60KImaCP%NUEhVkYwZWGR_shZzCl;dff>%u#E=XqnY_L4M|c3{C!89=B<9df715Q(}sOWuT&|v$kUj2Qx(vS?Rt|55iV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O z9OAsqCG6hJAMqf^b1A=|u3ffXWM(#V4yNoLOYp!Nm|iWm_5biO&DlBl3Mo`#EJQm} ze|F*BM%Qyhi2d@26f%;&lJtC3Rj#vsNH^(Y2+;W?y`@cP1_iW!a)wDmbkcnC_@SP=qWP z+xRg>j|bV3(cn#j-`wedvoxUkJ0wqMX{-Xs1gR%btR{ZIn?z}o+!!Q2kX~VNU{SH# z2P^WYezXt?d0!BbZ?DHwMgZS*Ybt9E5`c^P0O+m$NAUR4$_09BA-Q_P1-9jO-=1?7 z7Js^Z(4~)y?c^-6J9*3D;e#~S9=g;=UXbg909Xo1mjgr~ zfaI~eh!7+1pzZp9pm?xshqW73#Ycn$br@hRSS`E?eZFUkK#u|9k{)sh>dQ*I$|OKf z1$4tNnCzpy=a8GXGl4q>#KY`V;Atlx35)V91`g;FLC#UX>~%J5hK`PlZzd717mi{D zsBx6eR0Ur#Z2Yb$P5^YH%{j;a^E-08&GE4XL^B3_+^7^CIocj6V;x6P6*ekH|H@&! z=6@?Tt!tK>uTGaUbcVkk5nS8G)KfuG<6!Yy+H^pcdu~nmcFw%?-KQldV%Fqiivp3v z9}jj+-tS*Sz%%tWC4-F+7F@o3$Nkan&UN@p - + Pendulum Chain Portal diff --git a/package.json b/package.json index b63f5d1d..0136cbe5 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "packageManager": "yarn@4.4.1", "scripts": { "dev": "vite", - "build": "tsc && vite build", + "build": "tsc && vite build && yarn generate-netlify-redirects", + "generate-netlify-redirects": "echo '/* /index.html 200' > dist/_redirects", "preview": "vite preview", "lint": "eslint . --ext .ts,.tsx", "lint:fix": "eslint . --ext .ts,.tsx --fix",