Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use svg or smaller image for logo #185

Open
duanwilliam opened this issue Feb 1, 2022 · 0 comments
Open

Use svg or smaller image for logo #185

duanwilliam opened this issue Feb 1, 2022 · 0 comments

Comments

@duanwilliam
Copy link
Contributor

basically same issue as acmucsd/membership-portal-ui#525

we are currently serving a ~880kb, 2550x2550 png image for our logo in the top left (https://github.com/acmucsd/main-website/blob/master/src/assets/ACMWhiteLogo.png)

this image is displayed at a size of 60x60 (also, will just note that this is different from membership portal - dunno if we want consistency between them but yuh)

> img {
height: 60px;
margin: 0;
}

we can save nearly 1mb data by serving an svg instead, or a scaled down image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant