v5.6.0-beta.1 (#116)

* Fix displaying versions in web/desktop
* Update deps
* Tag 5.6.0-beta.1
This commit is contained in:
Igor Katson 2024-04-06 09:37:31 +01:00 committed by GitHub
parent 5eb01ac226
commit e18a711abf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 635 additions and 679 deletions

View file

@ -4,16 +4,21 @@ import { MagnetInput } from "./buttons/MagnetInput";
// @ts-ignore
import Logo from "../../assets/logo.svg?react";
export const Header = ({ title }: { title: string }) => {
const [name, version] = title.split("-");
export const Header = ({
title,
version,
}: {
title: string;
version: string;
}) => {
return (
<header className="bg-slate-50 drop-shadow-lg flex flex-wrap justify-center lg:justify-between items-center dark:bg-slate-800 mb-3">
<div className="flex flex-nowrap items-center justify-between m-2">
<Logo className="w-10 h-10 p-1" alt="logo" />
<h1 className="flex items-center dark:text-white">
<div className="text-3xl">{name}</div>
<div className="text-3xl">{title}</div>
<div className="bg-blue-100 text-blue-800 text-xl font-semibold me-2 px-2.5 py-0.5 rounded ms-2 dark:bg-blue-900 dark:text-white">
{version}
v{version}
</div>
</h1>
</div>