diff --git a/README.md b/README.md
index 58beeac..13dacaf 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,38 @@
+# Cloning the Repository
+
+To clone this repository along with its submodules, follow the instructions below. These steps will ensure that you have a complete copy of the project, including [กรธ.60 - Data Query](https://github.com/iampz/c60-data-query.git)
+
+### Steps to Clone
+
+1. **Clone the Repository**
+
+ Open your terminal or command prompt and run the following command:
+
+ ```
+ git clone --recurse-submodules https://github.com/kaogeek/cons60-web
+ ```
+
+ This command clones the repository and all its submodules.
+
+1. **Initialize and Update Submodules**
+
+ If the repository was cloned without using `--recurse-submodules`, you need to run the following commands to initialize and update the submodules:
+
+ ```
+ git submodule update --init --recursive
+ ```
+
+This command initializes your local configuration file for submodules and updates the submodules.
+
+### Troubleshooting
+
+If you encounter any issues with submodules, such as broken links or missing files, you can try re-syncing and updating the submodules:
+
+```
+git submodule sync
+git submodule update --init --recursive
+```
+
# Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
diff --git a/src/App.js b/src/App.js
index 23faeed..07bba5a 100644
--- a/src/App.js
+++ b/src/App.js
@@ -3,16 +3,22 @@ import { Routes, Route } from "react-router-dom";
import Navbar from "./components/Navbar";
import Home from "./pages/Home";
import About from "./pages/About";
+import Search from "./pages/Search";
import Chapter from "./pages/Chapter";
+import Discussionist from "./pages/Discussionist";
+import ScrollToTop from "./components/ScrollToTop";
export default function App() {
return (
-
+
+ } />
} />
+ } />
} />
+ } />
)
diff --git a/src/c60-data-query b/src/c60-data-query
index e88bc2a..47aa3b6 160000
--- a/src/c60-data-query
+++ b/src/c60-data-query
@@ -1 +1 @@
-Subproject commit e88bc2ad6a61bbd754aab2405f96946402ce64cd
+Subproject commit 47aa3b6dadfb8d616b513f477f6915bc700d3fd0
diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx
index dfdc335..1aabde0 100644
--- a/src/components/Navbar.jsx
+++ b/src/components/Navbar.jsx
@@ -1,76 +1,136 @@
-import React from "react";
import Logo from "./Logo";
import HamburgerSVG from "./HamburgerSVG";
import CloseBtnSVG from "./CloseBtnSVG";
import { Link } from "react-router-dom";
+import { useLocation } from 'react-router-dom';
+import { Icon } from "@iconify/react";
+import React, { useEffect, useRef } from "react";
+
function Navbar() {
const [showMenu, setShowMenu] = React.useState(false);
+ const location = useLocation();
+ const searchInputRef = useRef(null);
+
+ useEffect(() => {
+ // Automatically focus the search input when on the search page
+ if (location.pathname === '/search') {
+ searchInputRef.current?.focus();
+ }
+ }, [location.pathname]); // Dependency array to re-run effect when pathname changes
+
return (