2022-11-11 21:39:28 +01:00
|
|
|
import React from "react";
|
|
|
|
|
2023-03-12 08:59:07 +01:00
|
|
|
export default function Header({ version }: { version: string }) {
|
2022-11-11 21:39:28 +01:00
|
|
|
return (
|
|
|
|
<a
|
|
|
|
href="https://github.com/upscayl/upscayl"
|
|
|
|
target="_blank"
|
2023-08-30 06:54:16 +02:00
|
|
|
className={`outline-none focus-visible:ring-2`}
|
2023-09-03 11:16:48 +02:00
|
|
|
data-tooltip-id="tooltip"
|
|
|
|
data-tooltip-content="Star us on GitHub 😁">
|
2022-11-11 21:39:28 +01:00
|
|
|
<div className="flex items-center gap-3 px-5 py-5">
|
2022-12-08 04:25:26 +01:00
|
|
|
<img src="icon.png" className="inline-block w-14" alt="Upscayl Logo" />
|
2022-11-11 21:39:28 +01:00
|
|
|
<div className="flex flex-col justify-center">
|
2023-03-12 08:59:07 +01:00
|
|
|
<h1 className="text-3xl font-bold">
|
|
|
|
Upscayl <span className="text-xs">{version}</span>
|
|
|
|
</h1>
|
2022-11-11 22:32:24 +01:00
|
|
|
<p className="">AI Image Upscaler</p>
|
2022-11-11 21:39:28 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
);
|
|
|
|
}
|