diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..2ab3d4be --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v16.20.2 diff --git a/package.json b/package.json index 155bb2f9..17003fa5 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/ui/images/podcastap.svg b/ui/images/podcastap.svg new file mode 100644 index 00000000..b24abdd0 --- /dev/null +++ b/ui/images/podcastap.svg @@ -0,0 +1,22 @@ + + + + + + + diff --git a/ui/src/components/PodcastHeader/index.tsx b/ui/src/components/PodcastHeader/index.tsx index 2547458f..766be9b9 100644 --- a/ui/src/components/PodcastHeader/index.tsx +++ b/ui/src/components/PodcastHeader/index.tsx @@ -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" @@ -151,6 +152,13 @@ export default class PodcastHeader extends React.PureComponent : "" } + + + {feedURL ? : ""