diff --git a/components/AppModal.vue b/components/AppModal.vue index f7ac5b72..03cc0249 100644 --- a/components/AppModal.vue +++ b/components/AppModal.vue @@ -71,10 +71,12 @@ onUnmounted(() => { :data-template="modal?.template" @on-backdrop-click="closeModal" > - +
+ +
diff --git a/components/ProfileCard.vue b/components/ProfileCard.vue index 9fa77d75..b6e13c9c 100644 --- a/components/ProfileCard.vue +++ b/components/ProfileCard.vue @@ -56,7 +56,7 @@ const hasFollowButton = computed( :background-url="profileBackground?.url" is-full-width shadow="small" - :border-radius="isMobile ? 'none' : 'medium'" + :border-radius="isMobile ? 'none' : 'small'" class="-mx-4 -mt-6 w-screen sm:mx-0 sm:mt-0 sm:w-full" >
diff --git a/components/__tests__/__snapshots__/ProfileCard.spec.ts.snap b/components/__tests__/__snapshots__/ProfileCard.spec.ts.snap index ee82d56a..e0577c60 100644 --- a/components/__tests__/__snapshots__/ProfileCard.spec.ts.snap +++ b/components/__tests__/__snapshots__/ProfileCard.spec.ts.snap @@ -3,7 +3,7 @@ exports[`ProfileCard > should render empty profile 1`] = ` "
- +
@@ -61,7 +61,7 @@ exports[`ProfileCard > should render empty profile 1`] = ` exports[`ProfileCard > should render followed by info 1`] = ` "
- +
@@ -140,7 +140,7 @@ exports[`ProfileCard > should render followed by info 1`] = ` exports[`ProfileCard > should render profile when connected 1`] = ` "
- +
@@ -219,7 +219,7 @@ exports[`ProfileCard > should render profile when connected 1`] = ` exports[`ProfileCard > should render profile when not connected 1`] = ` "
- +
@@ -298,7 +298,7 @@ exports[`ProfileCard > should render profile when not connected 1`] = ` exports[`ProfileCard > should render unfollow button 1`] = ` "
- +
diff --git a/composables/web3-provider/useBaseProvider.ts b/composables/web3-provider/useBaseProvider.ts index 4878c3f5..e6fba96e 100644 --- a/composables/web3-provider/useBaseProvider.ts +++ b/composables/web3-provider/useBaseProvider.ts @@ -17,6 +17,7 @@ const disconnect = () => { const { removeItem } = useLocalStorage() const { connectedProfileAddress, isWalletConnect, walletConnectProvider } = storeToRefs(useAppStore()) + const { isEditingGrid } = storeToRefs(useGridStore()) // disconnect WalletConnect if (isWalletConnect.value) { @@ -24,8 +25,12 @@ const disconnect = () => { isWalletConnect.value = false } + // reset connected profile address connectedProfileAddress.value = undefined + // remove connection expiry removeItem(STORAGE_KEY.CONNECTION_EXPIRY) + // exit edit mode for grid + isEditingGrid.value = false } /** diff --git a/domains/grid/components/AddWidgetSelection.vue b/domains/grid/components/AddWidgetSelection.vue index b541e2ec..2198cb9a 100644 --- a/domains/grid/components/AddWidgetSelection.vue +++ b/domains/grid/components/AddWidgetSelection.vue @@ -41,181 +41,193 @@ const handleSelectWidget = (widgetType: GridWidgetType) => {
- -
-
- {{ formatMessage('add_widget_section_custom') }} -
-
- - -
+ +
+
+ {{ formatMessage('add_widget_section_website') }} +
+
+ + - -
- +
+ +
+ +
+
- - -
+
+
+ {{ formatMessage('add_widget_section_custom') }} +
+
+ + - -
- +
+ +
+ - - -
+ - -
-
-
- +
+ +
+
+
+ - -
-
- {{ formatMessage('add_widget_section_video') }} -
-
- - - Youtube - -
-
+ +
+
+ {{ formatMessage('add_widget_section_video') }} +
+
+ + + Youtube + +
+
- -
-
- {{ formatMessage('add_widget_section_music') }} -
-
- - - Spotify - + +
+
+ {{ formatMessage('add_widget_section_music') }} +
+
+ + + Spotify + - - - Sound Cloud - -
-
+ + + Sound Cloud + +
+
- -
-
- {{ formatMessage('add_widget_section_social') }} -
-
- - - X - + +
+
+ {{ formatMessage('add_widget_section_social') }} +
+
+ + + X + - - - Warpcast - + + + Warpcast + - - - Warpcast - -
-
+ + + Warpcast + +
+
+
diff --git a/domains/grid/components/GridWidget.vue b/domains/grid/components/GridWidget.vue index 91f4cbe5..bc42f854 100644 --- a/domains/grid/components/GridWidget.vue +++ b/domains/grid/components/GridWidget.vue @@ -166,9 +166,9 @@ onMounted(() => {