From 5cd08493633fac93a3df4d01fe7a3d10634ea84c Mon Sep 17 00:00:00 2001 From: ImAlpha Date: Mon, 13 Nov 2023 23:33:31 -0800 Subject: [PATCH] cleared unused pages --- .../app/components => UnusedPages}/AddToCart.tsx | 0 .../ProductCard/ProductCard.module.css | 0 .../ProductCard/ProductCard.tsx | 0 .../jefes-nextjs/app/components/WSPGallery/page.tsx | 11 ++++++----- Websites/jefes-nextjs/app/page.tsx | 2 +- Websites/jefes-nextjs/tsconfig.json | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) rename Websites/{jefes-nextjs/app/components => UnusedPages}/AddToCart.tsx (100%) rename Websites/{jefes-nextjs/app/components => UnusedPages}/ProductCard/ProductCard.module.css (100%) rename Websites/{jefes-nextjs/app/components => UnusedPages}/ProductCard/ProductCard.tsx (100%) diff --git a/Websites/jefes-nextjs/app/components/AddToCart.tsx b/Websites/UnusedPages/AddToCart.tsx similarity index 100% rename from Websites/jefes-nextjs/app/components/AddToCart.tsx rename to Websites/UnusedPages/AddToCart.tsx diff --git a/Websites/jefes-nextjs/app/components/ProductCard/ProductCard.module.css b/Websites/UnusedPages/ProductCard/ProductCard.module.css similarity index 100% rename from Websites/jefes-nextjs/app/components/ProductCard/ProductCard.module.css rename to Websites/UnusedPages/ProductCard/ProductCard.module.css diff --git a/Websites/jefes-nextjs/app/components/ProductCard/ProductCard.tsx b/Websites/UnusedPages/ProductCard/ProductCard.tsx similarity index 100% rename from Websites/jefes-nextjs/app/components/ProductCard/ProductCard.tsx rename to Websites/UnusedPages/ProductCard/ProductCard.tsx diff --git a/Websites/jefes-nextjs/app/components/WSPGallery/page.tsx b/Websites/jefes-nextjs/app/components/WSPGallery/page.tsx index 6502051..0f3441d 100644 --- a/Websites/jefes-nextjs/app/components/WSPGallery/page.tsx +++ b/Websites/jefes-nextjs/app/components/WSPGallery/page.tsx @@ -32,9 +32,9 @@ const WSPGallery = ({ galleryImages }) => {
{openModal && (
- - - + + +
{ / handleOpenModal(index)} /> diff --git a/Websites/jefes-nextjs/app/page.tsx b/Websites/jefes-nextjs/app/page.tsx index 158dec4..242cdc3 100644 --- a/Websites/jefes-nextjs/app/page.tsx +++ b/Websites/jefes-nextjs/app/page.tsx @@ -1,5 +1,5 @@ import Link from 'next/link'; -import ProductCard from './components/ProductCard/ProductCard'; +import ProductCard from '../../UnusedPages/ProductCard/ProductCard'; import Image from 'next/image'; export default function Home() { diff --git a/Websites/jefes-nextjs/tsconfig.json b/Websites/jefes-nextjs/tsconfig.json index 050f720..0c5660c 100644 --- a/Websites/jefes-nextjs/tsconfig.json +++ b/Websites/jefes-nextjs/tsconfig.json @@ -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"] }