Skip to content

Commit 8c349f5

Browse files
committed
added interactive link to github + defang.io
1 parent 694f0b4 commit 8c349f5

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
2.37 KB
Loading

app/templates/index.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,22 @@
122122
transform: translateY(-2px);
123123
}
124124

125+
.issue-container {
126+
display: flex;
127+
align-items: center;
128+
justify-content: center;
129+
padding-top: 10px;
130+
}
131+
132+
.issue-container p {
133+
margin: 10px;
134+
}
135+
136+
.issue-container a:visited, a:hover, a:active, a:focus {
137+
color: white;
138+
text-decoration: none !important;
139+
}
140+
125141
.loading-spinner {
126142
display: none;
127143
margin-left: 10px;
@@ -155,7 +171,9 @@
155171
<body>
156172
<div class="chat-container">
157173
<div class="img-container">
174+
<a href="https://defang.io/" target="_blank">
158175
<img class="icon" src="{{ url_for('static', filename='defang_icon.svg') }}" alt="defang_icon"/>
176+
</a>
159177
</div>
160178
<h2>Ask Defang</h2>
161179
<div id="chat-box" class="chat-box"></div>
@@ -164,6 +182,16 @@ <h2>Ask Defang</h2>
164182
Send
165183
<div id="loading-spinner" class="loading-spinner"></div>
166184
</button>
185+
<div class="issue-container">
186+
<a href="https://github.com/DefangLabs/docs-chatbot/issues" target="_blank">
187+
<img class="icon" style="height: 1.5em" src="{{ url_for('static', filename='github_icon.svg') }}" alt="github_icon"/>
188+
</a>
189+
<p>
190+
<a href="https://github.com/DefangLabs/docs-chatbot/issues" target="_blank">
191+
Report an issue
192+
</a>
193+
</p>
194+
</div>
167195
</div>
168196

169197
<script>

0 commit comments

Comments
 (0)