Skip to content

Commit

Permalink
Updates UI
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarusmugo committed Jul 23, 2024
1 parent 4a210e0 commit 567c5a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/ProjectPage.jsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
"use client";
import React from "react";
import { useRouter } from "next/router"; // Corrected import for useRouter
// import { useRouter } from "next/router"; // Corrected import for useRouter

const ProjectPage = ({ params }) => {
const router = useRouter();
// const router = useRouter();

return (
<div className="min-h-screen flex items-center justify-center bg-gray-100">
<div className="text-center absolute top-4 left-4 z-50">
<button
{/* <button
onClick={() => router.back()}
className="relative inline-block px-20 py-5 mt-6 text-custom-blue border border-custom-blue hover:text-white font-bold overflow-hidden group"
>
<span className="absolute inset-0 bg-custom-blue transform -translate-x-full group-hover:translate-x-0 transition-transform duration-300 ease-in-out"></span>
<span className="relative">Go Back</span>
</button>
</button> */}
</div>
</div>
);
Expand Down

0 comments on commit 567c5a7

Please sign in to comment.