diff --git a/components/sesyon/login-provider.js b/components/sesyon/login-provider.js
index ad678a0..8cab087 100644
--- a/components/sesyon/login-provider.js
+++ b/components/sesyon/login-provider.js
@@ -2,12 +2,9 @@ import PropTypes from 'prop-types'
import Link from 'next/link'
import Image from 'next/image'
import {signIn} from 'next-auth/react'
-import {useTheme} from '@mui/material/styles'
import Button from '@mui/material/Button'
export default function LoginProvider({id, title, width, height, callbackUrl}) {
- const theme = useTheme()
-
const hanleClick = event => {
event.preventDefault()
signIn(id, {
@@ -22,7 +19,7 @@ export default function LoginProvider({id, title, width, height, callbackUrl}) {
width={width}
height={height}
alt={title}
- src={`/images/${id === 'github' ? `${id}-${theme.palette.mode}` : id}.svg`}
+ src={`/images/${id === 'twitter' ? 'x' : id}.svg`}
/>
} onClick={hanleClick}
>
diff --git a/lib/icons/x.js b/lib/icons/x.js
new file mode 100644
index 0000000..a1c071e
--- /dev/null
+++ b/lib/icons/x.js
@@ -0,0 +1,8 @@
+import {SvgIcon} from '@mui/material'
+
+export default function XIcon(props) {
+ return (
+
+
+ )
+}
diff --git a/lib/rezo-lis.js b/lib/rezo-lis.js
index 30239ef..00fbaa1 100644
--- a/lib/rezo-lis.js
+++ b/lib/rezo-lis.js
@@ -1,9 +1,9 @@
-import TwitterIcon from '@mui/icons-material/Twitter'
import YouTubeIcon from '@mui/icons-material/YouTube'
import TelegramIcon from '@mui/icons-material/Telegram'
import PeertubeIcon from './icons/peertube'
import XmppIcon from './icons/xmpp'
+import XIcon from './icons/x'
const xmppContact = process.env.NEXT_PUBLIC_XMPP || 'organisationka@movim.eu'
const gadeUsername = process.env.NEXT_PUBLIC_GADE_USERNAME || 'oki'
@@ -35,7 +35,7 @@ export const rezoLis = [
{
tit: 'Twitter',
lyen: `https://twitter.com/${tiwtterUsername}`,
- icon:
+ icon:
}
]
diff --git a/public/images/twitter.svg b/public/images/twitter.svg
deleted file mode 100644
index 8d9b5cc..0000000
--- a/public/images/twitter.svg
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
diff --git a/public/images/x.svg b/public/images/x.svg
new file mode 100644
index 0000000..5e2512a
--- /dev/null
+++ b/public/images/x.svg
@@ -0,0 +1,8 @@
+
\ No newline at end of file