diff --git a/src/components/Header.jsx b/src/components/Header.jsx
index 6220f87..65ffb20 100644
--- a/src/components/Header.jsx
+++ b/src/components/Header.jsx
@@ -81,6 +81,9 @@ const Header = ({ }) => {
+
i18n.changeLanguage(i18n.language === "en" ? "tr" : "en")}>
{
diff --git a/src/langs/en.js b/src/langs/en.js
index 700a3f9..5a66e71 100644
--- a/src/langs/en.js
+++ b/src/langs/en.js
@@ -1,6 +1,7 @@
export const en = {
header: {
about: "About",
+ bookmarks: "Bookmarks",
},
about: {
title: "About",
diff --git a/src/langs/tr.js b/src/langs/tr.js
index 8696be4..bfa7731 100644
--- a/src/langs/tr.js
+++ b/src/langs/tr.js
@@ -1,6 +1,7 @@
export const tr = {
header: {
about: "Hakkımda",
+ bookmarks: "Pinler",
},
about: {
title: "Hakkımda",
diff --git a/src/main.jsx b/src/main.jsx
index b3c8ec2..f2721b0 100644
--- a/src/main.jsx
+++ b/src/main.jsx
@@ -38,6 +38,8 @@ i18n
}
});
+i18n.on("languageChanged", lng => { document.documentElement.lang = lng; });
+
const router = createBrowserRouter([
{
path: "/",
@@ -51,6 +53,10 @@ const router = createBrowserRouter([
path: "/about",
element: ,
},
+ {
+ path: "/bookmarks",
+ element: ,
+ },
],
},
]);
diff --git a/src/pages/Bookmarks.jsx b/src/pages/Bookmarks.jsx
new file mode 100644
index 0000000..e93b499
--- /dev/null
+++ b/src/pages/Bookmarks.jsx
@@ -0,0 +1,84 @@
+import React, { useState } from "react";
+
+import {
+ Box, Container, Paper, Typography, Grid,
+ Card,
+ Tooltip,
+} from "@mui/material";
+
+const Pin = ({ url, name, description }) => {
+
+ return (
+
+
+ window.open(url, "_blank")}
+ >
+
+ {name}
+
+
+ {url}
+
+
+
+
+ )
+}
+
+const Bookmarks = () => {
+
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+export default Bookmarks;
\ No newline at end of file
diff --git a/src/pages/index.js b/src/pages/index.js
index 1ca4db6..d6642a6 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -1,7 +1,9 @@
import About from "./About";
import Main from "./Main";
+import Bookmarks from "./Bookmarks";
export default {
About,
Main,
+ Bookmarks,
}
\ No newline at end of file