Skip to content

Commit c43b58b

Browse files
committed
first commit
0 parents  commit c43b58b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+3658
-0
lines changed

.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
.yarn/install-state.gz
8+
9+
# testing
10+
/coverage
11+
12+
# next.js
13+
/.next/
14+
/out/
15+
16+
# production
17+
/build
18+
19+
# misc
20+
.DS_Store
21+
*.pem
22+
23+
# debug
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
28+
# local env files
29+
.env*.local
30+
31+
# vercel
32+
.vercel
33+
34+
# typescript
35+
*.tsbuildinfo
36+
next-env.d.ts

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2+
3+
## Getting Started
4+
5+
First, run the development server:
6+
7+
```bash
8+
npm run dev
9+
# or
10+
yarn dev
11+
# or
12+
pnpm dev
13+
# or
14+
bun dev
15+
```
16+
17+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18+
19+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
20+
21+
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
22+
23+
## Learn More
24+
25+
To learn more about Next.js, take a look at the following resources:
26+
27+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29+
30+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
31+
32+
## Deploy on Vercel
33+
34+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
35+
36+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

app/Product/allProduct.tsx

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
import React from "react";
2+
import Card from "@/components/card";
3+
const AllProduct = () => {
4+
const allProducts = [
5+
{
6+
id: 0,
7+
name: "Strawberry Rabbit Soft Toy",
8+
category: "Soft Toy",
9+
title: "Strawberry Rabbit Soft Toy",
10+
imageSrc: "/product/strawberry-rabbit.webp",
11+
description: "A cute soft toy shaped like a strawberry rabbit.",
12+
price: 499,
13+
discountPrice: 399,
14+
offer: "20% off",
15+
},
16+
{
17+
id: 1,
18+
name: "iPhone 12 Pro Max",
19+
category: "Feature Phone",
20+
title: "iPhone 12 Pro Max",
21+
imageSrc: "/mobile/iphone1.jpeg",
22+
description:
23+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.",
24+
price: 84999,
25+
discountPrice: 79999,
26+
offer: "5% off",
27+
},
28+
{
29+
id: 2,
30+
name: "Women's Sandal",
31+
category: "Footwear",
32+
title: "Women's Sandal",
33+
imageSrc: "/product/sandal.webp",
34+
description: "Comfortable sandals for women, suitable for casual wear.",
35+
price: 799,
36+
discountPrice: 599,
37+
offer: "25% off",
38+
},
39+
{
40+
id: 3,
41+
name: "Slipper",
42+
category: "Footwear",
43+
title: "Slipper",
44+
imageSrc: "/product/slipper.webp",
45+
description: "Simple and cozy slippers for indoor use.",
46+
price: 899,
47+
discountPrice: 799,
48+
offer: "10% off",
49+
},
50+
{
51+
id: 4,
52+
name: "Ring",
53+
category: "Diamond",
54+
title: "Ring",
55+
imageSrc: "/jewellry/ring2.webp",
56+
description: "Elegant diamond ring, perfect for special occasions.",
57+
price:35000,
58+
discountPrice: 3380,
59+
offer: "5% off",
60+
},
61+
{
62+
id: 5,
63+
name: "Mobile 2",
64+
category: "Feature Phone",
65+
title: "Mobile 2",
66+
imageSrc: "/mobile/mobile2.jpeg",
67+
description: "Description for Mobile 2 goes here.",
68+
price: 17999,
69+
discountPrice: 15999,
70+
offer: "5% off",
71+
},
72+
{
73+
id: 6,
74+
name: "Smartphone Tablet",
75+
category: "Tablet",
76+
title: "Smartphone Tablet",
77+
imageSrc: "/mobile/tab1.jpeg",
78+
description: "Description for Smartphone goes here.",
79+
price: 50099,
80+
discountPrice: 40099,
81+
offer: "10% off",
82+
},
83+
{
84+
id: 7,
85+
name: "door-curtain",
86+
category: "Curtain",
87+
title: "Polyester Semi Transparent Door Curtain",
88+
imageSrc: "/product/door-curtain.webp",
89+
description: "Pack of 3 semi-transparent door curtains.",
90+
price: 799,
91+
discountPrice: 599,
92+
offer: "25% off",
93+
},
94+
{
95+
id: 8,
96+
name: "Buddha Monk Statue",
97+
category: "Statue",
98+
title: "Buddha Monk Statue",
99+
imageSrc: "/product/buddhamonk.webp",
100+
description: "Decorative Buddha monk statue for home or office.",
101+
price: 299,
102+
discountPrice: 199,
103+
offer: "15% off",
104+
},
105+
{
106+
id: 9,
107+
name: "Tablet",
108+
category: "Feature Tablet",
109+
title: "Tablet",
110+
imageSrc: "/mobile/tab3.jpeg",
111+
description: "Description for Tablet goes here.",
112+
price: 50099,
113+
discountPrice: 40099,
114+
offer: "10% off",
115+
},
116+
{
117+
id: 10,
118+
name: "Men Solid T-shirt",
119+
category: "T-shirt",
120+
title: "Men Solid T-shirt",
121+
imageSrc: "/product/tshirt1.webp",
122+
description: "Solid color t-shirt for men, available in various sizes.",
123+
price: 499,
124+
discountPrice: 399,
125+
offer: "10% off",
126+
},
127+
{
128+
id: 11,
129+
name: "Fresh from Loom 274 cm (9 ft) Polyester Room Darkening Long Door Curtain (Pack Of 2) (Abstract, Grey)",
130+
category: "Curtain",
131+
title: "Polyester Room Darkening Long Door Curtain",
132+
imageSrc: "/product/window-curtain.webp",
133+
description: "Pack of 2 room darkening door curtains in abstract grey design.",
134+
price: 799,
135+
discountPrice: 699,
136+
offer: "10% off",
137+
},
138+
];
139+
140+
141+
return (
142+
<div className="px-4 py-8 md:py-3 mt-8 sm:max-w-screen-sm md:max-w-screen-md lg:max-w-screen-xl mx-auto">
143+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-10">
144+
{allProducts.map((product) => (
145+
146+
<Card
147+
key={product.id}
148+
imageSrc={product.imageSrc}
149+
name={product.name}
150+
title={product.title}
151+
category={product.category}
152+
description={product.description}
153+
price={product.price}
154+
discountPrice={product.discountPrice}
155+
offer={product.offer}
156+
/>
157+
158+
))}
159+
</div>
160+
</div>
161+
)};
162+
export default AllProduct;

app/Product/fashion.tsx

Whitespace-only changes.

app/Product/jewellry.tsx

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
// app/product/jewelry.tsx
2+
import React from "react";
3+
import Card from "@/components/card";
4+
5+
const JewellryPage = () => {
6+
// Example data for jewelry products
7+
const jewelryProducts = [
8+
{
9+
id: 0,
10+
name: "Necklace",
11+
category: "Gold",
12+
title: "",
13+
imageSrc: "/jewellry/necklace.avif",
14+
description: "Elegant diamond ring, perfect for special occasions.",
15+
price:35000,
16+
discountPrice: 3380,
17+
offer: "5% off",
18+
},
19+
{
20+
id: 1,
21+
name: "Ring",
22+
category: "Diamond",
23+
title: "",
24+
imageSrc: "/jewellry/ring4.webp",
25+
description: "Elegant diamond ring, perfect for special occasions.",
26+
price:35000,
27+
discountPrice: 3380,
28+
offer: "5% off",
29+
},
30+
{
31+
id: 2,
32+
name: "Ring",
33+
category: "gold",
34+
title: "",
35+
imageSrc: "/jewellry/ring2.webp",
36+
description: "Elegant diamond ring, perfect for special occasions.",
37+
price:35000,
38+
discountPrice: 3380,
39+
offer: "5% off",
40+
},
41+
{
42+
id: 4,
43+
name: "Braclet",
44+
category: "Platinum",
45+
title: "",
46+
imageSrc: "/jewellry/braclet.webp",
47+
description: "Elegant Platinum braclet, perfect for special occasions.",
48+
price:35000,
49+
discountPrice: 3380,
50+
offer: "5% off",
51+
},
52+
{
53+
id: 5,
54+
name: "Ring",
55+
category: "Diamond",
56+
title: "",
57+
imageSrc: "/jewellry/ring-box.png",
58+
description: "Elegant diamond ring, perfect for special occasions.",
59+
price:35000,
60+
discountPrice: 3380,
61+
offer: "5% off",
62+
},
63+
{
64+
id: 6,
65+
name: "Ring",
66+
category: "Diamond",
67+
title: "",
68+
imageSrc: "/jewellry/ring3.jpg",
69+
description: "Elegant diamond ring, perfect for special occasions.",
70+
price:35000,
71+
discountPrice: 3380,
72+
offer: "5% off",
73+
},
74+
];
75+
76+
return (
77+
<div className=" px-4 py-6 md:py-3 mt-2 sm:max-w-screen-sm md:max-w-screen-md lg:max-w-screen-xl mx-auto">
78+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
79+
{jewelryProducts.map((product) => (
80+
<Card
81+
key={product.id}
82+
imageSrc={product.imageSrc}
83+
name={product.name}
84+
title={product.title}
85+
category={product.category}
86+
description={product.description}
87+
price={product.price}
88+
discountPrice={product.discountPrice}
89+
offer={product.offer}
90+
/>
91+
))}
92+
</div>
93+
</div>
94+
);
95+
};
96+
97+
export default JewellryPage;

0 commit comments

Comments
 (0)