Deploy checkouts do a hard reset, so Unsplash files ignored locally are missing on the server and next build fails with Module not found. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
1007 B
TypeScript
25 lines
1007 B
TypeScript
/**
|
|
* Placeholder art that lives in `public/` (tracked in git).
|
|
* Do not import files from `src/assets/images/samples/` — that folder is
|
|
* gitignored, so production checkout + `next build` would fail with
|
|
* "Module not found" even though a local disk still has the JPGs.
|
|
*/
|
|
const placeholder = (file: string) => `/images/placeholders/${file}`;
|
|
|
|
export const samples = {
|
|
glenJackson: placeholder("slider-1.png"),
|
|
henryXu: placeholder("slider-2.png"),
|
|
jesseGardner: placeholder("slider-3.png"),
|
|
jiscaLucia: placeholder("slider-side-1.png"),
|
|
fabioComparelli: placeholder("slider-side-2.png"),
|
|
sylvainMauroux: placeholder("about.png"),
|
|
phillipsJacobe: placeholder("banner-4-1.png"),
|
|
paulGreen: placeholder("banner-4-2.png"),
|
|
victorLarracuente: placeholder("banner-4-3.png"),
|
|
seanBenesh: placeholder("banner-4-4.png"),
|
|
kevinSchmid: placeholder("banner-3-1.png"),
|
|
bradenCollum: placeholder("banner-3-2.png"),
|
|
} as const;
|
|
|
|
export const sampleList: string[] = Object.values(samples);
|