Skip to content

Commit

Permalink
Merge pull request #18 from OpenUpSA/feature/cms
Browse files Browse the repository at this point in the history
Feature/cms
  • Loading branch information
paulmwatson authored Oct 22, 2024
2 parents fa0d747 + 8d9eb11 commit 727aff1
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 49 deletions.
19 changes: 14 additions & 5 deletions components/referencesList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,20 @@ export function ReferencesList({ references }: { references: any }) {
<ol className="reference-list">
{references.map(
(reference: { title: string; url: string }, index: Key) => (
<li key={index} className="text-blueish-gray text-xs">
{reference.title && <>{reference.title}, </>}
<a href={reference.url} target="_blank" className="text-blueish-gray text-xs break-words">
{reference.url}
</a>
<li
key={index}
className="text-blueish-gray text-xs flex items-center"
>
<div>
{reference.title && <>{reference.title}, </>}
<a
href={reference.url}
target="_blank"
className="text-blueish-gray text-xs"
>
{reference.url}
</a>
</div>
</li>
)
)}
Expand Down
Loading

0 comments on commit 727aff1

Please sign in to comment.