minor fix to powered by (#757)

pull/758/head^2
Peer Richelsen 2021-09-23 21:05:24 +01:00 committed by GitHub
parent 2c50781084
commit 6dfd3f4aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 10 deletions

View File

@ -69,7 +69,7 @@ const buildSeoMeta = (pageProps: {
const constructImage = (name: string, avatar: string, description: string): string => { const constructImage = (name: string, avatar: string, description: string): string => {
return ( return (
encodeURIComponent("Meet **" + name + "** <br>" + description).replace(/'/g, "%27") + encodeURIComponent("Meet **" + name + "** <br>" + description).replace(/'/g, "%27") +
".png?md=1&images=https%3A%2F%2Fcal.com%2Fcalendso-logo-white.svg&images=" + ".png?md=1&images=https%3A%2F%2Fcal.com%2Flogo-white.svg&images=" +
encodeURIComponent(avatar) encodeURIComponent(avatar)
); );
}; };

View File

@ -6,17 +6,11 @@ const PoweredByCalendso = () => (
<a target="_blank" className="dark:text-white text-gray-500 opacity-50 hover:opacity-100"> <a target="_blank" className="dark:text-white text-gray-500 opacity-50 hover:opacity-100">
powered by{" "} powered by{" "}
<img <img
style={{ top: -2 }} className="dark:hidden w-auto inline h-[10px] relative"
className="dark:hidden w-auto inline h-3 relative" src="/logo-white.svg"
src="/calendso-logo-word.svg"
alt="Cal.com Logo"
/>
<img
style={{ top: -2 }}
className="hidden dark:inline w-auto h-3 relative"
src="/calendso-logo-word-dark.svg"
alt="Cal.com Logo" alt="Cal.com Logo"
/> />
<img className="hidden dark:inline w-auto h-[10px] relative" src="/logo.svg" alt="Cal.com Logo" />
</a> </a>
</Link> </Link>
</div> </div>