@@ -13,7 +13,10 @@ import {
13
13
OutlinedInput ,
14
14
} from "@mui/material" ;
15
15
import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode" ;
16
- import { Header , SectionNav } from "." ;
16
+ import { useLocation } from "@reach/router" ;
17
+ import { navigate } from "gatsby" ;
18
+ import TabButton from "../../../../../reusecore/Button" ;
19
+
17
20
const SelectGuidance = ( ) => {
18
21
const { isDark } = useStyledDarkMode ( ) ;
19
22
const [ selectedAge , setSelectedAge ] = React . useState ( "" ) ;
@@ -22,11 +25,45 @@ const SelectGuidance = () => {
22
25
let agesList = event . target . value ;
23
26
setMultipleAges ( agesList ) ;
24
27
} ;
28
+ const location = useLocation ( ) ;
25
29
return (
26
30
< SistentLayout title = "Select" >
27
31
< div className = "content" >
28
- < Header />
29
- < SectionNav />
32
+ < a id = "Identity" >
33
+ < h2 > Select</ h2 >
34
+ </ a >
35
+ < p >
36
+ Select component is a dropdown menu for selecting an option from a list.
37
+ </ p >
38
+ < div className = "filterBtns" >
39
+ < TabButton
40
+ className = {
41
+ location . pathname === "/projects/sistent/components/select"
42
+ ? "active"
43
+ : ""
44
+ }
45
+ onClick = { ( ) => navigate ( "/projects/sistent/components/select" ) }
46
+ title = "Overview"
47
+ />
48
+ < TabButton
49
+ className = {
50
+ location . pathname === "/projects/sistent/components/select/guidance"
51
+ ? "active"
52
+ : ""
53
+ }
54
+ onClick = { ( ) => navigate ( "/projects/sistent/components/select/guidance" ) }
55
+ title = "Guidance"
56
+ />
57
+ < TabButton
58
+ className = {
59
+ location . pathname === "/projects/sistent/components/select/code"
60
+ ? "active"
61
+ : ""
62
+ }
63
+ onClick = { ( ) => navigate ( "/projects/sistent/components/select/code" ) }
64
+ title = "Code"
65
+ />
66
+ </ div >
30
67
< div className = "main-content" >
31
68
< a id = "Functions" >
32
69
< h2 > Functions</ h2 >
0 commit comments