From f81c8468a7b13cd816dbb3a2f3035a5e0af7d527 Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 4 Dec 2023 17:56:51 -0800 Subject: [PATCH] emergency end of day commit --- frontend/components/ConvoPlaceholder.vue | 32 ++++++--- frontend/components/SendBox/SendBox.vue | 2 +- frontend/components/ThreadList/ThreadList.vue | 67 +++++++++++++------ .../ThreadPreview/ThreadPreview.vue | 21 +----- .../WebTextingContainer.vue | 26 +++---- .../components/conversation/Conversation.vue | 19 +++--- .../new-thread-modal/NewThreadModal.vue | 26 +++++++ frontend/routes/index.ts | 8 +++ newthread.php | 6 ++ 9 files changed, 135 insertions(+), 72 deletions(-) create mode 100644 frontend/components/new-thread-modal/NewThreadModal.vue create mode 100644 newthread.php diff --git a/frontend/components/ConvoPlaceholder.vue b/frontend/components/ConvoPlaceholder.vue index 162215b..2325c10 100644 --- a/frontend/components/ConvoPlaceholder.vue +++ b/frontend/components/ConvoPlaceholder.vue @@ -1,29 +1,41 @@ \ No newline at end of file diff --git a/frontend/components/conversation/Conversation.vue b/frontend/components/conversation/Conversation.vue index 727b6bf..22cd387 100644 --- a/frontend/components/conversation/Conversation.vue +++ b/frontend/components/conversation/Conversation.vue @@ -391,9 +391,7 @@ export default { .messages { height: 80vh; margin: 0 auto; - border-left: solid #5f9fd3 2px; - border-right: solid #5f9fd3 2px; - border-bottom: solid #5f9fd3 2px; + border-bottom-left-radius: 0.5em; border-bottom-right-radius: 0.5em; padding-left: 0.5em; @@ -405,14 +403,12 @@ export default { } .thread-header { - box-shadow: 0 4px 2px -2px gray; - margin: 0 auto; + box-shadow: 0 4px 4px -2px white; + margin: 0 auto 3px auto; padding: 1em; background-color: #5f9fd3; color: #fff; - border-top-left-radius: 0.5em; - border-top-right-radius: 0.5em; - border-bottom: solid grey 2px; + font-weight: bold; } @@ -467,6 +463,13 @@ table { width: 100%; table-layout: fixed; } +.thread-container{ + border: solid #5f9fd3 2px; + border-bottom-left-radius: 0.5em; + border-bottom-right-radius: 0.5em; + border-top-left-radius: 0.5em; + border-top-right-radius: 0.5em; +} @media screen and (width >700px) { .back-link { diff --git a/frontend/components/new-thread-modal/NewThreadModal.vue b/frontend/components/new-thread-modal/NewThreadModal.vue new file mode 100644 index 0000000..3ec9bc5 --- /dev/null +++ b/frontend/components/new-thread-modal/NewThreadModal.vue @@ -0,0 +1,26 @@ + + + + + \ No newline at end of file diff --git a/frontend/routes/index.ts b/frontend/routes/index.ts index 3288d5a..b056baa 100644 --- a/frontend/routes/index.ts +++ b/frontend/routes/index.ts @@ -26,6 +26,14 @@ export const router = createRouter({ rightSide: ConversationVue } }, + { + path:'/createthread.php', + components:{ + leftSide: ThreadList, + rightSide: ConvoPlaceholderVue, + } + + }, ] } diff --git a/newthread.php b/newthread.php new file mode 100644 index 0000000..7150198 --- /dev/null +++ b/newthread.php @@ -0,0 +1,6 @@ + \ No newline at end of file