Skip to content

Commit c09d40a

Browse files
mobile nav bug fixed
1 parent fed5b6f commit c09d40a

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

frontend/.eslintcache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"D:\\code\\web\\github\\TPC-website\\frontend\\src\\index.js":"1","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\shortcuts\\index.jsx":"2","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\homeNav\\index.jsx":"3","D:\\code\\web\\github\\TPC-website\\frontend\\src\\App.js":"4","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\navLinks\\index.jsx":"5","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\svgbackground\\index.js":"6","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\homePage\\index.jsx":"7","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\aboutUs\\index.jsx":"8","D:\\code\\web\\github\\TPC-website\\frontend\\src\\reportWebVitals.js":"9"},{"size":562,"mtime":1610799279502,"results":"10","hashOfConfig":"11"},{"size":887,"mtime":1610799279502,"results":"12","hashOfConfig":"11"},{"size":568,"mtime":1611147812398,"results":"13","hashOfConfig":"11"},{"size":362,"mtime":1611075338030,"results":"14","hashOfConfig":"11"},{"size":916,"mtime":1611136758695,"results":"15","hashOfConfig":"11"},{"size":898,"mtime":1610799279502,"results":"16","hashOfConfig":"11"},{"size":935,"mtime":1611147099002,"results":"17","hashOfConfig":"11"},{"size":1806,"mtime":1611148013613,"results":"18","hashOfConfig":"11"},{"size":375,"mtime":1609056805509,"results":"19","hashOfConfig":"11"},{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},"t5wa8d",{"filePath":"23","messages":"24","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"25"},{"filePath":"26","messages":"27","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"33","messages":"34","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"35","messages":"36","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"37","messages":"38","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"39","messages":"40","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"41"},"D:\\code\\web\\github\\TPC-website\\frontend\\src\\index.js",[],["42","43"],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\shortcuts\\index.jsx",[],["44","45"],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\homeNav\\index.jsx",[],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\App.js",[],["46","47"],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\navLinks\\index.jsx",[],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\svgbackground\\index.js",[],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\homePage\\index.jsx",["48"],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\aboutUs\\index.jsx",[],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\reportWebVitals.js",[],["49","50"],{"ruleId":"51","replacedBy":"52"},{"ruleId":"53","replacedBy":"54"},{"ruleId":"51","replacedBy":"55"},{"ruleId":"53","replacedBy":"56"},{"ruleId":"51","replacedBy":"57"},{"ruleId":"53","replacedBy":"58"},{"ruleId":"59","severity":1,"message":"60","line":2,"column":8,"nodeType":"61","messageId":"62","endLine":2,"endColumn":21},{"ruleId":"51","replacedBy":"63"},{"ruleId":"53","replacedBy":"64"},"no-native-reassign",["65"],"no-negated-in-lhs",["66"],["65"],["66"],["65"],["66"],"no-unused-vars","'SvgBackground' is defined but never used.","Identifier","unusedVar",["65"],["66"],"no-global-assign","no-unsafe-negation"]
1+
[{"D:\\code\\web\\github\\TPC-website\\frontend\\src\\index.js":"1","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\shortcuts\\index.jsx":"2","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\homeNav\\index.jsx":"3","D:\\code\\web\\github\\TPC-website\\frontend\\src\\App.js":"4","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\navLinks\\index.jsx":"5","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\svgbackground\\index.js":"6","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\homePage\\index.jsx":"7","D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\aboutUs\\index.jsx":"8","D:\\code\\web\\github\\TPC-website\\frontend\\src\\reportWebVitals.js":"9"},{"size":562,"mtime":1610799279502,"results":"10","hashOfConfig":"11"},{"size":887,"mtime":1610799279502,"results":"12","hashOfConfig":"11"},{"size":568,"mtime":1611147812398,"results":"13","hashOfConfig":"11"},{"size":362,"mtime":1611075338030,"results":"14","hashOfConfig":"11"},{"size":980,"mtime":1611413609324,"results":"15","hashOfConfig":"11"},{"size":898,"mtime":1610799279502,"results":"16","hashOfConfig":"11"},{"size":935,"mtime":1611147099002,"results":"17","hashOfConfig":"11"},{"size":1806,"mtime":1611148013613,"results":"18","hashOfConfig":"11"},{"size":375,"mtime":1609056805509,"results":"19","hashOfConfig":"11"},{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},"t5wa8d",{"filePath":"23","messages":"24","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"22"},{"filePath":"25","messages":"26","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"27","messages":"28","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"29"},{"filePath":"30","messages":"31","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"34","messages":"35","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"38"},{"filePath":"39","messages":"40","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"41"},"D:\\code\\web\\github\\TPC-website\\frontend\\src\\index.js",[],["42","43"],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\shortcuts\\index.jsx",[],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\homeNav\\index.jsx",[],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\App.js",[],["44","45"],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\navLinks\\index.jsx",[],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\svgbackground\\index.js",[],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\homePage\\index.jsx",["46"],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\components\\aboutUs\\index.jsx",[],["47","48"],"D:\\code\\web\\github\\TPC-website\\frontend\\src\\reportWebVitals.js",[],["49","50"],{"ruleId":"51","replacedBy":"52"},{"ruleId":"53","replacedBy":"54"},{"ruleId":"51","replacedBy":"55"},{"ruleId":"53","replacedBy":"56"},{"ruleId":"57","severity":1,"message":"58","line":2,"column":8,"nodeType":"59","messageId":"60","endLine":2,"endColumn":21},{"ruleId":"51","replacedBy":"61"},{"ruleId":"53","replacedBy":"62"},{"ruleId":"51","replacedBy":"63"},{"ruleId":"53","replacedBy":"64"},"no-native-reassign",["65"],"no-negated-in-lhs",["66"],["65"],["66"],"no-unused-vars","'SvgBackground' is defined but never used.","Identifier","unusedVar",["65"],["66"],["65"],["66"],"no-global-assign","no-unsafe-negation"]

frontend/src/components/nav/style.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@
3838
.activeNav {
3939
clip-path: circle(200vh at 0 0);
4040
-webkit-clip-path: circle(200vh at 0 0);
41+
position: fixed;
4142
}
4243
}

frontend/src/components/navLinks/index.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ import { Link } from "react-router-dom";
44
function NavLinks() {
55
return (
66
<>
7-
<Link to="" style={{ textDecoration: "none" }}>
7+
<Link
8+
className={styles.firstLink}
9+
to=""
10+
style={{ textDecoration: "none" }}
11+
>
812
<li className={styles.first}>Club Registrations</li>
913
</Link>
1014
<Link to="" style={{ textDecoration: "none" }}>

frontend/src/components/navLinks/style.module.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ li {
3535

3636
.first {
3737
transform: translatex(0);
38+
}
39+
.firstLink {
3840
margin-top: 7vh;
3941
}
4042
.sec {

0 commit comments

Comments
 (0)