1313 < h2 class ="header-title "> AI DOM Editor</ h2 >
1414 < div class ="header-actions ">
1515 < button class ="tool-btn " id ="clearChatBtn " title ="Clear conversation ">
16- < svg width ="18 " height ="18 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 ">
17- < polyline points ="3 6 5 6 21 6 "> </ polyline >
18- < path d ="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2 "> </ path >
19- </ svg >
16+ < i data-feather ="trash-2 " width ="18 " height ="18 "> </ i >
2017 </ button >
2118 < button class ="tool-btn " id ="headerSettingsBtn " title ="Settings ">
22- < svg width ="18 " height ="18 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 ">
23- < circle cx ="12 " cy ="12 " r ="3 "> </ circle >
24- < path d ="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 8 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 5 15.4a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 8a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.6a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09A1.65 1.65 0 0 0 16 4.6a1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9c.22.36.34.78.34 1.21s-.12.85-.34 1.21z "> </ path >
25- </ svg >
19+ < i data-feather ="settings " width ="18 " height ="18 "> </ i >
2620 </ button >
2721 < button class ="close-btn " id ="closeBtn " title ="Close AI Editor ">
28- < svg width ="18 " height ="18 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 ">
29- < line x1 ="18 " y1 ="6 " x2 ="6 " y2 ="18 "> </ line >
30- < line x1 ="6 " y1 ="6 " x2 ="18 " y2 ="18 "> </ line >
31- </ svg >
22+ < i data-feather ="x " width ="18 " height ="18 "> </ i >
3223 </ button >
3324 </ div >
3425 </ div >
3526
3627 <!-- Configuration Banner (shown if API not configured) -->
3728 < div class ="config-banner " id ="configBanner " style ="display: none; ">
3829 < div class ="banner-content ">
39- < svg width ="20 " height ="20 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 ">
40- < circle cx ="12 " cy ="12 " r ="10 "> </ circle >
41- < line x1 ="12 " y1 ="8 " x2 ="12 " y2 ="12 "> </ line >
42- < line x1 ="12 " y1 ="16 " x2 ="12.01 " y2 ="16 "> </ line >
43- </ svg >
30+ < i data-feather ="alert-circle " width ="20 " height ="20 "> </ i >
4431 < span > API not configured. Please configure your AI provider in settings.</ span >
4532 </ div >
4633 < button class ="btn-primary " id ="openSettingsBtn "> Configure</ button >
@@ -50,10 +37,7 @@ <h2 class="header-title">AI DOM Editor</h2>
5037 < div class ="chat-container " id ="chatContainer ">
5138 < div class ="welcome-message " id ="welcomeMessage ">
5239 < div class ="welcome-icon ">
53- < svg width ="48 " height ="48 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 ">
54- < path d ="M12 2L2 7l10 5 10-5-10-5z "> </ path >
55- < path d ="M2 17l10 5 10-5M2 12l10 5 10-5 "> </ path >
56- </ svg >
40+ < i data-feather ="layers " width ="48 " height ="48 "> </ i >
5741 </ div >
5842 < h2 > Ai Editor</ h2 >
5943 < p > Whats your idea?</ p >
@@ -68,9 +52,7 @@ <h2>Ai Editor</h2>
6852
6953 <!-- Element Selector Indicator -->
7054 < div class ="selector-active " id ="selectorActive " style ="display: none; ">
71- < svg width ="16 " height ="16 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 ">
72- < path d ="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z "> </ path >
73- </ svg >
55+ < i data-feather ="target " width ="16 " height ="16 "> </ i >
7456 < span > Click an element on the page</ span >
7557 < button class ="btn-text " id ="cancelSelector "> Cancel</ button >
7658 </ div >
@@ -84,20 +66,15 @@ <h2>Ai Editor</h2>
8466 </ div >
8567 < div class ="input-wrapper ">
8668 < button class ="tool-btn " id ="elementSelectorBtn " title ="Select element on page ">
87- < svg width ="18 " height ="18 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 ">
88- < path d ="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z "> </ path >
89- </ svg >
69+ < i data-feather ="target " width ="18 " height ="18 "> </ i >
9070 </ button >
9171 < textarea
9272 id ="userInput "
9373 placeholder ="Describe what you want to change on this page... "
9474 rows ="1 "
9575 > </ textarea >
9676 < button class ="send-btn " id ="sendBtn " disabled >
97- < svg width ="20 " height ="20 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 ">
98- < line x1 ="22 " y1 ="2 " x2 ="11 " y2 ="13 "> </ line >
99- < polygon points ="22 2 15 22 11 13 2 9 22 2 "> </ polygon >
100- </ svg >
77+ < i data-feather ="send " width ="20 " height ="20 "> </ i >
10178 </ button >
10279 </ div >
10380 </ div >
0 commit comments