-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (80 loc) · 1.94 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; style-src 'self' 'unsafe-inline';"
/>
<title>Multi-LLM Interface</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
justify-content: flex-end;
height: 100vh;
margin: 0;
background-color: black;
}
#prompt-area {
display: flex;
background-color: #f0f0f0;
height: 200px;
}
#prompt-input {
padding: 10px;
font-size: 30px;
font-family: "Times New Roman", Times, serif;
line-height: 1.5;
width: 90%;
height: 98%;
}
#button-container {
margin-top: 10px;
margin-left: 20px;
height: 100px;
width: 200px;
}
.close-button {
background-color: red;
color: white;
border: none;
cursor: pointer;
font-size: 18px;
line-height: 30px;
text-align: center;
cursor: pointer;
}
#showClaude,
#showPerplexity,
.close-button {
height: 50%;
width: 70%;
margin-bottom: 5px;
font-size: 18px;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", () => {
document.body.style.backgroundColor = "black";
});
</script>
<script type="module" src="renderer.js"></script>
</head>
<body>
<div id="prompt-area">
<textarea id="prompt-input" rows="3"></textarea>
<div id="imagePreview"></div>
<div id="button-container">
<button id="showClaude">Show Claude</button>
<button id="showPerplexity">Show Perplexity</button>
<button class="close-button" id="closeButton">×</button>
</div>
</div>
</body>
</html>