diff --git a/app/(root)/page.jsx b/app/(root)/page.jsx
index 2c4180a..28afdd1 100644
--- a/app/(root)/page.jsx
+++ b/app/(root)/page.jsx
@@ -103,7 +103,9 @@ const MyPage = () => {
Download CV
diff --git a/app/about/page.jsx b/app/about/page.jsx
index 0f65861..92163b9 100644
--- a/app/about/page.jsx
+++ b/app/about/page.jsx
@@ -22,7 +22,7 @@ export default function Page() {
const handleBack = () => {
- window.history.back();
+ window.location.href = "/";
};
return (
<>
diff --git a/app/projects/[slug]/page.jsx b/app/projects/[slug]/page.jsx
index b62389c..292ab12 100644
--- a/app/projects/[slug]/page.jsx
+++ b/app/projects/[slug]/page.jsx
@@ -7,6 +7,8 @@ import { faGithub } from "@fortawesome/free-brands-svg-icons";
import { faArrowUpRightFromSquare } from "@fortawesome/free-solid-svg-icons";
import NotFound from "@/app/not-found";
import Image from "next/image";
+import FixedButon from "@/components/FixedButton";
+import { faChevronLeft } from "@fortawesome/free-solid-svg-icons";
function Page({ params }) {
const [data, setData] = useState(null);
@@ -28,7 +30,6 @@ function Page({ params }) {
>
);
} else if (!data) {
- // skleton loading
return (
@@ -54,9 +55,17 @@ function Page({ params }) {
);
}
-
+ const handleBack = () => {
+ window.history.back();
+ };
return (
+
+
+
diff --git a/app/projects/archive/page.jsx b/app/projects/archive/page.jsx
index 83e8b03..a1e6a06 100644
--- a/app/projects/archive/page.jsx
+++ b/app/projects/archive/page.jsx
@@ -4,7 +4,8 @@ import { motion } from "framer-motion";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faGithub } from "@fortawesome/free-brands-svg-icons";
import { faArrowUpRightFromSquare } from "@fortawesome/free-solid-svg-icons";
-
+import FixedButon from "@/components/FixedButton";
+import { faChevronLeft } from "@fortawesome/free-solid-svg-icons";
const projects = [
{
year: "2023",
@@ -84,9 +85,18 @@ const projects = [
},
];
export default function Page () {
+ const handleBack = () => {
+ window.history.back();
+ };
return (
<>
+
+
+
{
- window.history.back();
+ window.location.href = "/";
};
return (
<>
diff --git a/components/Hr.jsx b/components/Hr.jsx
index 6625452..f0d301a 100644
--- a/components/Hr.jsx
+++ b/components/Hr.jsx
@@ -7,7 +7,7 @@ export default function Hr() {
className="bg-gray-700 w-20 h-1 rounded-full mb-2"
initial={{
opacity: 0,
- x: -50,
+ x: -45,
}}
whileInView={{
opacity: 1,