CentreForDigitalHumanities / CentreForDigitalHumanities/Textcavator

CDH logo file is unnecessarily large

Open
#1,920 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Python
Stars
12
Forks
3
Avg merge
3d 3m
Merged PRs (30d)
9

Description

### What went wrong?

My browser warns me on loading the home page:
> NG0913: An image with src http://localhost:4200/assets/UU-CDH_logo_EN_def_UU_CDH_logo_EN_yellowwhite.jpg has intrinsic file dimensions much larger than its rendered size. This can negatively impact application loading performance. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913. Find more at https://angular.dev/errors/NG0913

It's a minor issue, but a solid point (the logo is 2268 x 518px). We should use a low-res version or an SVG file.

### What did you expect to happen?

No warnings.

### Screenshot

_No response_

### Where did you find the bug?

- [x] https://ianalyzer.hum.uu.nl
- [x] https://peopleandparliament.hum.uu.nl
- [x] https://peace.sites.uu.nl
- [ ] a server hosted elsewhere (i.e. not by the research software lab)
- [ ] a local server

### Version

5.24.0

### Steps to reproduce

Load the application with the developer console open.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.