diff --git a/static/components/user-chat/user-chat.html b/static/components/user-chat/user-chat.html new file mode 100644 index 0000000..d8844d2 --- /dev/null +++ b/static/components/user-chat/user-chat.html @@ -0,0 +1,8 @@ + +
+
+ User Chat +
+
+ +
\ No newline at end of file diff --git a/static/components/user-chat/user-chat.js b/static/components/user-chat/user-chat.js new file mode 100644 index 0000000..250ca0b --- /dev/null +++ b/static/components/user-chat/user-chat.js @@ -0,0 +1,19 @@ +async function userChat(path) { + const template = await loadTemplateAsync(path) + Vue.component('user-chat', { + name: 'user-chat', + props: ['user',], + template, + + data: function () { + return { + } + }, + methods: { + + }, + created: async function () { + + } + }) +} diff --git a/static/components/user-config/user-config.html b/static/components/user-config/user-config.html index eef5707..50da910 100644 --- a/static/components/user-config/user-config.html +++ b/static/components/user-config/user-config.html @@ -1,7 +1,7 @@
- xxxx + User Config
diff --git a/static/js/market.js b/static/js/market.js index 2fc2f5a..2a4a67e 100644 --- a/static/js/market.js +++ b/static/js/market.js @@ -36,7 +36,8 @@ const market = async () => { customerOrders('static/components/customer-orders/customer-orders.html'), chatDialog('static/components/chat-dialog/chat-dialog.html'), marketConfig('static/components/market-config/market-config.html'), - userConfig('static/components/user-config/user-config.html') + userConfig('static/components/user-config/user-config.html'), + userChat('static/components/user-chat/user-chat.html') ]) new Vue({ diff --git a/templates/nostrmarket/market.html b/templates/nostrmarket/market.html index 52b81df..b49b7e8 100644 --- a/templates/nostrmarket/market.html +++ b/templates/nostrmarket/market.html @@ -182,7 +182,8 @@ User Login - Chat + Chat Orders + @@ -221,7 +223,8 @@ - + + @@ -339,6 +342,7 @@ +