diff --git a/src/assets/steps/lock_file_visual.png b/src/assets/steps/lock_file_visual.png new file mode 100644 index 0000000..96b2f7c Binary files /dev/null and b/src/assets/steps/lock_file_visual.png differ diff --git a/src/assets/steps/lock_visual.png b/src/assets/steps/lock_visual.png new file mode 100644 index 0000000..457c378 Binary files /dev/null and b/src/assets/steps/lock_visual.png differ diff --git a/src/assets/telegram_visual.png b/src/assets/steps/send_visual.png similarity index 100% rename from src/assets/telegram_visual.png rename to src/assets/steps/send_visual.png diff --git a/src/components/navBar/NavBar.tsx b/src/components/navBar/NavBar.tsx index f3f9e9b..e662dd4 100644 --- a/src/components/navBar/NavBar.tsx +++ b/src/components/navBar/NavBar.tsx @@ -62,7 +62,7 @@ export function NavBar() { -
+
)} - + ); } diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index f881fa0..7ed80fa 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -14,8 +14,7 @@ const buttonVariants = cva( white: 'hover:bg-grey-400 bg-white text-black', danger: 'bg-[#BF3131] text-white hover:bg-[#BF3131]/40', outline: 'border-grey-50 border hover:bg-white/10 hover:text-white', - discreet_outline: - 'border-grey-600 hover:bg-grey-800 border hover:text-white', + discreet_outline: 'border-grey-600 hover:bg-grey-800 border text-white', chip: 'from-grey-500 hover:before:bg-background relative z-0 overflow-hidden bg-gradient-to-b to-transparent before:absolute before:inset-px before:-z-10 before:rounded-[29px] before:bg-[#14141a] before:duration-300', text: '', }, diff --git a/src/layouts/MainLayout.tsx b/src/layouts/MainLayout.tsx index e129b52..c673933 100644 --- a/src/layouts/MainLayout.tsx +++ b/src/layouts/MainLayout.tsx @@ -14,9 +14,9 @@ export default function MainLayout() { return (
-
+
-
+
{!isConnected ? : }
diff --git a/src/modules/myData/protectedData/GrantAccessModal.tsx b/src/modules/myData/protectedData/GrantAccessModal.tsx index 8bf80e5..06397bb 100644 --- a/src/modules/myData/protectedData/GrantAccessModal.tsx +++ b/src/modules/myData/protectedData/GrantAccessModal.tsx @@ -204,6 +204,17 @@ export default function GrantAccessModal({ )} )} +
+ + +
dataprotector-sdk / Method called:{' '} -
- - -
diff --git a/src/modules/myData/protectedData/ProtectedDataDetails.tsx b/src/modules/myData/protectedData/ProtectedDataDetails.tsx index 93fd823..282089d 100644 --- a/src/modules/myData/protectedData/ProtectedDataDetails.tsx +++ b/src/modules/myData/protectedData/ProtectedDataDetails.tsx @@ -15,7 +15,7 @@ export function ProtectedDataDetails({
-
+
@@ -39,7 +39,7 @@ export function ProtectedDataDetails({
-
+
@@ -63,7 +63,7 @@ export function ProtectedDataDetails({
-
+
diff --git a/src/router.tsx b/src/router.tsx index 221d968..cccdc2c 100644 --- a/src/router.tsx +++ b/src/router.tsx @@ -45,6 +45,6 @@ export const router = createBrowserRouter( }, ], { - basename: '/web3messaging', // Remplacez '/votre-basepath' par le chemin de base souhaité + basename: '/web3messaging', } ); diff --git a/src/views/contact/contactList.tsx b/src/views/contact/contactList.tsx index 342fb14..a1eecd5 100644 --- a/src/views/contact/contactList.tsx +++ b/src/views/contact/contactList.tsx @@ -154,7 +154,7 @@ export default function ContactList() {

Send Message to contact

Email or telegram contact info

-
+
{Object.keys(COLOR_CLASSES).map((key) => { return (
-
-
+
+
User address
-
+
Number of Access
{!grantedAccess.data || grantedAccess.data?.length === 0 ? ( @@ -194,7 +194,7 @@ export default function ProtectedData() { )}
- diff --git a/src/views/myData/protectedDataList.tsx b/src/views/myData/protectedDataList.tsx index ca76b21..eccbc95 100644 --- a/src/views/myData/protectedDataList.tsx +++ b/src/views/myData/protectedDataList.tsx @@ -122,7 +122,7 @@ export default function ProtectedDataList() { chunkArray(getProtectedDataByType(selectedTab) || [], itemsPerPage); return ( -
+

Protect a new data

@@ -162,7 +162,7 @@ export default function ProtectedDataList() { authorize, and revoke access.

-
+
{Object.keys(COLOR_CLASSES).map((key) => { return (
-
-

{step.title}

- {currentStep === index &&
{step.content}
} -
- {currentStep === index && currentStep > 0 && ( - - )} - {currentStep === index && currentStep !== steps.length - 1 && ( - - )} -
+ +
+ + {currentStep === index && <>{step.content}}
))} diff --git a/src/views/resources/steps.tsx b/src/views/resources/steps.tsx index 4b66120..6c9fbdd 100644 --- a/src/views/resources/steps.tsx +++ b/src/views/resources/steps.tsx @@ -5,7 +5,9 @@ export const steps = [ title: 'Create a protected data', content: ( <> - Type: Telegram +

+ Type: Telegram +

dataprotector-sdk / Method called:{' '} - OR -
- Type: Mail +

+ Or type: Mail +

dataprotector-sdk / Method called:{' '}
- Send a message with granted access wallet -
- Type : Telegram +

Send a message with granted access wallet

+

+ Type: Telegram +

web3telegram / Method called:{' '}
- OR -
- Type : Mail +

+ Or type: Mail +

web3mail / Method called:{' '}
{ const env = loadEnv(mode, process.cwd(), ''); - // In prod, app will be served under `demo.iex.ec/web3messaging` path - const basePath = - env.SET_SUBPATH_FOR_PROD === 'true' ? '/web3messaging' : '/'; - console.log('[vite] Building with base path:', basePath); return { - base: basePath, + base: "/web3messaging", define: { 'process.env.NEXT_PUBLIC_SECURE_SITE_ORIGIN': JSON.stringify( env.NEXT_PUBLIC_SECURE_SITE_ORIGIN || 'https://secure.walletconnect.org'