aboutsummaryrefslogtreecommitdiff
path: root/client/src/components/Header/Header.jsx
diff options
context:
space:
mode:
authorBlaster4385 <blaster4385@tablaster.dev>2024-05-15 22:55:13 +0530
committerBlaster4385 <venkatesh@tablaster.dev>2024-06-09 14:10:27 +0530
commit731453588b93e02a113332d68f81e48bc11f7da7 (patch)
tree6b16d80ba200862ea71842b04de49298316551a2 /client/src/components/Header/Header.jsx
parent189ef9ef816d60fab71c0a12cdaaad245c988f37 (diff)
feat: added keyboard accessibility
Diffstat (limited to 'client/src/components/Header/Header.jsx')
-rw-r--r--client/src/components/Header/Header.jsx25
1 files changed, 0 insertions, 25 deletions
diff --git a/client/src/components/Header/Header.jsx b/client/src/components/Header/Header.jsx
deleted file mode 100644
index 9682104..0000000
--- a/client/src/components/Header/Header.jsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import React from "react";
-import { Link } from "react-router-dom";
-import { SUPPORTED_LANGUAGES } from "../../utils/constants";
-import styles from "./Header.module.css";
-import CustomSelect from "../CustomSelect/CustomSelect";
-
-const Header = ({ isSelectVisible, onLanguageChange }) => {
- return (
- <div className={styles.header}>
- <Link to="/">
- <h1>
- <span className={styles.header__mini}>mini</span>bin
- </h1>
- </Link>
- {isSelectVisible && (
- <CustomSelect
- options={SUPPORTED_LANGUAGES}
- onSelect={onLanguageChange}
- />
- )}
- </div>
- );
-};
-
-export default Header;