Skip to content

Commit

Permalink
Merge pull request #369 from stevencrader/add-podcastap
Browse files Browse the repository at this point in the history
Add podcastap
  • Loading branch information
daveajones authored May 19, 2024
2 parents fda5ebe + 7d09d06 commit 061364c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.20.2
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"user-agent-app": "www",
"license": "MIT",
"private": true,
"packageManager": "yarn@3.4.1",
"dependencies": {
"@hcaptcha/react-hcaptcha": "^0.3.9",
"@types/dompurify": "^2.4.0",
Expand Down
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 061364c

Please sign in to comment.