diff --git a/src/components/Footer/FooterLink.jsx b/src/components/Footer/FooterLink.jsx
index cc25252..5ce5dfa 100755
--- a/src/components/Footer/FooterLink.jsx
+++ b/src/components/Footer/FooterLink.jsx
@@ -2,7 +2,7 @@ import { Link } from "react-router-dom";
function FooterLink({ link }) {
return (
-
+
);
diff --git a/src/components/Navbar/Navbar.styles.scss b/src/components/Navbar/Navbar.styles.scss
index bb95a2d..8d42128 100755
--- a/src/components/Navbar/Navbar.styles.scss
+++ b/src/components/Navbar/Navbar.styles.scss
@@ -29,8 +29,6 @@ $primary-text-color: white;
align-items: center;
.nav-link {
- position: relative;
-
font-size: 16px;
font-weight: 500;
line-height: 20px;
@@ -43,21 +41,7 @@ $primary-text-color: white;
}
.nav-link::after {
- position: absolute;
- content: '';
- left: 50%;
- transform: translateX(-50%);
- bottom: 0;
- display: block;
- width: 0;
- height: 1px;
background: white;
- transition: 0.3s;
- }
-
- .nav-link:hover:after,
- .nav-link.active:after {
- width: 100%;
}
}
}
\ No newline at end of file
diff --git a/src/pages/Root/Root.styles.scss b/src/pages/Root/Root.styles.scss
index 15953f3..41e60c5 100755
--- a/src/pages/Root/Root.styles.scss
+++ b/src/pages/Root/Root.styles.scss
@@ -80,4 +80,32 @@ $btn-dark: #585858;
color: white;
background-color: $btn-dark;
+}
+
+.block .heading a,
+.navbar .nav-link {
+ position: relative;
+}
+
+.block .heading a::after,
+.navbar .nav-link::after {
+ position: absolute;
+ content: '';
+ left: 50%;
+ transform: translateX(-50%);
+ bottom: 0;
+ display: block;
+ width: 0;
+ height: 1px;
+ transition: 0.3s;
+}
+
+.block .heading a::after {
+ background: black;
+}
+
+.block .heading a:hover:after,
+.navbar .nav-link:hover:after,
+.navbar .nav-link.active:after {
+ width: 100%;
}
\ No newline at end of file