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}
brand="Apple"
isAnchor={true}
style={{visibility: 'hidden'}}
/>
</div>
<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 () => {
// alert("start google");
// };
@@ -466,7 +467,7 @@ const BrandBtn = ({ link, imgSrc, brand, onClick, isAnchor = false }) => {
// alert("start facebook");
// };
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 ? (
<a
href={link}