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 d643beed
authored
2026-03-02 14:23:01 +0530
by
Ravindra Kanojiya
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated
1 parent
1b615069
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
28 deletions
components/Catalogue/InnerDetailsCatalogue.js
components/Common/InnerBanner.js
components/Layout/Header.js
public/image/contacts-m.png
styles/globals.css
components/Catalogue/InnerDetailsCatalogue.js
View file @
d643bee
...
...
@@ -94,7 +94,7 @@ const InnerDetailsCatalogue = ({ subCategory = "All Catalogue", cataloguesData }
<
Row
>
{
sortedProducts
.
map
((
product
,
index
)
=>
(
<
Col
xs
=
{
6
}
md
=
{
4
}
key
=
{
`
${
product
.
productSlug
}
-
${
index
}
`
}
>
<
Col
xs
=
{
12
}
md
=
{
4
}
key
=
{
`
${
product
.
productSlug
}
-
${
index
}
`
}
>
<
div
className
=
"collections-item"
>
<
Link
href
=
{
cleanImage
(
product
?.
pdfLink
?.
url
||
"#"
)}
target
=
"_blank"
>
<
Image
...
...
components/Common/InnerBanner.js
View file @
d643bee
...
...
@@ -2,12 +2,14 @@ import React from 'react'
import
{
Col
,
Row
}
from
'react-bootstrap'
import
{
cleanImage
}
from
'../services/imageHandling'
import
Image
from
'next/image'
import
{
useRouter
}
from
'next/router'
const
InnerBanner
=
({
bannerData
})
=>
{
const
router
=
useRouter
();
const
routeName
=
router
.
pathname
.
replace
(
"/"
,
""
);
return
(
<>
<
section
className
=
'innerbanner-section'
>
<
section
className
=
{
`innerbanner-section
${
routeName
}
`
}
>
<
div
className
=
'innerbanner'
>
<
Row
>
<
Col
>
...
...
components/Layout/Header.js
View file @
d643bee
...
...
@@ -128,7 +128,6 @@ import { cleanImage } from "../services/imageHandling";
// ];
export
default
function
Navigation
({
collectionsData
=
[]
})
{
const
[
scrolled
,
setScrolled
]
=
useState
(
false
);
const
[
show
,
setShow
]
=
useState
(
false
);
const
[
activeMenu
,
setActiveMenu
]
=
useState
(
null
);
...
...
@@ -180,8 +179,7 @@ export default function Navigation({ collectionsData = [] }) {
const
headerData
=
useSelector
((
state
)
=>
state
.
header
.
data
);
const
showLevel3
=
collectionL2
?.
products
?.
length
>
0
;
const
showLevel3
=
collectionL2
?.
products
?.
length
>
0
;
return
(
<>
...
...
@@ -226,8 +224,6 @@ const showLevel3 = collectionL2?.products?.length > 0;
<
div
className
=
"dropdown-menu-inner custom_container"
>
<
Row
>
<
Col
md
=
{
showLevel3
?
8
:
8
}
>
<
Row
>
<
Col
md
=
{
4
}
>
<
h6
className
=
"nav-head01"
>
Collections
<
/h6
>
...
...
@@ -296,8 +292,7 @@ const showLevel3 = collectionL2?.products?.length > 0;
))}
</ul>
</Col>
)}
)}
</Row>
</Col>
...
...
@@ -326,8 +321,6 @@ const showLevel3 = collectionL2?.products?.length > 0;
))}
<
/Row
>
<
/Col
>
<
/Row
>
<
/div
>
<
/div
>
...
...
@@ -480,14 +473,14 @@ const showLevel3 = collectionL2?.products?.length > 0;
About
<
/Link
>
<
Link
href
=
"/
about
"
href
=
"/
catalogue
"
className
=
"menu-item"
onClick
=
{()
=>
setShow
(
false
)}
>
Catalogue
<
/Link
>
<
Link
href
=
"/con
tacts
"
href
=
"/con
nect
"
className
=
"menu-item"
onClick
=
{()
=>
setShow
(
false
)}
>
...
...
@@ -575,8 +568,7 @@ const showLevel3 = collectionL2?.products?.length > 0;
{
sub
.
subCategoryName
}
<
/Link
>
);
})}
})}
<
/
>
)}
...
...
@@ -663,16 +655,32 @@ const showLevel3 = collectionL2?.products?.length > 0;
{
/* ‹ Brands */
}
<
/button
>
{
activeBrand
.
subCategories
.
map
((
sub
)
=>
(
<
Link
key
=
{
sub
.
subCategorySlug
}
href
=
{
`/brands/
${
activeBrand
.
categorySlug
}
/
${
sub
.
subCategorySlug
}
`
}
className
=
"menu-item"
onClick
=
{()
=>
setShow
(
false
)}
>
{
sub
.
subCategoryName
}
<
Link
href
=
"/brands/valcucine"
>
<
Image
width
=
{
177
}
height
=
{
60
}
src
=
"/image/header-logo/valcucine.png"
/
>
<
/Link
>
))}
<
Link
href
=
"/brands/rimadesio"
>
<
Image
width
=
{
177
}
height
=
{
60
}
src
=
"/image/header-logo/rimadesio.png"
/
>
<
/Link
>
<
Link
href
=
"/brands/inalco"
>
<
Image
width
=
{
177
}
height
=
{
60
}
src
=
"/image/header-logo/inalco.png"
/
>
<
/Link
>
<
/
>
)}
<
/Nav
>
...
...
public/image/contacts-m.png
0 → 100644
View file @
d643bee
131 KB
styles/globals.css
View file @
d643bee
...
...
@@ -1245,6 +1245,12 @@ footer a:hover {
}
/* ===Media query==== */
@media
(
max-width
:
767px
)
{
.innercontent-section
iframe
{
height
:
235px
;
}
.innerbanner-section.connect
.product-banner
img
{
object-position
:
center
right
;
}
.cataloguesSwiper
.collection-card
img
{
max-height
:
456px
;
}
...
...
@@ -1313,11 +1319,14 @@ footer a:hover {
max-width
:
95%
;
}
.exp-showroom-img
img
{
height
:
45vw
;
height
:
235px
;
}
.exp-showroom-img
img
:first-child
{
margin-top
:
3
rem
;
.exp-showroom-img
.
img
:first-child
{
margin-top
:
4
rem
;
}
/* .exp-showroom-img img:first-child {
margin-top: 3rem;
} */
.exp-showroom-img
img
{
margin
:
0.4rem
;
}
...
...
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