change repo link (and related icon) to codeberg
This commit is contained in:
parent
5a3577ec2e
commit
4d083a14b0
|
@ -2,17 +2,17 @@
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { SiGitea } from "react-icons/si";
|
import { SiCodeberg } from "react-icons/si";
|
||||||
|
|
||||||
import Icon from '../Icon';
|
import Icon from '../Icon';
|
||||||
|
|
||||||
import { REPO_GITEA_URL } from '@/constants/repo';
|
import { REPO_CODEBERG_URL } from '@/constants/repo';
|
||||||
|
|
||||||
const Menu: React.FC = () => {
|
const Menu: React.FC = () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Icon handleClick={() => {window.location.href = REPO_GITEA_URL;}}>
|
<Icon handleClick={() => {window.location.href = REPO_CODEBERG_URL;}}>
|
||||||
{<SiGitea size={24} />}
|
{<SiCodeberg size={24} />}
|
||||||
</Icon>
|
</Icon>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -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'
|
Loading…
Reference in New Issue