From 008f87059857c80364739a008e7e6cc0c4a562bc Mon Sep 17 00:00:00 2001
From: Arthur Geron <3487334+arthurgeron@users.noreply.github.com>
Date: Tue, 10 Dec 2024 04:02:42 -0300
Subject: [PATCH] revert: previous path changes
---
packages/app/e2e.html | 12 ++++++------
packages/app/index.html | 2 +-
packages/app/popup.html | 2 +-
packages/app/public/browserconfig.xml | 2 +-
.../src/systems/Core/components/Layout/Layout.tsx | 2 +-
.../components/PinWalletText/PinWalletText.tsx | 4 ++--
packages/app/vite-utils/vite.base.config.ts | 3 +++
packages/app/vite.config.ts | 1 -
packages/app/vite.crx.config.ts | 1 -
packages/e2e-contract-tests/index.html | 2 +-
10 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/packages/app/e2e.html b/packages/app/e2e.html
index 59646946c..b0446600a 100644
--- a/packages/app/e2e.html
+++ b/packages/app/e2e.html
@@ -2,12 +2,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/packages/app/index.html b/packages/app/index.html
index 3ee816508..df2b6d2f9 100644
--- a/packages/app/index.html
+++ b/packages/app/index.html
@@ -2,7 +2,7 @@
-
+
Fuels Wallet
diff --git a/packages/app/popup.html b/packages/app/popup.html
index 992aa7a0f..bf70292b9 100644
--- a/packages/app/popup.html
+++ b/packages/app/popup.html
@@ -2,7 +2,7 @@
-
+
Fuels Wallet
diff --git a/packages/app/public/browserconfig.xml b/packages/app/public/browserconfig.xml
index 552abba39..c76c07c4a 100644
--- a/packages/app/public/browserconfig.xml
+++ b/packages/app/public/browserconfig.xml
@@ -2,7 +2,7 @@
-
+
#333333
diff --git a/packages/app/src/systems/Core/components/Layout/Layout.tsx b/packages/app/src/systems/Core/components/Layout/Layout.tsx
index 83919dcd7..1f95d9f72 100644
--- a/packages/app/src/systems/Core/components/Layout/Layout.tsx
+++ b/packages/app/src/systems/Core/components/Layout/Layout.tsx
@@ -191,7 +191,7 @@ export const styles = {
bottom: 0,
width: '100%',
height: '100vh',
- background: 'url(/public/signup.png?url)',
+ background: 'url(/signup.png)',
backgroundPosition: 'left',
backgroundSize: 'cover',
},
diff --git a/packages/app/src/systems/SignUp/components/PinWalletText/PinWalletText.tsx b/packages/app/src/systems/SignUp/components/PinWalletText/PinWalletText.tsx
index 71cb4762e..22a61982b 100644
--- a/packages/app/src/systems/SignUp/components/PinWalletText/PinWalletText.tsx
+++ b/packages/app/src/systems/SignUp/components/PinWalletText/PinWalletText.tsx
@@ -5,9 +5,9 @@ export function PinWalletText() {
return (
Click the extension button in the browser menu.
-
+
Find Fuel Wallet in the list and click pin.
-
+
);
}
diff --git a/packages/app/vite-utils/vite.base.config.ts b/packages/app/vite-utils/vite.base.config.ts
index 69d6badff..28f6cbd46 100644
--- a/packages/app/vite-utils/vite.base.config.ts
+++ b/packages/app/vite-utils/vite.base.config.ts
@@ -45,6 +45,9 @@ const baseConfig: UserConfig = {
server: {
port: Number(process.env.PORT),
strictPort: true,
+ // proxy: {
+ // '/public': 'http://localhost:3000',
+ // }
watch: {
ignored: ['**/playwright*/**'], // Ignore changes in any 'playwright' folder
},
diff --git a/packages/app/vite.config.ts b/packages/app/vite.config.ts
index 3a5426ba4..2b0418ae2 100644
--- a/packages/app/vite.config.ts
+++ b/packages/app/vite.config.ts
@@ -8,7 +8,6 @@ import baseConfig from './vite-utils/vite.base.config';
// https://vitejs.dev/config/
export default defineConfig({
...baseConfig,
- publicDir: 'public',
plugins: [
...baseConfig.plugins,
viteStaticCopy({
diff --git a/packages/app/vite.crx.config.ts b/packages/app/vite.crx.config.ts
index f5dd91acf..2a4a419b4 100644
--- a/packages/app/vite.crx.config.ts
+++ b/packages/app/vite.crx.config.ts
@@ -13,7 +13,6 @@ const APP_VERSION_POSTFIX = process.env.APP_VERSION_POSTFIX || '';
export default defineConfig({
...baseConfig,
base: '/',
- publicDir: 'public',
build: {
...baseConfig.build,
outDir: OUT_DIR,
diff --git a/packages/e2e-contract-tests/index.html b/packages/e2e-contract-tests/index.html
index fce7767fc..c7e749320 100644
--- a/packages/e2e-contract-tests/index.html
+++ b/packages/e2e-contract-tests/index.html
@@ -2,7 +2,7 @@
-
+
E2E Test Dapp