diff --git a/web-wallet/CHANGELOG.md b/web-wallet/CHANGELOG.md index 8aa457b63c..e92f89112d 100644 --- a/web-wallet/CHANGELOG.md +++ b/web-wallet/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Add possibility to serve the web wallet from a sub folder [#1362] + ### Changed - Refactor beta notice as constant [#1469] @@ -138,6 +142,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#1469]: https://github.com/dusk-network/rusk/issues/1469 [#1470]: https://github.com/dusk-network/rusk/issues/1470 [#1471]: https://github.com/dusk-network/rusk/issues/1471 +[#1362]: https://github.com/dusk-network/rusk/issues/1362 [Unreleased]: https://github.com/dusk-network/rusk/tree/master/web-wallet diff --git a/web-wallet/README.md b/web-wallet/README.md index 1c4a749d54..77cb060c37 100644 --- a/web-wallet/README.md +++ b/web-wallet/README.md @@ -30,6 +30,8 @@ The application defines these variables by reading a local `.env` file containin N.B. the current `0.1.2` version of the library has no option to pick the network and uses the `LOCAL_NODE` only. The current testnet address is set in that variable in the example below: ``` +# can be empty string, must start with a slash otherwise, must not end with a slash +VITE_BASE_PATH="" VITE_CONTRACT_STAKE_DISABLED=false VITE_CONTRACT_TRANSFER_DISABLED=false VITE_CURRENT_NODE=${VITE_LOCAL_NODE} @@ -68,4 +70,4 @@ To run a local node different steps are needed, so please read the [related sect ## Running a local Rusk node -To run a local node, follow the instructions outlined in the [Rusk's readme](https://github.com/dusk-network/rusk). \ No newline at end of file +To run a local node, follow the instructions outlined in the [Rusk's readme](https://github.com/dusk-network/rusk). diff --git a/web-wallet/src/lib/components/AppAnchor/AppAnchor.svelte b/web-wallet/src/lib/components/AppAnchor/AppAnchor.svelte new file mode 100644 index 0000000000..ec34dbd65b --- /dev/null +++ b/web-wallet/src/lib/components/AppAnchor/AppAnchor.svelte @@ -0,0 +1,17 @@ + + + + + + + diff --git a/web-wallet/src/lib/components/AppAnchorButton/AppAnchorButton.svelte b/web-wallet/src/lib/components/AppAnchorButton/AppAnchorButton.svelte new file mode 100644 index 0000000000..58cb058ec8 --- /dev/null +++ b/web-wallet/src/lib/components/AppAnchorButton/AppAnchorButton.svelte @@ -0,0 +1,15 @@ + + + + + diff --git a/web-wallet/src/lib/components/ExistingWalletNotice/ExistingWalletNotice.svelte b/web-wallet/src/lib/components/ExistingWalletNotice/ExistingWalletNotice.svelte index 9caaf7c936..5a68144f94 100644 --- a/web-wallet/src/lib/components/ExistingWalletNotice/ExistingWalletNotice.svelte +++ b/web-wallet/src/lib/components/ExistingWalletNotice/ExistingWalletNotice.svelte @@ -1,9 +1,6 @@