diff --git a/components/DataTableMyRelays/DataTableMyRelays.vue b/components/DataTableMyRelays/DataTableMyRelays.vue index 0867c8f..05b957c 100755 --- a/components/DataTableMyRelays/DataTableMyRelays.vue +++ b/components/DataTableMyRelays/DataTableMyRelays.vue @@ -7,6 +7,7 @@ import { type RelayRow, type RelayTabType } from '@/types/relay'; import { RELAY_COLUMS, TABS, VERBS } from '@/constants/relay'; import { useMetricsStore } from '@/stores/useMetricsStore'; import { useFacilitatorStore } from '@/stores/useFacilitatorStore'; +import FingerprintDisplay from './FingerprintDisplay.vue'; import Tabs from '../ui-kit/Tabs.vue'; import Tooltip from '../ui-kit/Tooltip.vue'; diff --git a/components/DataTableMyRelays/DataTableMyRelaysMobile.vue b/components/DataTableMyRelays/DataTableMyRelaysMobile.vue new file mode 100644 index 0000000..73408f3 --- /dev/null +++ b/components/DataTableMyRelays/DataTableMyRelaysMobile.vue @@ -0,0 +1,582 @@ + + + + + diff --git a/components/DataTableMyRelays/FingerprintDisplay.vue b/components/DataTableMyRelays/FingerprintDisplay.vue new file mode 100644 index 0000000..a2e339e --- /dev/null +++ b/components/DataTableMyRelays/FingerprintDisplay.vue @@ -0,0 +1,51 @@ + + + + + + diff --git a/nuxt.config.ts b/nuxt.config.ts index 3cfc48a..5ade907 100755 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -67,7 +67,7 @@ export default defineNuxtConfig({ supportWalletPublicKeyBase64: 'K3jnSGVyHj4kSzgce3+k8gJsfHvUoQeJMNPO8CcsO2s=', commitHash: process.env.NUXT_PUBLIC_COMMIT_HASH || 'dev', - version: '1.0.8', + version: '1.0.9', }, }, plugins: [{ src: '~/plugins/vue-query.client.ts', mode: 'client' }], diff --git a/pages/relays.vue b/pages/relays.vue index ad4c30e..5aab377 100755 --- a/pages/relays.vue +++ b/pages/relays.vue @@ -3,7 +3,10 @@
- +

Relays

@@ -15,16 +18,33 @@ />
- + +
+ +
-

+

Register Fingerprint

-

Note: this is for you to register a relay for someone else.

+

+ Note: this is for you to register a relay for someone else. +

- + Cancel - + Register
@@ -68,6 +98,7 @@ import { ref, onMounted, watch } from 'vue'; import { useUserStore } from '@/stores/useUserStore'; import DashboardMobileSection from '@/components/DashboardMobileSection.vue'; import DataTableMyRelays from '@/components/DataTableMyRelays/DataTableMyRelays.vue'; +import DataTableMyRelaysMobile from '@/components/DataTableMyRelays/DataTableMyRelaysMobile.vue'; import { initRegistrator, useRegistrator } from '@/composables/registrator'; import { initDistribution, useDistribution } from '@/composables/distribution'; import { initRelayRegistry } from '@/composables/relay-registry'; @@ -124,7 +155,10 @@ const handleLockRemote = async () => { try { const register = useRegistrator(); - const success = await register?.lock(fingerPrintRegister.value, ethAddress.value); + const success = await register?.lock( + fingerPrintRegister.value, + ethAddress.value + ); if (success != null && typeof success != typeof Error) { registerModalOpen.value = false; } else { @@ -134,4 +168,4 @@ const handleLockRemote = async () => { // handle error } }; - \ No newline at end of file +