diff --git a/public/index.html b/public/index.html
index 076a951..ecae82c 100644
--- a/public/index.html
+++ b/public/index.html
@@ -4,8 +4,7 @@
-
-
+
Zgłoszenie praktyki studenckiej
diff --git a/src/app.tsx b/src/app.tsx
index 0b44e75..d8bc08c 100644
--- a/src/app.tsx
+++ b/src/app.tsx
@@ -64,6 +64,7 @@ const LanguageSwitcher = ({ className, ...props }: HTMLProps)
const handleLanguageChange = (language: string) => () => {
i18n.changeLanguage(language);
+ document.documentElement.lang = language;
}
const isActive = (language: string) => language.toLowerCase() === i18n.language.toLowerCase();
diff --git a/src/i18n.ts b/src/i18n.ts
index a38e4f0..3dc605e 100644
--- a/src/i18n.ts
+++ b/src/i18n.ts
@@ -17,10 +17,11 @@ i18n
.init({
resources,
fallbackLng: "en",
- debug: true,
interpolation: {
escapeValue: false
}
})
+document.documentElement.lang = i18n.language;
+
export default i18n;
diff --git a/src/styles/header.scss b/src/styles/header.scss
index fa40ca4..9750554 100644
--- a/src/styles/header.scss
+++ b/src/styles/header.scss
@@ -36,7 +36,7 @@
}
.header__divider {
- margin: 0 .5rem;
+ margin: 0 1rem;
background: #274057;
width: 1px;
height: 60%;
@@ -59,6 +59,10 @@
li {
list-style: none;
+ &:not(:last-child) {
+ margin-right: .5rem;
+ }
+
a {
padding: 7px;
display: block;
@@ -68,4 +72,6 @@
.language-switcher__language--active {
font-weight: bold;
+ cursor: default;
+ text-decoration: none;
}