Yup
This commit is contained in:
BIN
public/assets/ink_bottom_black.png
Normal file
BIN
public/assets/ink_bottom_black.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
BIN
public/assets/ink_bottom_yellow.png
Normal file
BIN
public/assets/ink_bottom_yellow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
BIN
public/assets/ink_top_black.png
Normal file
BIN
public/assets/ink_top_black.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
BIN
public/assets/ink_top_yellow.png
Normal file
BIN
public/assets/ink_top_yellow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
@ -93,4 +93,13 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
const lenis = new Lenis({
|
||||
autoRaf: true,
|
||||
});
|
||||
|
||||
// Gallery interactions
|
||||
// On click on .photo element, toggle the 'full' class
|
||||
document.querySelectorAll('.photo').forEach(photoEl => {
|
||||
photoEl.addEventListener('click', () => {
|
||||
console.log('Photo clicked');
|
||||
photoEl.classList.toggle('full');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user