Skip to content

Commit a348c1c

Browse files
committed
Rename components in OpportunitiesHub for consistency and clarity
1 parent 908453e commit a348c1c

File tree

8 files changed

+1073
-12
lines changed

8 files changed

+1073
-12
lines changed

src/Page/OpportunitiesHub/CompetitionList.jsx

Lines changed: 581 additions & 0 deletions
Large diffs are not rendered by default.

src/Page/OpportunitiesHub/Competitions.jsx

Lines changed: 480 additions & 0 deletions
Large diffs are not rendered by default.
File renamed without changes.

src/Page/OpportunitiesHub/Freelancing.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ArrowLeft } from 'lucide-react';
44
import { Footer } from '../../components/Footer/Footer';
55
import styled from 'styled-components';
66
import Marquee from 'react-fast-marquee';
7-
import JobsCard from './JobsCard';
7+
import Freelance from './FreelanceList';
88

99
const Navbar = () => {
1010
return (
@@ -707,7 +707,7 @@ const JobAlerts = () => {
707707
);
708708
};
709709

710-
const Jobs = () => {
710+
const Freelancing = () => {
711711
const location = useLocation();
712712

713713
useEffect(() => {
@@ -725,11 +725,11 @@ const Jobs = () => {
725725
<Hero />
726726
<Tags />
727727
<JobAlerts />
728-
<JobsCard />
728+
<Freelance />
729729
<div className="my-8"></div> {/* Adds vertical spacing */}
730730
<Footer />
731731
</div>
732732
);
733733
};
734734

735-
export default Jobs;
735+
export default Freelancing;

src/Page/OpportunitiesHub/InternshipCard.jsx renamed to src/Page/OpportunitiesHub/InternshipList.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ const Card6 = () => {
951951
);
952952
};
953953

954-
const InternshipCard = () => {
954+
const InternshipList = () => {
955955
return (
956956
<>
957957
<div className="grid grid-cols-1 gap-6 px-3 sm:gap-4 md:grid-cols-2 lg:grid-cols-3">
@@ -966,4 +966,4 @@ const InternshipCard = () => {
966966
);
967967
};
968968

969-
export default InternshipCard;
969+
export default InternshipList;

src/Page/OpportunitiesHub/Internships.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ArrowLeft } from 'lucide-react';
44
import { Footer } from '../../components/Footer/Footer';
55
import styled from 'styled-components';
66
import Marquee from 'react-fast-marquee';
7-
import InternshipCard from './InternshipCard';
7+
import Internship from './InternshipList';
88

99
const Navbar = () => {
1010
return (
@@ -737,7 +737,7 @@ const Internships = () => {
737737
<Hero />
738738
<Tags />
739739
<InternshipAlerts />
740-
<InternshipCard />
740+
<Internship />
741741
<div className="my-8"></div> {/* Adds vertical spacing */}
742742
<Footer />
743743
</div>

src/Page/OpportunitiesHub/Jobs.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ArrowLeft } from 'lucide-react';
44
import { Footer } from '../../components/Footer/Footer';
55
import styled from 'styled-components';
66
import Marquee from 'react-fast-marquee';
7-
import JobsCard from './JobsCard';
7+
import JobsList from './JobsList';
88

99
const Navbar = () => {
1010
return (
@@ -725,7 +725,7 @@ const Jobs = () => {
725725
<Hero />
726726
<Tags />
727727
<JobAlerts />
728-
<JobsCard />
728+
<JobsList />
729729
<div className="my-8"></div> {/* Adds vertical spacing */}
730730
<Footer />
731731
</div>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ const Card6 = () => {
951951
);
952952
};
953953

954-
const JobsCard = () => {
954+
const JobsList = () => {
955955
return (
956956
<>
957957
<div className="grid grid-cols-1 gap-6 px-3 sm:gap-4 md:grid-cols-2 lg:grid-cols-3">
@@ -966,4 +966,4 @@ const JobsCard = () => {
966966
);
967967
};
968968

969-
export default JobsCard;
969+
export default JobsList;

0 commit comments

Comments
 (0)