feat(ui): add v2 badge to chat header
This commit is contained in:
@@ -15,7 +15,10 @@
|
|||||||
<div class="brand-mark" aria-hidden="true">AI</div>
|
<div class="brand-mark" aria-hidden="true">AI</div>
|
||||||
<div>
|
<div>
|
||||||
<p class="eyebrow">SERVICE DEMO</p>
|
<p class="eyebrow">SERVICE DEMO</p>
|
||||||
<h1>OpenAI Chat</h1>
|
<div class="title-row">
|
||||||
|
<h1>OpenAI Chat</h1>
|
||||||
|
<span class="version-badge" aria-label="Phiên bản 2">v2</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span class="status"><span class="status-dot"></span> Sẵn sàng</span>
|
<span class="status"><span class="status-dot"></span> Sẵn sàng</span>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
@@ -82,6 +82,22 @@ button, textarea { font: inherit; }
|
|||||||
|
|
||||||
h1 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
|
h1 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
|
||||||
|
|
||||||
|
.title-row { display: flex; align-items: center; gap: 8px; }
|
||||||
|
|
||||||
|
.version-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
min-height: 19px;
|
||||||
|
padding: 1px 7px;
|
||||||
|
border: 1px solid #e2e3ff;
|
||||||
|
border-radius: 999px;
|
||||||
|
background: #f4f4ff;
|
||||||
|
color: #5a5be7;
|
||||||
|
font-size: 10px;
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user