-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_embedding.html
More file actions
206 lines (180 loc) · 7.32 KB
/
example_embedding.html
File metadata and controls
206 lines (180 loc) · 7.32 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Example Website with Embedded Oversight AI</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
background: #f8f9fa;
}
.header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 40px;
border-radius: 10px;
text-align: center;
margin-bottom: 30px;
}
.header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
}
.content {
background: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
margin-bottom: 30px;
}
.embed-section {
background: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
margin-bottom: 30px;
}
.embed-section h2 {
color: #667eea;
margin-bottom: 20px;
}
.embed-container {
border: 2px solid #667eea;
border-radius: 12px;
padding: 15px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
box-shadow: 0 8px 25px rgba(0,0,0,0.2);
margin: 20px 0;
}
.embed-container iframe {
border-radius: 8px;
width: 100%;
border: none;
}
.two-column {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
margin: 30px 0;
}
.minimal-embed {
max-width: 450px;
margin: 0 auto;
}
@media (max-width: 768px) {
.two-column {
grid-template-columns: 1fr;
}
}
.footer {
text-align: center;
padding: 20px;
color: #666;
border-top: 1px solid #ddd;
margin-top: 30px;
}
</style>
</head>
<body>
<div class="header">
<h1>My Website</h1>
<p>Demonstrating Embedded AI Analysis</p>
</div>
<div class="content">
<h2>Welcome to Our AI-Powered Website</h2>
<p>This is an example of how you can embed the Oversight AI system into your own website. The AI analysis tool is seamlessly integrated below, allowing your visitors to perform comprehensive topic research without leaving your site.</p>
<p>The embedded AI system provides a complete 3-step analysis process:</p>
<ul>
<li><strong>Step 1:</strong> Topic validation and preparation</li>
<li><strong>Step 2:</strong> Information compilation and categorization</li>
<li><strong>Step 3:</strong> Comprehensive report generation</li>
</ul>
</div>
<div class="embed-section">
<h2>🤖 AI Analysis Tool</h2>
<p>Use the embedded AI tool below to analyze any topic. Simply enter your research topic and select the type of report you'd like to generate.</p>
<div class="embed-container">
<iframe
src="https://work-1-hsqxvhgfzfhqzynb.prod-runtime.all-hands.dev/embed"
width="100%"
height="600">
</iframe>
</div>
</div>
<div class="content">
<h2>Different Embedding Options</h2>
<p>We provide multiple embedding options to suit different use cases:</p>
<div class="two-column">
<div>
<h3>Standard Embed</h3>
<p>Perfect for dedicated sections, blog posts, and content pages. Provides the full interface with all features.</p>
<ul>
<li>Complete feature set</li>
<li>Detailed results display</li>
<li>Recommended size: 600x500px+</li>
</ul>
</div>
<div>
<h3>Minimal Embed</h3>
<p>Ideal for sidebars, widgets, and mobile views. Compact design with essential features.</p>
<ul>
<li>Compact interface</li>
<li>Essential features only</li>
<li>Recommended size: 400x400px+</li>
</ul>
<div class="minimal-embed">
<div class="embed-container">
<iframe
src="https://work-1-hsqxvhgfzfhqzynb.prod-runtime.all-hands.dev/embed/minimal"
width="100%"
height="450">
</iframe>
</div>
</div>
</div>
</div>
</div>
<div class="content">
<h2>Integration Benefits</h2>
<p>By embedding Oversight AI into your website, you can:</p>
<ul>
<li><strong>Enhance User Experience:</strong> Provide valuable AI analysis without redirecting users</li>
<li><strong>Increase Engagement:</strong> Keep visitors on your site longer with interactive tools</li>
<li><strong>Add Value:</strong> Offer professional-grade AI analysis as a service</li>
<li><strong>Easy Integration:</strong> Simple iframe embedding with no complex setup</li>
<li><strong>Responsive Design:</strong> Works seamlessly on desktop and mobile devices</li>
<li><strong>Customizable:</strong> Style the container to match your brand</li>
</ul>
</div>
<div class="content">
<h2>How to Embed</h2>
<p>Embedding Oversight AI into your website is simple. Just add an iframe with the appropriate source URL:</p>
<h3>Standard Embed Code:</h3>
<pre style="background: #f8f9fa; padding: 15px; border-radius: 6px; overflow-x: auto;"><code><iframe
src="https://work-1-hsqxvhgfzfhqzynb.prod-runtime.all-hands.dev/embed"
width="600"
height="500"
frameborder="0"
style="border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);">
</iframe></code></pre>
<h3>Minimal Embed Code:</h3>
<pre style="background: #f8f9fa; padding: 15px; border-radius: 6px; overflow-x: auto;"><code><iframe
src="https://work-1-hsqxvhgfzfhqzynb.prod-runtime.all-hands.dev/embed/minimal"
width="400"
height="400"
frameborder="0"
style="border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);">
</iframe></code></pre>
<p>For more advanced integration options, including responsive embedding and JavaScript communication, visit our <a href="https://work-1-hsqxvhgfzfhqzynb.prod-runtime.all-hands.dev/embed/guide" target="_blank">embedding guide</a>.</p>
</div>
<div class="footer">
<p>© 2024 My Website. Powered by <a href="https://work-1-hsqxvhgfzfhqzynb.prod-runtime.all-hands.dev/" target="_blank">Oversight AI</a></p>
</div>
</body>
</html>