Show Atlas logo

This commit is contained in:
Austin Chen 2022-07-18 23:24:40 -07:00
parent 86a85ba065
commit 4edb16a1b4

View File

@ -17,16 +17,23 @@ export function ManifoldLogo(props: {
return ( return (
<Link href={user ? '/home' : '/'}> <Link href={user ? '/home' : '/'}>
<a className={clsx('group flex flex-shrink-0 flex-row gap-4', className)}> <a className={clsx('group flex flex-shrink-0 flex-row gap-4', className)}>
<img {!ENV_CONFIG.navbarLogoPath && (
className="transition-all group-hover:rotate-12" <img
src={darkBackground ? '/logo-white.svg' : '/logo.svg'} className="transition-all group-hover:rotate-12"
width={45} src={darkBackground ? '/logo-white.svg' : '/logo.svg'}
height={45} width={45}
/> height={45}
/>
)}
{!hideText && {!hideText &&
(ENV_CONFIG.navbarLogoPath ? ( (ENV_CONFIG.navbarLogoPath ? (
<img src={ENV_CONFIG.navbarLogoPath} width={245} height={45} /> <img
className="rounded-md bg-gradient-to-r from-cyan-500 to-sky-600 p-2"
src={ENV_CONFIG.navbarLogoPath}
width={350}
height={80}
/>
) : twoLine ? ( ) : twoLine ? (
<div <div
className={clsx( className={clsx(