1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-02-01 12:18:04 +01:00

25 lines
806 B
TypeScript
Raw Normal View History

2022-11-12 02:09:28 +05:30
import React from "react";
2023-08-14 16:25:30 +05:30
function RightPaneInfo({ version, batchMode }) {
return (
2023-08-26 12:57:15 +05:30
<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-12 02:09:28 +05:30
</p>
2023-08-26 12:57:15 +05:30
{batchMode ? (
2023-09-09 15:46:42 +05:30
<p className="w-full pb-5 text-center md:w-96 text-base-content/80">
2022-11-12 02:09:28 +05:30
Make sure that the folder doesn't contain anything except PNG, JPG,
JPEG & WEBP images.
</p>
2023-08-26 12:57:15 +05:30
) : (
2023-09-09 15:46:42 +05:30
<p className="w-full pb-5 text-center md:w-96 text-base-content/80">
2023-08-26 12:57:15 +05:30
Select or drag and drop a PNG, JPG, JPEG or WEBP image.
</p>
2022-11-12 02:09:28 +05:30
)}
2023-08-26 12:57:15 +05:30
<p className="text-sm badge badge-primary">Upscayl v{version}</p>
</div>
2022-11-12 02:09:28 +05:30
);
}
export default RightPaneInfo;