diff --git a/src/modules/market/components/LoadingErrorState.vue b/src/modules/market/components/LoadingErrorState.vue new file mode 100644 index 0000000..8652e8f --- /dev/null +++ b/src/modules/market/components/LoadingErrorState.vue @@ -0,0 +1,134 @@ + + + + + + + + {{ loadingMessage || 'Loading...' }} + + + + + + + + + + + + + + + {{ errorTitle || 'Error' }} + + + {{ errorMessage || 'Something went wrong' }} + + + + + {{ retryLabel || 'Try Again' }} + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/modules/market/components/MarketSearchBar.vue b/src/modules/market/components/MarketSearchBar.vue new file mode 100644 index 0000000..8c80f22 --- /dev/null +++ b/src/modules/market/components/MarketSearchBar.vue @@ -0,0 +1,372 @@ + + + + + + + + + + + + + + + ⌘ K + + + + + + Clear search + + + + + + + + + {{ resultCount }} result{{ resultCount === 1 ? '' : 's' }} found + + + + In: + + {{ category }} + + + + + + + + + + + {{ resultCount }} result{{ resultCount === 1 ? '' : 's' }} found + + + + + + + \ No newline at end of file diff --git a/src/modules/market/components/MerchantStore.vue b/src/modules/market/components/MerchantStore.vue index 6e4d84d..0dd0811 100644 --- a/src/modules/market/components/MerchantStore.vue +++ b/src/modules/market/components/MerchantStore.vue @@ -1,28 +1,16 @@ - - - - - - Checking Merchant Status - Loading your merchant profile... - - - - - - - - Error Loading Merchant Status - {{ merchantCheckError }} - - Try Again - - - + - + @@ -325,6 +313,9 @@ @created="onProductCreated" @updated="onProductUpdated" /> + + +
+ {{ loadingMessage || 'Loading...' }} +
+ {{ errorMessage || 'Something went wrong' }} +
Loading your merchant profile...
{{ merchantCheckError }}