Newer
Older
CrypticOreWallet / src / pages / dashboard / InDevBanner.tsx
@BuildTools BuildTools on 9 Jun 2021 782 bytes im gay
// Copyright (c) 2020-2021 Drew Lemmy
// This file is part of TenebraWeb 2 under AGPL-3.0.
// Full details: https://github.com/tmpim/TenebraWeb2/blob/master/LICENSE.txt
import { Alert } from "antd";

import { useTranslation, Trans } from "react-i18next";

import { getAuthorInfo } from "@utils";

export function InDevBanner(): JSX.Element {
  const { t } = useTranslation();

  const { gitURL } = getAuthorInfo();

  return <Alert
    style={{ marginBottom: 24 }}
    type="info"
    message={<Trans t={t} i18nKey="dashboard.inDevBanner2">
      Welcome to the TenebraWeb v2 public beta! This site is relatively new, so
      please report any bugs on
      <a href={gitURL + "/issues/new"} target="_blank" rel="noopener noreferrer">GitHub</a>.
      Thanks!
    </Trans>}
  />;
}