aboutsummaryrefslogtreecommitdiff
path: root/client/src/components/Header
diff options
context:
space:
mode:
authorBlaster4385 <[email protected]>2024-03-03 19:02:40 +0530
committerBlaster4385 <[email protected]>2024-04-30 11:10:37 +0530
commit5e7629a055e8568a0775436b1dbf5797a5640056 (patch)
tree7e21589964ce696fba683151ec65e36a2bcd32d0 /client/src/components/Header
parent641909aa31b2683b89fe62a219f7d5f56fbad934 (diff)
feat: formated code
Diffstat (limited to 'client/src/components/Header')
-rw-r--r--client/src/components/Header/Header.jsx6
-rw-r--r--client/src/components/Header/Header.module.css4
2 files changed, 7 insertions, 3 deletions
diff --git a/client/src/components/Header/Header.jsx b/client/src/components/Header/Header.jsx
index 712696c..9682104 100644
--- a/client/src/components/Header/Header.jsx
+++ b/client/src/components/Header/Header.jsx
@@ -7,7 +7,11 @@ 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>
+ <Link to="/">
+ <h1>
+ <span className={styles.header__mini}>mini</span>bin
+ </h1>
+ </Link>
{isSelectVisible && (
<CustomSelect
options={SUPPORTED_LANGUAGES}
diff --git a/client/src/components/Header/Header.module.css b/client/src/components/Header/Header.module.css
index 193894c..9717e14 100644
--- a/client/src/components/Header/Header.module.css
+++ b/client/src/components/Header/Header.module.css
@@ -19,7 +19,7 @@
color: inherit;
}
-.header__mini{
+.header__mini {
color: var(--color-yellow);
}
@@ -27,7 +27,7 @@
.header {
margin: 0.5rem 1rem;
}
-
+
.header h1 {
font-size: 2rem;
}