diff --git a/.env.sample b/.env.sample index da2b3a7..7b39094 100644 --- a/.env.sample +++ b/.env.sample @@ -61,6 +61,7 @@ NEXT_PUBLIC_GADE_USERNAME= NEXT_PUBLIC_YOUTUBE_USERNAME= NEXT_PUBLIC_TELEGRAM_GROUP= NEXT_PUBLIC_XMPP= +NEXT_PUBLIC_CODEBERG= # DOMAIN IMAGE NEXT_PUBLIC_DOMAINS_IMAGE="localhost:1337 strapi.mondomaine.com" diff --git a/lib/icons/codeberg.js b/lib/icons/codeberg.js new file mode 100644 index 0000000..4485d03 --- /dev/null +++ b/lib/icons/codeberg.js @@ -0,0 +1,8 @@ +import {SvgIcon} from '@mui/material' + +export default function CodebergIcon(props) { + return ( + + + ) +} diff --git a/lib/rezo-lis.js b/lib/rezo-lis.js index 9e80371..1ff83a0 100644 --- a/lib/rezo-lis.js +++ b/lib/rezo-lis.js @@ -5,7 +5,9 @@ import SquareRoundedIcon from '@mui/icons-material/SquareRounded' import PeertubeIcon from './icons/peertube' import XmppIcon from './icons/xmpp' import XIcon from './icons/x' +import CodebergIcon from './icons/codeberg' +const codebergURL = process.env.NEXT_PUBLIC_CODEBERG || 'https://codeberg.org/OKI' const blueskyUrl = process.env.NEXT_PUBLIC_BLUESKY_URL || 'https://bsky.app/profile/organisationka.bsky.social' const xmppContact = process.env.NEXT_PUBLIC_XMPP || 'oki@xmpp.cz' const gadeUsername = process.env.NEXT_PUBLIC_GADE_USERNAME || 'oki' @@ -14,6 +16,11 @@ const tiwtterUsername = process.env.NEXT_PUBLIC_TWITTER_USERNAME || 'Organisatio const telegramGroup = process.env.NEXT_PUBLIC_TELEGRAM_GROUP || 'OrganisationKA' export const rezoLis = [ + { + tit: 'Codeberg', + lyen: codebergURL, + icon: + }, { tit: 'Bluesky', lyen: blueskyUrl, diff --git a/public/images/codeberg.svg b/public/images/codeberg.svg new file mode 100644 index 0000000..c560579 --- /dev/null +++ b/public/images/codeberg.svg @@ -0,0 +1 @@ +Codeberg \ No newline at end of file