Fix build: add inline fallback images for artwork section

This commit is contained in:
Jeff Emmett 2026-02-03 02:00:24 +00:00
parent 80497fd4ed
commit 13500b3931
1 changed files with 10 additions and 3 deletions

View File

@ -166,11 +166,18 @@ export default async function HomePage() {
))} ))}
</div> </div>
) : ( ) : (
/* Static fallback with hero images as artwork */ /* Static fallback - featured paintings from Squarespace */
<div className="grid gap-8 grid-cols-1 md:grid-cols-2"> <div className="grid gap-8 grid-cols-1 md:grid-cols-2">
{heroImages.slice(0, 6).map((img, index) => ( {[
{ src: 'https://images.squarespace-cdn.com/content/v1/5aef40c1cc8feda235a99bb6/1598803728300-94MWPCAF8LXZF2OB1K4Y/image-asset.jpeg', alt: 'Autumn Offerings' },
{ src: 'https://images.squarespace-cdn.com/content/v1/5aef40c1cc8feda235a99bb6/1605636339005-KXP5FWW72I8KV6KNEPU8/%3Cuntitled%3EChoose+Love%2C+Choose+Life.jpg', alt: 'Choose Love, Choose Life' },
{ src: 'https://images.squarespace-cdn.com/content/v1/5aef40c1cc8feda235a99bb6/1605636369170-918IHIE2QG2X8559QZI9/%3Cuntitled%3EKT1050--At_the_Stillpoint.jpg', alt: 'At the Stillpoint' },
{ src: 'https://images.squarespace-cdn.com/content/v1/5aef40c1cc8feda235a99bb6/1605636398212-Z28TYI1OMR1O6LDO1B9R/%3Cuntitled%3EKT1283--Ecstasy+of+Belonging.jpg', alt: 'Ecstasy of Belonging' },
{ src: 'https://images.squarespace-cdn.com/content/v1/5aef40c1cc8feda235a99bb6/1605636452434-S4AS1X4N6FW242BNPYSH/%3Cuntitled%3EKT1033--Births+Blessing+Way.jpg', alt: 'Birth\'s Blessing Way' },
{ src: 'https://images.squarespace-cdn.com/content/v1/5aef40c1cc8feda235a99bb6/1605636538275-DBY1CPYS9K1IXM6D0FBK/%3Cuntitled%3ESpiralling+into+Starlight.jpg', alt: 'Spiralling into Starlight' },
].map((img, index) => (
<Link key={index} href="/store" className="group block"> <Link key={index} href="/store" className="group block">
<div className="relative aspect-[3/2] bg-gray-100 overflow-hidden"> <div className="relative aspect-[3/4] bg-gray-100 overflow-hidden">
<Image <Image
src={img.src} src={img.src}
alt={img.alt} alt={img.alt}