Add Codex Alpha version

This commit is contained in:
Arnaud 2024-08-29 12:32:21 +02:00
parent e05aa5c5d5
commit a9fb438d2a
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
3 changed files with 11 additions and 1 deletions

View File

@ -21,7 +21,7 @@
background: rgba(var(--codex-alert-color), 0.2);
border-radius: 75px;
height: 1.75rem;
width: 1.75rem;
min-width: 1.75rem;
display: flex;
justify-content: center;
align-items: center;

View File

@ -71,6 +71,7 @@ export function Menu({ expanded, onClose, onOpen, items, className }: Props) {
<LogoInverse width={50} />
<span className="menu-separator">|</span>
<span className="menu-name">Codex</span>
<span className="menu-version">ALPHA</span>
</div>
{items.map((item, index) => renderItem(item, index))}
</div>

View File

@ -64,6 +64,15 @@
width: 100%;
}
.menu-version {
font-size: 0.6rem;
background-color: var(--codex-background-light);
padding: 0 0.25rem;
border-radius: var(--codex-border-radius);
position: relative;
top: 1px;
}
@media (min-width: 1000px) {
.menu {
transform: translatex(0px);