Skip to content

Instantly share code, notes, and snippets.

View PJoy's full-sized avatar
🏠
Working from home

Pierre Portejoie PJoy

🏠
Working from home
View GitHub Profile
@PJoy
PJoy / guide.md
Last active June 17, 2023 04:50
SAGE BARBA

Using barba.js with Sage starter theme

Barba.js is a library using pushState and AJAX allowing websites to load pages asynchronously while still maintaining browser states and history.

Combining it with some JavaScript animations libraries can help craft some memorable browsing experiences.

alt text source

In this guide, we will try to find an optimal way to integrate Barba with our beloved Sage theme !

remote: error: inflate: data stream error (incorrect data check)
remote: fatal: loose object 639a900da8e06c94b398a152e5455ef891fee933 (stored in ./objects/63/9a900da8e06c94b398a152e5455ef891fee933) is error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
corrupt
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
remote: Counting objects: 4607, done.
remote: Compressing objects: 100% (4128/4128), done.
error: git upload-pack: git-pack-objects died with error.B/s
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: fatal: Out of memory? mmap failed: Cannot allocate memory
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed