Change teks and awtist order
This commit is contained in:
@@ -15,15 +15,15 @@ import Box from '@material-ui/core/Box'
|
||||
|
||||
const tabRouteHref = [
|
||||
'/',
|
||||
'/awtis?paj&paj=1',
|
||||
'/teks',
|
||||
'/awtis?paj&paj=1',
|
||||
'/soumet'
|
||||
]
|
||||
|
||||
const tabRouteAs = [
|
||||
'/',
|
||||
'/awtis/paj/1',
|
||||
'/teks',
|
||||
'/awtis/paj/1',
|
||||
'/soumet'
|
||||
]
|
||||
|
||||
@@ -95,8 +95,8 @@ export default function Navigasyon({selectedTab}) {
|
||||
onChange={handleChange}
|
||||
>
|
||||
<Tab label='Kay-la' icon={<HomeIcon style={{fontSize: 30}} />} {...a11yProps(0)} />
|
||||
<Tab label='Awtis' icon={<RecordVoiceOverIcon style={{fontSize: 30}} />} {...a11yProps(1)} />
|
||||
<Tab label='Tèks' icon={<MenuBookIcon style={{fontSize: 30}} />} {...a11yProps(2)} />
|
||||
<Tab label='Tèks' icon={<MenuBookIcon style={{fontSize: 30}} />} {...a11yProps(1)} />
|
||||
<Tab label='Awtis' icon={<RecordVoiceOverIcon style={{fontSize: 30}} />} {...a11yProps(2)} />
|
||||
<Tab label='Soumèt' icon={<PlaylistAddIcon style={{fontSize: 30}} />} {...a11yProps(3)} />
|
||||
</Tabs>
|
||||
</AppBar>
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ const AWTIS_POU_CHAK_PAJ = process.env.NEXT_PUBLIC_AWTIS_POU_CHAK_PAJ || 6
|
||||
|
||||
export default function Awtis({pajTotal, awtisPouChakPaj, paj}) {
|
||||
return (
|
||||
<HeadLayout title='Awtis' tab={1} slug='awtis'>
|
||||
<HeadLayout title='Awtis' tab={2} slug='awtis'>
|
||||
<Pajinasyon pajTotal={pajTotal} paj={paj} />
|
||||
<Container>
|
||||
<Grid container spacing={4}>
|
||||
|
||||
@@ -38,7 +38,7 @@ export default function SlugTeks({teks, anTeks, slug, komante}) {
|
||||
imageWidth={formatKouveti() ? formatKouveti().width : null}
|
||||
imageHeight={formatKouveti() ? formatKouveti().height : null}
|
||||
imageMime={formatKouveti() ? formatKouveti().mime : null}
|
||||
title={`${awtis} - ${anTeks.tit}`} tab={2} slug={`teks/${slug}`}
|
||||
title={`${awtis} - ${anTeks.tit}`} tab={1} slug={`teks/${slug}`}
|
||||
>
|
||||
<TeksDrawer teks={teks} anTeks={anTeks} komante={komante} />
|
||||
</HeadLayout>
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import HeadLayout from '../../components/head-layout'
|
||||
|
||||
export default function Teks({teks}) {
|
||||
return (
|
||||
<HeadLayout title='Tèks' tab={2} slug='teks'>
|
||||
<HeadLayout title='Tèks' tab={1} slug='teks'>
|
||||
<TeksDrawer teks={teks} />
|
||||
</HeadLayout>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user