This commit is contained in:
2024-04-13 21:09:13 +03:00
parent 89f59dabb1
commit d716a92dac
3 changed files with 15 additions and 1 deletions

View File

@ -10,6 +10,7 @@ export const theme: ThemeConfig = {
colorBgBase: "#001529",
borderRadius: 5,
fontFamily: "Comfortaa",
colorWarningBg: "#001529",
},
components: {
Input: {

View File

@ -97,5 +97,8 @@
},
"News": {
"ru": "Новости"
},
"BETA! Be aware about loosing ALL your data here, as well as unexpected service shutdowns, bugs and other beta's features :)": {
"ru" : "БЕТА! Помните, что ВСЕ ваши данные здесь могут быть утеряны, сервер может прилечь на неизвестное количество времени, ну и про баги-фичи тоже не забывайте :)"
}
}

View File

@ -1,9 +1,10 @@
import React from "react";
import "./styles.css";
import logo from "../../static/logo-full.png";
import { Button } from "antd";
import { Alert, Button } from "antd";
import tr from "../config/translation";
import { isMobile } from "react-device-detect";
import { WarningOutlined } from "@ant-design/icons";
const MainPage = () => {
return (
@ -12,6 +13,15 @@ const MainPage = () => {
<p style={{ fontSize: "2rem" }}>
{tr("Queuing has never been so simple")}
</p>
<Alert
type="warning"
icon={<WarningOutlined />}
message={tr(
"BETA! Be aware about loosing ALL your data here, as well as unexpected service shutdowns, bugs and other beta's features :)"
)}
showIcon
style={{ marginBottom: "1rem" }}
/>
<div className="button-box">
<Button size="large">{tr("Join a queue")}</Button>
{!(