Skip to content

Commit

Permalink
Add comment to SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmockett committed Jan 9, 2025
1 parent 3a751f6 commit 81903c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dotcom-rendering/src/components/Card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ export const Card = ({
* Waveform for podcasts is absolutely positioned at bottom of
* card, behind everything else
*/}
{isBetaContainer && mainMedia?.type === 'Audio' && (
{mainMedia?.type === 'Audio' && (
<div
css={waveformWrapper(
imagePositionOnMobile,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { useId } from 'react';
import { palette } from '../../../palette';

/**
* Static waveform image used as a background on podcast media cards.
* The waveform is a repeating pattern so can be used at any width.
*/

export const SvgWaveform = () => {
const id = useId();

Expand Down

0 comments on commit 81903c8

Please sign in to comment.