From 64bf0238666770118c66422f001a80df17f853cd Mon Sep 17 00:00:00 2001 From: codervipul775 Date: Mon, 17 Feb 2025 15:38:53 +0530 Subject: [PATCH] Fix Issue of build and add recruitment page. --- src/components/Navbar.tsx | 6 +++--- src/pages/HomePage.tsx | 13 +++++++++++-- vite.config.ts | 12 ++++++++++++ 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 42fb666..44641dd 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Code2, Users, Trophy, Home, LogIn, LogOut, UserPlus, User, FolderGit2, InfoIcon } from 'lucide-react'; +import { Code2, Users, Trophy, Home, LogIn, LogOut, UserPlus, User, FolderGit2 } from 'lucide-react'; import { Link, useLocation, useNavigate } from 'react-router-dom'; import { useAuth } from '../contexts/AuthContext'; import { toast } from 'react-toastify'; @@ -39,7 +39,7 @@ export default function Navbar() { } text="Dev Coins" active={isActive('/coins')} /> } text="Members" active={isActive('/members')} /> } text="Leaderboard" active={isActive('/leaderboard')} /> - } text="About Us" active={isActive('/about')} /> + } text="Recruitment" active={isActive('/recruitment')} /> @@ -55,7 +55,7 @@ export default function Navbar() { } text="Dev Coins" active={isActive('/coins')} /> } text="Members" active={isActive('/members')} /> } text="Leaderboard" active={isActive('/leaderboard')} /> - } text="About Us" active={isActive('/about')} /> + } text="Recruitment" active={isActive('recruitment')} /> diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 0e9bf1d..351aa32 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Code2, FolderKanban, Github, Terminal } from 'lucide-react'; +import { Code2, FolderKanban, Github, Terminal, UserPlus } from 'lucide-react'; import { Link } from 'react-router-dom'; export default function HomePage() { @@ -86,7 +86,16 @@ export default function HomePage() { Learn modern technologies, build amazing projects, and grow your skills with like-minded developers.

- Get Started + + + Join + +