'use client' import {useState} from 'react' import PropTypes from 'prop-types' import {useRouter, usePathname} from 'next/navigation' import {styled} from '@mui/material/styles' import AppBar from '@mui/material/AppBar' import Tabs, {tabsClasses} from '@mui/material/Tabs' import Tab from '@mui/material/Tab' import Typography from '@mui/material/Typography' import Box from '@mui/material/Box' import {useMediaQuery} from '@mui/material' import MusicNoteIcon from '@mui/icons-material/MusicNote' import RecordVoiceOverIcon from '@mui/icons-material/RecordVoiceOver' import HomeIcon from '@mui/icons-material/Home' import VolunteerActivismIcon from '@mui/icons-material/VolunteerActivism' const PREFIX = 'navigasyon' const classes = { root: `${PREFIX}-root` } const Appdiv = styled('div')(( { theme } ) => ({ [`& .${classes.root}`]: { flexGrow: 1, width: '100%', backgroundColor: theme.palette.background.paper } })) const tabRouteHref = [ '/', '/sipote', '/paroles', '/awtis' ] const tabPath = { akey: 0, sipote: 1, paroles: 2, awtis: 3, } function TabPanel(props) { const {children, value, index, ...other} = props return (