Replace Twitter link by JwennSignal
This commit is contained in:
+3
-14
@@ -1,12 +1,11 @@
|
|||||||
import {useState} from 'react'
|
import {useState} from 'react'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import Image from 'next/image'
|
import Image from 'next/image'
|
||||||
import {Box, Button, Container, Grid, Link, Typography, useMediaQuery} from '@material-ui/core'
|
import {Box, Button, Container, Grid, Typography, useMediaQuery} from '@material-ui/core'
|
||||||
import {makeStyles} from '@material-ui/core/styles'
|
import {makeStyles} from '@material-ui/core/styles'
|
||||||
import HelpIcon from '@material-ui/icons/Help'
|
import HelpIcon from '@material-ui/icons/Help'
|
||||||
import GroupIcon from '@material-ui/icons/Group'
|
import GroupIcon from '@material-ui/icons/Group'
|
||||||
import MusicNoteIcon from '@material-ui/icons/MusicNote'
|
import MusicNoteIcon from '@material-ui/icons/MusicNote'
|
||||||
import TwitterIcon from '@material-ui/icons/Twitter'
|
|
||||||
import {Pleroma, Peertube, Nextcloud} from '@icons-pack/react-simple-icons'
|
import {Pleroma, Peertube, Nextcloud} from '@icons-pack/react-simple-icons'
|
||||||
|
|
||||||
import KatKayLa from '../components/kat-kay-la'
|
import KatKayLa from '../components/kat-kay-la'
|
||||||
@@ -16,6 +15,7 @@ import Footer from '../components/footer'
|
|||||||
import {jwennTeksKantite, jwennAwtisKantite} from '../lib/oki-api'
|
import {jwennTeksKantite, jwennAwtisKantite} from '../lib/oki-api'
|
||||||
import RezoMenu from '../components/rezo-menu'
|
import RezoMenu from '../components/rezo-menu'
|
||||||
import JwennSesyon from '../components/jwenn-sesyon'
|
import JwennSesyon from '../components/jwenn-sesyon'
|
||||||
|
import JwennSignal from '../components/jwenn-signal'
|
||||||
|
|
||||||
import okiLogo from '../public/logo-192x110.png'
|
import okiLogo from '../public/logo-192x110.png'
|
||||||
|
|
||||||
@@ -55,8 +55,6 @@ const REZO = [
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
const twitterUrl = `https://twitter.com/${process.env.NEXT_PUBLIC_TWITTER_USERNAME || ''}`
|
|
||||||
|
|
||||||
export default function Home({kantiteAwtis, kantiteTeks}) {
|
export default function Home({kantiteAwtis, kantiteTeks}) {
|
||||||
const classes = useStyles()
|
const classes = useStyles()
|
||||||
const [handleOpen, setHandleOpen] = useState(false)
|
const [handleOpen, setHandleOpen] = useState(false)
|
||||||
@@ -101,16 +99,7 @@ export default function Home({kantiteAwtis, kantiteTeks}) {
|
|||||||
>
|
>
|
||||||
Èd
|
Èd
|
||||||
</Button>
|
</Button>
|
||||||
<Link target='_blank' rel='noopener noreferrer' href={twitterUrl}>
|
<JwennSignal />
|
||||||
<Button style={{marginTop: 10}} variant='outlined' color='primary'>
|
|
||||||
<Box paddingTop={1}>
|
|
||||||
<TwitterIcon style={{fontSize: 55}} />
|
|
||||||
<Typography style={{fontWeight: 'bold'}} variant='h6' component='h1'>
|
|
||||||
Twitter
|
|
||||||
</Typography>
|
|
||||||
</Box>
|
|
||||||
</Button>
|
|
||||||
</Link>
|
|
||||||
</Box>
|
</Box>
|
||||||
</Container>
|
</Container>
|
||||||
<Container style={{marginBlock: '1.5em'}}>
|
<Container style={{marginBlock: '1.5em'}}>
|
||||||
|
|||||||
Reference in New Issue
Block a user