1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-24 15:40:21 +01:00
upscayl/renderer/components/RightPaneInfo.tsx

26 lines
703 B
TypeScript
Raw Normal View History

2022-11-11 21:39:28 +01:00
import React from "react";
2022-11-25 08:30:03 +01:00
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-11 21:39:28 +01:00
<>
2022-11-11 22:32:24 +01:00
<p className="p-5 pb-1 text-lg font-semibold">
2022-11-11 21:39:28 +01:00
Select {batchMode ? "a Folder" : "an Image"} to Upscale
</p>
{batchMode && (
2022-11-11 22:32:24 +01:00
<p className="w-full pb-5 text-center md:w-96">
2022-11-11 21:39:28 +01:00
Make sure that the folder doesn't contain anything except PNG, JPG,
JPEG & WEBP images.
</p>
)}
2022-11-11 22:32:24 +01:00
<p className="text-sm">Upscayl v{version}</p>
2022-11-11 21:39:28 +01:00
</>
);
}
export default RightPaneInfo;