Skip to content

Commit

Permalink
renamed to HomePage
Browse files Browse the repository at this point in the history
  • Loading branch information
priyankarpal committed Mar 7, 2023
1 parent 8098adc commit d100539
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Navbar, Footer } from "./components";
import { ProjectsPage, Home } from "./pages";
import { ProjectsPage, HomePage } from "./pages";
import { Route, Routes, Navigate } from "react-router-dom";

function App() {
return (
<div className="bg-secondary text-white">
<div className=" text-white">
<Navbar />
<Routes>
<Route exact path="/" element={<Home />} />
<Route exact path="/" element={<HomePage />} />
<Route path="ProjectsPage" element={<ProjectsPage />} />
<Route path="/*" element={<Navigate to={"/"} />} />
</Routes>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Home.jsx → src/pages/HomePage.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { Link } from "react-router-dom";

const Home = () => {
const HomePage = () => {
return (
<section>
<div className="mx-auto max-w-screen-xl px-4 py-20 lg:flex my-28 lg:items-center ">
Expand Down Expand Up @@ -42,4 +42,4 @@ const Home = () => {
);
};

export default Home;
export default HomePage;
5 changes: 2 additions & 3 deletions src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import ProjectsPage from "./ProjectsPage";
import Home from "./Home";

export { ProjectsPage, Home };
import HomePage from "./HomePage";
export { ProjectsPage, HomePage };

1 comment on commit d100539

@vercel
Copy link

@vercel vercel bot commented on d100539 Mar 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

projectshut – ./

projectshut-priyankarpal.vercel.app
projectshut.vercel.app
projectshut-git-main-priyankarpal.vercel.app

Please sign in to comment.