1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-01-19 01:24:09 +01:00
upscayl/renderer/components/RightPaneInfo.tsx

26 lines
703 B
TypeScript
Raw Normal View History

2022-11-12 02:09:28 +05:30
import React from "react";
2022-11-25 13:00:03 +05:30
function RightPaneInfo({ version, batchMode, isVideo }) {
return isVideo ? (
<>
<p className="p-5 pb-1 text-lg font-semibold">Select Video to Upscale</p>
<p className="text-sm">Upscayl v{version}</p>
</>
) : (
2022-11-12 02:09:28 +05:30
<>
2022-11-12 03:02:24 +05:30
<p className="p-5 pb-1 text-lg font-semibold">
2022-11-12 02:09:28 +05:30
Select {batchMode ? "a Folder" : "an Image"} to Upscale
</p>
{batchMode && (
2022-11-12 03:02:24 +05:30
<p className="w-full pb-5 text-center md:w-96">
2022-11-12 02:09:28 +05:30
Make sure that the folder doesn't contain anything except PNG, JPG,
JPEG & WEBP images.
</p>
)}
2022-11-12 03:02:24 +05:30
<p className="text-sm">Upscayl v{version}</p>
2022-11-12 02:09:28 +05:30
</>
);
}
export default RightPaneInfo;