cleared unused pages

This commit is contained in:
Jacob Delgado 2023-11-13 23:33:31 -08:00
parent 0e60b141c2
commit 5cd0849363
6 changed files with 8 additions and 7 deletions

View File

@ -32,9 +32,9 @@ const WSPGallery = ({ galleryImages }) => {
<div> <div>
{openModal && ( {openModal && (
<div className="sliderWrap"> <div className="sliderWrap">
<AiOutlineClose className="btnClose" onClick={handleCloseModal} /> <AiOutlineClose className="btnClose text-2xl" onClick={handleCloseModal} />
<FaCircleChevronLeft className="btnPrev" onClick={prevSlide} /> <FaCircleChevronLeft className="btnPrev text-2xl" onClick={prevSlide} />
<FaCircleChevronRight className="btnNext" onClick={nextSlide} /> <FaCircleChevronRight className="btnNext text-2xl" onClick={nextSlide} />
<div className="fullScreenImage"> <div className="fullScreenImage">
<Image <Image
src={galleryImages[slideNumber].img} src={galleryImages[slideNumber].img}
@ -56,8 +56,9 @@ const WSPGallery = ({ galleryImages }) => {
<Image <Image
src={slide.img} src={slide.img}
alt="/" alt="/"
width={100} width={180}
height={100} height={180}
quality={100}
className="cursor-pointer" className="cursor-pointer"
onClick={() => handleOpenModal(index)} onClick={() => handleOpenModal(index)}
/> />

View File

@ -1,5 +1,5 @@
import Link from 'next/link'; import Link from 'next/link';
import ProductCard from './components/ProductCard/ProductCard'; import ProductCard from '../../UnusedPages/ProductCard/ProductCard';
import Image from 'next/image'; import Image from 'next/image';
export default function Home() { export default function Home() {

View File

@ -23,6 +23,6 @@
"@/*": ["./*"] "@/*": ["./*"]
} }
}, },
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "../UnusedPages/AddToCart.tsx"],
"exclude": ["node_modules"] "exclude": ["node_modules"]
} }