Merge master into terms-of-use-update

This commit was merged in pull request #395.
This commit is contained in:
victorAnumudu
2023-08-13 07:59:40 +01:00
+3 -2
View File
@@ -342,6 +342,7 @@ export default function Login() {
imgSrc={appleLogo} imgSrc={appleLogo}
brand="Apple" brand="Apple"
isAnchor={true} isAnchor={true}
style={{visibility: 'hidden'}}
/> />
</div> </div>
<div className="sm:flex sm:justify-between sm:items-center sm:space-x-2"> <div className="sm:flex sm:justify-between sm:items-center sm:space-x-2">
@@ -446,7 +447,7 @@ export default function Login() {
); );
} }
const BrandBtn = ({ link, imgSrc, brand, onClick, isAnchor = false }) => { const BrandBtn = ({ link, imgSrc, brand, onClick, isAnchor = false, style = {visibility: 'visible' } }) => {
// const doGoogle = async () => { // const doGoogle = async () => {
// alert("start google"); // alert("start google");
// }; // };
@@ -466,7 +467,7 @@ const BrandBtn = ({ link, imgSrc, brand, onClick, isAnchor = false }) => {
// alert("start facebook"); // alert("start facebook");
// }; // };
return ( return (
<div className="w-full sm:w-1/2 flex justify-center bottomMargin"> <div className="w-full sm:w-1/2 flex justify-center bottomMargin" style={style}>
{isAnchor ? ( {isAnchor ? (
<a <a
href={link} href={link}