Skip to content

Commit

Permalink
feat : added brandname url
Browse files Browse the repository at this point in the history
  • Loading branch information
surajhub255 committed Oct 28, 2024
1 parent 9cfeccc commit 0f08c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/brand.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Brand = ({ brandsdata }) => {

<div className="flex flex-wrap justify-center gap-6 sm:gap-8 lg:gap-10 mt-6 sm:mt-8 lg:mt-10 pb-20">
{limitedBrands?.map((brand, index) => (
<Link href={`/brand/${brand.id}`} key={index} className="flex flex-col justify-center items-center">
<Link href={`/brand/${brand.name.replace(/\s+/g, '-')}`} key={index} className="flex flex-col justify-center items-center">
<div className="flex flex-col justify-center items-center">
<img
src={`https://nftstorage.link/ipfs/${brand.logo_image.slice(7)}`}
Expand Down

0 comments on commit 0f08c1e

Please sign in to comment.