Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add podcastap #369

Merged
merged 2 commits into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading