Skip to content

Commit

Permalink
Fix images on acknowledgements page
Browse files Browse the repository at this point in the history
Fix images on acknowledgements page by adding them to public folder. This means they can be imported using a relative path.
  • Loading branch information
TomDijkema committed Jan 9, 2025
1 parent caf1a15 commit 674f145
Show file tree
Hide file tree
Showing 19 changed files with 406 additions and 12 deletions.
56 changes: 46 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added public/webroot/IIIFLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added public/webroot/ORCIDLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
358 changes: 358 additions & 0 deletions public/webroot/dissco-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/webroot/euFundedLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/search/components/idCard/IdCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const IdCard = () => {
{/* Topic discipline/taxonomic icon, title and close icon */}
<Row>
{/* Specimen name */}
<Col className="text-overflow">
<Col lg className="text-overflow">
<p className="fs-3 fw-bold textOverflow"
dangerouslySetInnerHTML={{ __html: digitalSpecimen ? GetSpecimenNameHTMLLabel(digitalSpecimen) : '' }}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/staticPages/StaticPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const StaticPage = (props: Props) => {
<Row>
{paragraph.logo &&
<Col lg="auto">
<img src={`webroot/logos/${paragraph.logo}`}
<img src={`/webroot/${paragraph.logo}`}
alt={paragraph.logo}
className={styles.logo}
/>
Expand Down

0 comments on commit 674f145

Please sign in to comment.