mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-24 07:30:19 +01:00
27 lines
871 B
TypeScript
27 lines
871 B
TypeScript
import { featureFlags } from "@common/feature-flags";
|
|
import React from "react";
|
|
|
|
export default function Header({ version }: { version: string }) {
|
|
return (
|
|
<a
|
|
href="https://github.com/upscayl/upscayl"
|
|
target="_blank"
|
|
className={`outline-none focus-visible:ring-2`}
|
|
data-tooltip-id="tooltip"
|
|
data-tooltip-content="Star us on GitHub 😁">
|
|
<div className="flex items-center gap-3 px-5 py-5">
|
|
<img src="icon.png" className="inline-block w-14" alt="Upscayl Logo" />
|
|
<div className="flex flex-col justify-center">
|
|
<h1 className="text-3xl font-bold">
|
|
Upscayl{" "}
|
|
<span className="text-xs">
|
|
{version} {featureFlags.APP_STORE_BUILD && "Mac"}
|
|
</span>
|
|
</h1>
|
|
<p className="">AI Image Upscaler</p>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
);
|
|
}
|