1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-25 22:04:59 +01:00
upscayl/renderer/components/upscayl-tab/view/RightPaneInfo.tsx

25 lines
806 B
TypeScript
Raw Normal View History

2022-11-11 21:39:28 +01:00
import React from "react";
2023-08-14 12:55:30 +02:00
function RightPaneInfo({ version, batchMode }) {
return (
2023-08-26 09:27:15 +02:00
<div className="flex flex-col items-center bg-base-200 p-4 rounded-btn">
<p className="pb-1 text-lg font-semibold">
Select {batchMode ? "a Folder" : "an Image"} to Upscayl
2022-11-11 21:39:28 +01:00
</p>
2023-08-26 09:27:15 +02:00
{batchMode ? (
2023-09-09 12:16:42 +02:00
<p className="w-full pb-5 text-center md:w-96 text-base-content/80">
2022-11-11 21:39:28 +01:00
Make sure that the folder doesn't contain anything except PNG, JPG,
JPEG & WEBP images.
</p>
2023-08-26 09:27:15 +02:00
) : (
2023-09-09 12:16:42 +02:00
<p className="w-full pb-5 text-center md:w-96 text-base-content/80">
2023-08-26 09:27:15 +02:00
Select or drag and drop a PNG, JPG, JPEG or WEBP image.
</p>
2022-11-11 21:39:28 +01:00
)}
2023-08-26 09:27:15 +02:00
<p className="text-sm badge badge-primary">Upscayl v{version}</p>
</div>
2022-11-11 21:39:28 +01:00
);
}
export default RightPaneInfo;