File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- <!DOCTYPE html>
1+ <!doctype html>
22< html lang ="en ">
33 < head >
44 < meta charset ="UTF-8 " />
2121 < button id ="mic-btn " class ="control-btn " disabled >
2222 🎤 < span id ="mic-status "> Mic is Off</ span >
2323 </ button >
24+ < button id ="upload-btn " class ="control-btn "> Upload File</ button >
2425 < button id ="connect-btn " class ="connect-btn "> Connect</ button >
2526 </ div >
2627 </ div >
@@ -53,6 +54,38 @@ <h3>Events</h3>
5354 </ div >
5455 </ div >
5556
57+ < div id ="upload-modal " class ="modal ">
58+ < div class ="modal-content ">
59+ < span class ="close-btn "> ×</ span >
60+ < h2 > Upload Content</ h2 >
61+ < div class ="upload-tabs ">
62+ < button class ="tab-link active " data-tab ="file-tab ">
63+ Upload File
64+ </ button >
65+ < button class ="tab-link " data-tab ="url-tab "> From URL</ button >
66+ </ div >
67+
68+ < div id ="file-tab " class ="tab-content active ">
69+ < p > Select a file from your computer.</ p >
70+ < input type ="file " id ="file-input " />
71+ </ div >
72+
73+ < div id ="url-tab " class ="tab-content ">
74+ < p > Enter the URL of an image or document.</ p >
75+ < input
76+ type ="url "
77+ id ="url-input "
78+ placeholder ="https://example.com/image.png " />
79+ </ div >
80+
81+ < textarea
82+ id ="file-prompt "
83+ rows ="4 "
84+ placeholder ="Enter a prompt or description for the content... "> </ textarea >
85+ < button id ="upload-confirm-btn "> Upload</ button >
86+ </ div >
87+ </ div >
88+
5689 < script type ="module " src ="/src/app.js "> </ script >
5790 < link rel ="stylesheet " href ="/src/style.css " />
5891 </ body >
You can’t perform that action at this time.
0 commit comments