Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
sujata
/
Akruti-Frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 78ba8b7b
authored
2026-03-12 16:13:10 +0530
by
Ravindra Kanojiya
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated
1 parent
416dd34c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
components/Common/HeadTitle.js
pages/collections/[category]/[subCategory]/[productSlug].js
components/Common/HeadTitle.js
View file @
78ba8b7
...
...
@@ -8,8 +8,8 @@ const HeadTitle = ({categoryData}) => {
<>
<
section
className
=
'let-connect-section '
>
<
div
className
=
'custom_container container'
>
<
Row
className
=
'text-center'
>
<
Col
>
<
Row
className
=
'
justify-content-center align-items-center
text-center'
>
<
Col
md
=
{
8
}
>
<
Heading
el
=
"h2"
heading
=
{
categoryData
?.
title
}
/
>
<
div
className
=
'mb-0 gray-text'
dangerouslySetInnerHTML
=
{{
__html
:
categoryData
?.
description
}}
><
/div
>
{
/* <p className='mb-0 gray-text'>{categoryData?.descrition2}</p> */
}
...
...
pages/collections/[category]/[subCategory]/[productSlug].js
View file @
78ba8b7
...
...
@@ -39,13 +39,13 @@ const ProductPage = ({ productData, cataloguesData }) => {
label
:
productData
.
title
,
},
];
const
[
activeTab
,
setActiveTab
]
=
useState
(
null
);
const
productTabs
=
productData
?.
productTabs
;
useEffect
(()
=>
{
const
[
activeTab
,
setActiveTab
]
=
useState
(
null
);
const
productTabs
=
productData
?.
productTabs
;
useEffect
(()
=>
{
if
(
productTabs
?.
length
>
0
)
{
setActiveTab
(
productTabs
[
0
].
title
);
}
},
[
productTabs
]);
},
[
productTabs
]);
return
(
<>
<
Breadcrumb
breadcrumbData
=
{
breadcrumbData
}
/
>
...
...
@@ -61,7 +61,7 @@ useEffect(() => {
activeKey
=
{
activeTab
}
onSelect
=
{(
k
)
=>
setActiveTab
(
k
)}
className
=
"tab-01"
>
>
{
productTabs
?.
map
((
tab
)
=>
(
<
Tab
key
=
{
tab
.
id
}
...
...
@@ -85,7 +85,7 @@ useEffect(() => {
)}
<
/Tab
>
))}
<
/Tabs
>
<
/Tabs
>
<
/div
>
<
/div
>
<
/section
>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment