update src/components/Footer/index.js, src/components/ProductTab/index.js and src/views/Video/index.js

temp
mahdi 2 years ago
parent 0d2b3ab528
commit 95926c322e
  1. 3
      src/components/Footer/index.js
  2. 8
      src/components/ProductTab/index.js
  3. 10
      src/views/Video/index.js

@ -35,7 +35,8 @@ const FooterDesign1 = ({ color, bg, items, hasHeader }) => {
<a href="tel:654412 021" className="text-left mb-5">
654412 021
</a>
<a href="https://info@danovin.ir">Info@danovin.ir</a>
<a href="mailto:Info@danovin.ir">Info@danovin.ir</a>
{/* <a href="https://info@danovin.ir">Info@danovin.ir</a> */}
</div>
</div>
<div className="flex items-center">

@ -8,7 +8,8 @@ const ProductTab = ({ tabs }) => {
<section className="mt-10 flex flex-col w-full">
<div className="rounded-md bg-grayF9">
<ul className="flex flex-row justify-center gap-16">
{tabs.map((tab, index) => (
{tabs.map((tab, index) =>
tab.shown ? (
<li
className={`text-tiny font-semibold cursor-pointer hover:text-blueC0 py-4 transition-all duration-500 ${
selectedTab?.title === tab?.title
@ -20,7 +21,10 @@ const ProductTab = ({ tabs }) => {
>
{tab.title}
</li>
))}
) : (
<></>
)
)}
</ul>
</div>
<div className={`rounded w-full flex items-center`}>

@ -110,6 +110,7 @@ function Video({
tabs={[
{
title: "سر فصل ها",
shown: true,
components: (
<div className="flex flex-col w-full mt-5 gap-5">
{seasons
@ -122,16 +123,22 @@ function Video({
},
{
title: "مشخصات",
shown: book?.product.filter(
(product) => product?.productType === 4
)?.properties?.length,
components: (
<Table
specifications={
book?.product[2]?.properties.length > 0 || []
book?.product.filter(
(product) => product?.productType === 4
)?.properties
}
/>
),
},
{
title: "نقد و بررسی",
shown: true,
components: (
<div className="bg-gray-100 rounded-md mt-4 w-full flex justify-center items-center h-40 text-green4F text-tiny">
این بخش فعلا قابل دسترسی نیست.
@ -140,6 +147,7 @@ function Video({
},
{
title: "پرسش و پاسخ",
shown: true,
components: (
<div className="bg-gray-100 rounded-md mt-4 w-full flex justify-center items-center h-40 text-green4F text-tiny">
این بخش فعلا قابل دسترسی نیست.

Loading…
Cancel
Save