Skip to content

Commit

Permalink
Add link to PodcastAP on podcast page
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencrader committed May 19, 2024
1 parent 492cd70 commit 7d09d06
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
22 changes: 22 additions & 0 deletions ui/images/podcastap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion ui/src/components/PodcastHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import Button from "../Button";

import Value from '../Value'
import NoImage from '../../../images/no-cover-art.png'
import { truncateString, titleizeString } from '../../utils'
import { truncateString } from '../../utils'
import RSSLogo from "../../../images/feed.svg";
import PodcastAPLogo from "../../../images/podcastap.svg";
import DonationPage from "../../../images/donation-page.svg";
import EarthLogo from "../../../images/earth.svg";
import LightningLogo from "../../../images/lightning.svg"
Expand Down Expand Up @@ -151,6 +152,13 @@ export default class PodcastHeader extends React.PureComponent<IProps, PodState>
</a>
: ""
}
<a
href={`https://podcastap.com/feed/${id}`}
title="Follow on Activity Pub via Podcast AP"
target="_blank"
>
<img src={PodcastAPLogo} />
</a>
{feedURL ?
<Button small={true} onClick={this.copyClicked}>{ this.state.copyMessage }</Button>
: ""
Expand Down

0 comments on commit 7d09d06

Please sign in to comment.