show musicbrainz link when not logged in

This commit is contained in:
Gabe Farrell 2026-01-12 16:57:57 -05:00
parent 4ac357816e
commit b46fb1873f

View file

@ -99,7 +99,6 @@ export default function MediaLayout(props: Props) {
<h1>{props.title}</h1>
{props.subContent}
</div>
{user && (
<div className="absolute left-1 sm:right-1 sm:left-auto -top-9 sm:top-1 flex gap-3 items-center">
{props.musicbrainzId && (
<Link
@ -112,6 +111,8 @@ export default function MediaLayout(props: Props) {
<MbzIcon size={iconSize} hover />
</Link>
)}
{user && (
<>
{props.type === "Track" && (
<>
<button
@ -188,9 +189,10 @@ export default function MediaLayout(props: Props) {
id={props.id}
type={props.type}
/>
</div>
</>
)}
</div>
</div>
{props.children}
</div>
</main>