Skip to content

Commit

Permalink
hide docs link when embedded
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Oct 21, 2024
1 parent b6b54a8 commit be4c8cb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions website/src/repl/components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ export function Header({ context, embedded = false }) {
<div className={cx(started && !isCSSAnimationDisabled && 'animate-pulse', 'space-x-2')}>
<span className="">strudel</span>
<span className="text-sm">REPL</span>
<a href={`${baseNoTrailing}/learn`} className="text-sm opacity-25">
DOCS
</a>
{!isEmbedded && (
<a href={`${baseNoTrailing}/learn`} className="text-sm opacity-25">
DOCS
</a>
)}
</div>
)}
</h1>
Expand Down

0 comments on commit be4c8cb

Please sign in to comment.