Skip to content

Commit

Permalink
minor error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
niyashiyas committed Nov 18, 2024
1 parent 5cc8c40 commit 5e7eaa7
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 26 deletions.
12 changes: 10 additions & 2 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ const Navbar = () => {
title: "About",
link: "/#about",
},
// {
// title: "Why Participate",
// link: "/#why",
// },
{
title: "Prizes",
link: "/#prizes",
},
{
title: "Why Participate",
link: "/#why",
title: "Partners",
link: "/#partners",
},
{
title: "Timeline",
Expand Down
44 changes: 21 additions & 23 deletions src/components/Partners/partners.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import React, {useEffect, useRef} from "react";
import "./partners.css";
import Image from "next/image";

import Devfolio from '../../assets/Gallery/devfolio.png';
import EthIndia from '../../assets/Gallery/Ethindia.png';
import Polygon from '../../assets/Gallery/polygon.png';
import KeyValue from '../../assets/Gallery/keyvalue.png';
import Devfolio from "../../assets/Gallery/devfolio.png";
import EthIndia from "../../assets/Gallery/Ethindia.png";
import Polygon from "../../assets/Gallery/polygon.png";
import KeyValue from "../../assets/Gallery/keyvalue.png";

const Partners = () => {
const rowRefs = useRef([]);
Expand Down Expand Up @@ -37,16 +37,16 @@ const Partners = () => {
}, []);

return (
<section className="partners-section">
<section className="partners-section" id="partners">
<h1 className="partners-title">OUR PARTNERS</h1>
<div className="partners-container">
{/* Title Partner */}
<div className="partners-row" ref={(el) => (rowRefs.current[0] = el)}>
<div className="partner title-partner">
<Image
src={KeyValue}
alt="KEYVALUE LOGO"
className="partner-logo"
<Image
src={KeyValue}
alt="KEYVALUE LOGO"
className="partner-logo"
width={240}
height={70}
/>
Expand All @@ -56,38 +56,36 @@ const Partners = () => {

{/* Second Row Partners */}
<div className="partners-row" ref={(el) => (rowRefs.current[1] = el)}>

<div className="partner wide-partner">
<Image
src={Polygon}
alt="POLYGON LOGO"
className="partner-logo"
<Image
src={Polygon}
alt="POLYGON LOGO"
className="partner-logo"
width={240}
height={70}
/>
<p className="partner-label font-syne-medium">Gold Partner</p>
</div>
<div className="partner wide-partner">
<Image
src={Devfolio}
alt="DEVFOLIO LOGO"
className="partner-logo"
<Image
src={Devfolio}
alt="DEVFOLIO LOGO"
className="partner-logo"
width={240}
height={70}
/>
<p className="partner-label font-syne-medium">Platinum Partner</p>
</div>
<div className="partner wide-partner">
<Image
src={EthIndia}
alt="ETHINDIA LOGO"
className="partner-logo"
<Image
src={EthIndia}
alt="ETHINDIA LOGO"
className="partner-logo"
width={240}
height={70}
/>
<p className="partner-label font-syne-medium">Gold Partner</p>
</div>

</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion src/components/prizes/prizes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function Pricing() {
}, []);

return (
<div className="pricing-section">
<div className="pricing-section" id="prizes">
<h1 className="pricing-header font-base-neue-bold text-4xl sm:text-6xl tracking-wider">
PRIZES
</h1>
Expand Down

0 comments on commit 5e7eaa7

Please sign in to comment.