From 4a1baaf854a7f788afb48099607acbcc521b80d3 Mon Sep 17 00:00:00 2001 From: pawan-dot <71133473+pawan-dot@users.noreply.github.com> Date: Thu, 2 Mar 2023 22:01:52 +0530 Subject: [PATCH] testimonial and product --- public/index.html | 2 +- src/_nav.js | 4 +- src/components/AppSidebar.js | 2 +- src/index.js | 2 +- src/routes.js | 13 +- src/views/Complaints/ViewComplaint.js | 9 - src/views/Products/AddProduct.js | 218 +++++---------- src/views/Products/EditProduct.js | 256 ++++++------------ src/views/Products/Products.js | 23 +- src/views/Products/ViewProduct.js | 14 +- .../AddTestimonial.js} | 137 +++++++--- .../Testimonials.js} | 50 ++-- src/views/Testimonials/ViewTestimonial.js | 122 +++++++++ src/views/pages/login/Login.js | 2 +- 14 files changed, 443 insertions(+), 411 deletions(-) delete mode 100644 src/views/Complaints/ViewComplaint.js rename src/views/{Complaints/AddComplaint.js => Testimonials/AddTestimonial.js} (55%) rename src/views/{Complaints/Complaints.js => Testimonials/Testimonials.js} (92%) create mode 100644 src/views/Testimonials/ViewTestimonial.js diff --git a/public/index.html b/public/index.html index de98f8b..ae50a5f 100644 --- a/public/index.html +++ b/public/index.html @@ -15,7 +15,7 @@ -
Id | {testimonial?._id} |
---|---|
Name | {testimonial?.name} |
image |
+
+ |
Company | {testimonial?.company} |
Testimonial | {testimonial?.testimonial} |
Testimonial Time | {testimonial?.time} |
Location | {testimonial?.location} |
Created On | + {new Date(`${testimonial?.createdAt}`).toDateString()} , {`${formatAMPM(testimonial?.createdAt)}`} + |
Updated At | ++ {new Date(`${testimonial?.updatedAt}`).toDateString()} , {`${formatAMPM(testimonial?.updatedAt)}`} + | +
Sign In to Your ChatGpt Airport Admin Dashboard Account.
+Sign In to Your Jatin Mor Admin Dashboard Account.