add Nostr Nests embed (#377)

* add Nostr Nests embed

* remove wildcard

* fix import to match import convention

* always show link, but hide iframe when necessary
This commit is contained in:
Sam Samskies
2023-03-03 09:05:10 -10:00
committed by GitHub
parent ca9b8a9e72
commit 4325c49435
4 changed files with 24 additions and 7 deletions

View File

@ -0,0 +1,5 @@
const NostrNestsEmbed = ({ link }: { link: string }) => (
<iframe src={link} allow="microphone" width="480" height="680" style={{ maxHeight: 680 }}></iframe>
);
export default NostrNestsEmbed;