Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions src/components/pages/Service.jsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
import React from "react";
import NavBar from "../NavBar";
// import DeployForm from "./DeployForm";
import ProjectsPage from "./ProjectsPage";
import Footer from "../Footer";
import { useLocation, useNavigate } from "react-router-dom";

const Service = () => {
const location = useLocation();

// Handle GitHub OAuth callback
const code = new URLSearchParams(location.search).get('code');

return (
<>

<div style={{ marginTop: "70px" }}> {/* Adjust based on NavBar height */}
{/* <DeployForm /> we will go at this form after deploy buttin on projects page now make projects page */}
<ProjectsPage />
<div style={{ marginTop: "70px" }}>
<ProjectsPage githubCode={code} />
</div>
</>
);
Expand Down