@@ -13,7 +13,10 @@ import {
1313 OutlinedInput ,
1414} from "@mui/material" ;
1515import { 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+
1720const SelectGuidance = ( ) => {
1821 const { isDark } = useStyledDarkMode ( ) ;
1922 const [ selectedAge , setSelectedAge ] = React . useState ( "" ) ;
@@ -22,11 +25,45 @@ const SelectGuidance = () => {
2225 let agesList = event . target . value ;
2326 setMultipleAges ( agesList ) ;
2427 } ;
28+ const location = useLocation ( ) ;
2529 return (
2630 < SistentLayout title = "Select" >
2731 < 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 >
3067 < div className = "main-content" >
3168 < a id = "Functions" >
3269 < h2 > Functions</ h2 >
0 commit comments