Browse Source

retraits de bouts de code inutiles

Lou 3 years ago
parent
commit
2864bcba09
2 changed files with 2 additions and 3 deletions
  1. 1
    1
      src/components/navbar/index.jsx
  2. 1
    2
      src/components/navbar/index.scss

+ 1
- 1
src/components/navbar/index.jsx View File

@@ -1,4 +1,4 @@
1
-import React, { useContext, useState, useEffect } from "react";
1
+import React, { useContext, useState } from "react";
2 2
 import { Link } from "gatsby";
3 3
 
4 4
 import HeaderContext from "../../context/headerContext";

+ 1
- 2
src/components/navbar/index.scss View File

@@ -7,7 +7,7 @@
7 7
 }
8 8
 
9 9
 nav {
10
-	position: fixed; //must not be changed
10
+	position: fixed;
11 11
 	z-index: 1;
12 12
 	margin: 0;
13 13
 	width: 100vw;
@@ -53,7 +53,6 @@ nav {
53 53
 	}
54 54
 }
55 55
 	#contact-btn {
56
-		// margin-left: auto;
57 56
 		margin-right: 1.5rem;
58 57
 		padding-left: 99px;
59 58
 

Loading…
Cancel
Save