Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

perf: use svg sprites & urls instead of all inline #122

Merged
merged 2 commits into from
Aug 10, 2018
Merged

Conversation

satazor
Copy link
Contributor

@satazor satazor commented Aug 1, 2018

  • Moved images to folders closest to components, allowing for future optimizations with sprites
  • Renamed some files, variables and data
  • Fixed footer element placements
  • Fixed code consistency with spaces in some files
  • Removed locale utils, it's not necessary at alls
  • Removed unused data files
  • Improved css modules hash in production
  • Improved videos sections hover animations
  • Fixed play icon being loaded from imgur instead of IPFS
  • Used standard transitions whenever possible

Refs #69

@ghost ghost assigned satazor Aug 1, 2018
@ghost ghost added the status/in-progress In progress label Aug 1, 2018
@satazor satazor force-pushed the svgs-perf branch 2 times, most recently from cc13c83 to 484146b Compare August 1, 2018 06:38
@satazor
Copy link
Contributor Author

satazor commented Aug 1, 2018

I wanted to make separate PRs for everything but I had no time. Additionally, I will follow up more improvements after DWeb.

@daviddias
Copy link
Contributor

@satazor merge conflicts

@satazor satazor force-pushed the svgs-perf branch 2 times, most recently from 7c19f1f to 6fa57ea Compare August 1, 2018 06:59
@daviddias
Copy link
Contributor

image

@daviddias
Copy link
Contributor

@PedroMiguelSS can you handle the merge conflicts of this one? Hoping to see this published today.

@satazor
Copy link
Contributor Author

satazor commented Aug 9, 2018

I've rebased again. Here's a screenshot of the before and after:

screen shot 2018-08-09 at 02 04 24

There's still more minor improvements to do. We need to do that as part of #69

@satazor
Copy link
Contributor Author

satazor commented Aug 9, 2018

@PedroMiguelSS can we please merge this asap to avoid more conflicts? Please review the PR carefully as there is a lot of changes. I'm sorry to not split it into more PRs but I really didn't have the time.

@satazor satazor force-pushed the svgs-perf branch 2 times, most recently from 6b887c5 to 82c906c Compare August 9, 2018 02:18
Copy link
Contributor

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code seems good to me! @PedroMiguelSS will double check and test it 🙂

satazor and others added 2 commits August 10, 2018 15:34
- Moved images to folders closest to components, allowing for future optimizations with sprites
- Renamed some files, variables and data
- Fixed footer element placements
- Fixed code consistenty with spaces in some files
- Removed locale utils, it's not necessary at alls
- Removed unused data files
- Improved css modules hash in production
- Improved videos sections hover animations
- Fixed play icon being loaded from imgur instead of IPFS
- Used standard transitions whenever possible
@PedroMiguelSS PedroMiguelSS merged commit b7f49ba into master Aug 10, 2018
@ghost ghost removed the status/in-progress In progress label Aug 10, 2018
@PedroMiguelSS PedroMiguelSS deleted the svgs-perf branch August 10, 2018 14:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants