change repo link (and related icon) to codeberg

This commit is contained in:
La macchina desiderante 2024-05-11 13:33:40 +02:00
parent 5a3577ec2e
commit 4d083a14b0
2 changed files with 6 additions and 5 deletions

View File

@ -2,17 +2,17 @@
import React from 'react';
import { SiGitea } from "react-icons/si";
import { SiCodeberg } from "react-icons/si";
import Icon from '../Icon';
import { REPO_GITEA_URL } from '@/constants/repo';
import { REPO_CODEBERG_URL } from '@/constants/repo';
const Menu: React.FC = () => {
return (
<Icon handleClick={() => {window.location.href = REPO_GITEA_URL;}}>
{<SiGitea size={24} />}
<Icon handleClick={() => {window.location.href = REPO_CODEBERG_URL;}}>
{<SiCodeberg size={24} />}
</Icon>
);
};

View File

@ -1 +1,2 @@
export const REPO_GITEA_URL = 'https://git.lamacchinadesiderante.org/lamacchinadesiderante/proxyraye-nextjs'
export const REPO_GITEA_URL = 'https://git.lamacchinadesiderante.org/lamacchinadesiderante/proxyraye-nextjs'
export const REPO_CODEBERG_URL = 'https://codeberg.org/lamacchinadesiderante/proxyraye'