mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-06 18:31:00 +00:00
Break line on added links
This commit is contained in:
parent
97fa99aa3b
commit
0a39f4f1c3
@ -39,6 +39,8 @@ export function CourseTemplate({ course }) {
|
|||||||
}
|
}
|
||||||
}, [course]);
|
}, [course]);
|
||||||
|
|
||||||
|
console.log(nip19.decode("naddr1qvzqqqr4gupzpueu32tp0jc47uzlcuxdgcw06m40ytu7ynpna2adnqty3e0vda6pqpqryvrxxyun2vnrxasngvt98q6rycfs8ycrvvpjx5mrjdpkvs6ryef38qmngcnpv4jkyd3nxcmxvvpkvgmrydpcxqmxxdfhvsckxctpvs42mx08"))
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (course && course?.id) {
|
if (course && course?.id) {
|
||||||
const nAddress = nip19.naddrEncode({
|
const nAddress = nip19.naddrEncode({
|
||||||
|
@ -151,9 +151,12 @@ const DocumentDetails = ({ processedEvent, topics, title, summary, image, price,
|
|||||||
<div className="my-4">
|
<div className="my-4">
|
||||||
<p>Additional Links:</p>
|
<p>Additional Links:</p>
|
||||||
{processedEvent.additionalLinks.map((link, index) => (
|
{processedEvent.additionalLinks.map((link, index) => (
|
||||||
<a className="text-blue-500 hover:underline hover:text-blue-600" key={index} href={link} target="_blank" rel="noopener noreferrer">
|
<React.Fragment key={index}>
|
||||||
{link}
|
<a className="text-blue-500 hover:underline hover:text-blue-600" href={link} target="_blank" rel="noopener noreferrer">
|
||||||
</a>
|
{link}
|
||||||
|
</a>
|
||||||
|
<br />
|
||||||
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
@ -158,9 +158,12 @@ const VideoDetails = ({ processedEvent, topics, title, summary, image, price, au
|
|||||||
<div className="my-4">
|
<div className="my-4">
|
||||||
<p>Additional Links:</p>
|
<p>Additional Links:</p>
|
||||||
{processedEvent.additionalLinks.map((link, index) => (
|
{processedEvent.additionalLinks.map((link, index) => (
|
||||||
<a className="text-blue-500 hover:underline hover:text-blue-600" key={index} href={link} target="_blank" rel="noopener noreferrer">
|
<React.Fragment key={index}>
|
||||||
{link}
|
<a className="text-blue-500 hover:underline hover:text-blue-600" href={link} target="_blank" rel="noopener noreferrer">
|
||||||
</a>
|
{link}
|
||||||
|
</a>
|
||||||
|
<br />
|
||||||
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user