Merge pull request #564 from OpenSignLabs/patch-1

This commit is contained in:
Amol
2024-04-05 22:39:43 +05:30
committed by GitHub
3 changed files with 12 additions and 5 deletions
+2 -1
View File
@@ -1778,7 +1778,6 @@ export const handleCopyNextToWidget = (
}
};
export const getFileName = (fileUrl) => {
if (fileUrl) {
const url = new URL(fileUrl);
@@ -1786,6 +1785,8 @@ export const getFileName = (fileUrl) => {
return filename || "";
} else {
return "";
}
};
//fetch tenant app logo from `partners_Tenant` class by domain name
export const getAppLogo = async () => {
+3 -2
View File
@@ -1067,10 +1067,11 @@ function Login() {
<>
<div aria-labelledby="loginHeading" role="region">
<div className="md:m-10 lg:m-16 md:p-4 lg:p-10 p-4 bg-[#ffffff] md:border-[1px] md:border-gray-400 ">
<div className="w-[250px] h-[66px] inline-block">
<div className="w-[250px] h-[66px] inline-block overflow-hidden">
<img
src={image}
width="100%"
loading={true}
className="object-contain h-full"
alt="The image displays the OpenSign logo with a stylized blue square with an open corner, accompanied by the tagline Seal the Deal, Openly."
/>
</div>
+7 -2
View File
@@ -528,8 +528,13 @@ const Signup = () => {
{appInfo && appInfo.applogo ? (
<div>
<div className="md:m-10 lg:m-16 md:p-4 lg:p-10 p-5 bg-[#ffffff] md:border-[1px] md:border-gray-400 ">
<div className="w-[250px] h-[66px] inline-block">
<img src={image} width="100%" alt="" />
<div className="w-[250px] h-[66px] inline-block overflow-hidden">
<img
src={image}
loading={true}
className="object-contain h-full"
alt="logo"
/>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-x-2">
<div className="">