-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gallery page slight change. lots to change anyways
- Loading branch information
1 parent
74ca149
commit bb4f532
Showing
26 changed files
with
49 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,16 @@ | ||
export const slides = [ | ||
{ | ||
src: './dummy.jpg', | ||
width: 534, | ||
height: 420.97 | ||
}, | ||
{ | ||
src: './dummy.jpg', | ||
width: 534, | ||
height: 420.97 | ||
}, | ||
{ | ||
src: './dummy.jpg', | ||
width: 534, | ||
height: 420.97 | ||
}, | ||
{ | ||
src: './dummy.jpg', | ||
width: 534, | ||
height: 420.97 | ||
}, | ||
{ | ||
src: './dummy.jpg', | ||
width: 534, | ||
height: 420.97 | ||
}, | ||
{ | ||
src: './dummy.jpg', | ||
width: 534, | ||
height: 420.97 | ||
}, | ||
{ | ||
src: './dummy.jpg', | ||
width: 534, | ||
height: 420.97 | ||
}, | ||
{ | ||
src: './dummy.jpg', | ||
width: 534, | ||
height: 420.97 | ||
}, | ||
{ | ||
src: './dummy.jpg', | ||
width: 534, | ||
height: 420.97 | ||
}, | ||
{ | ||
src: './dummy.jpg', | ||
width: 534, | ||
height: 420.97 | ||
}, | ||
{ | ||
src: './dummy.jpg', | ||
width: 534, | ||
height: 420.97 | ||
}, | ||
] | ||
// slides.js | ||
function importAll(r) { | ||
let images = {}; | ||
r.keys().forEach((item, index) => { images[item.replace('./', '')] = r(item); }); | ||
return images; | ||
} | ||
|
||
const images = importAll(require.context('./images', false, /\.(heic|jpg|jpeg|png)$/)); | ||
|
||
export const slides = Object.keys(images).map((key, index) => ({ | ||
id: index + 1, | ||
src: images[key], // Ensure this points to the correct path | ||
width: 534, // Adjust width as needed | ||
height: 420.97 // Adjust height as needed | ||
})); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters