diff --git a/frontend/src/components/pages/main/ChannelTopBar.svelte b/frontend/src/components/pages/main/ChannelTopBar.svelte new file mode 100644 index 0000000..58cc462 --- /dev/null +++ b/frontend/src/components/pages/main/ChannelTopBar.svelte @@ -0,0 +1,26 @@ + + + + +
+ + { channel.name } +
diff --git a/frontend/src/components/pages/main/ChannelView.svelte b/frontend/src/components/pages/main/ChannelView.svelte index 1a66ef8..6a22db9 100644 --- a/frontend/src/components/pages/main/ChannelView.svelte +++ b/frontend/src/components/pages/main/ChannelView.svelte @@ -1,48 +1,9 @@
-
- - { channel.name } -
+ -
- -
+
diff --git a/frontend/src/components/pages/main/MessageInput.svelte b/frontend/src/components/pages/main/MessageInput.svelte new file mode 100644 index 0000000..bad452f --- /dev/null +++ b/frontend/src/components/pages/main/MessageInput.svelte @@ -0,0 +1,71 @@ + + + + +
+ +
diff --git a/frontend/src/main.js b/frontend/src/main.js index 497d2b6..5f0c8a7 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -1,7 +1,6 @@ import App from './components/App.svelte'; import gateway from './gateway'; -import request from './request'; -import { apiRoute, initStorageDefaults } from './storage'; +import { initStorageDefaults } from './storage'; initStorageDefaults(); gateway.init();