upd
This commit is contained in:
+6
-3
@@ -420,13 +420,16 @@ function App() {
|
||||
</div>
|
||||
<div className="flex flex-col sm:gap-1 gap-4">
|
||||
<p className="flex sm:flex-row flex-col sm:gap-4 gap-1">
|
||||
<a href="#" className="">
|
||||
<a
|
||||
href="https://graff.tech/privacypolicy"
|
||||
target="_blank"
|
||||
>
|
||||
<Trans i18nKey={"footer.link"}>
|
||||
Политика конфиденциальности
|
||||
</Trans>
|
||||
</a>
|
||||
<a href="https://estate.graff.tech" className="">
|
||||
estate.graff.tech
|
||||
<a href="https://graff.estate" target="_blank">
|
||||
graff.estate
|
||||
</a>
|
||||
</p>
|
||||
<p className="text-xs text-[#C5C7CE]">
|
||||
|
||||
+71
-4
@@ -9,6 +9,52 @@ function MonitoringPage() {
|
||||
const [sessions, setSessions] = useState<any>([]);
|
||||
const [servers, setServers] = useState<any>([]);
|
||||
const [pin, setPin] = useState<string>("");
|
||||
const builds = [
|
||||
{
|
||||
title: "Revolution towers",
|
||||
name: "nksJukovaDev",
|
||||
},
|
||||
{
|
||||
title: "Life Резиденция",
|
||||
name: "lifeResidence",
|
||||
},
|
||||
{
|
||||
title: "Айвазовский City",
|
||||
name: "Ivazowsky",
|
||||
},
|
||||
{
|
||||
title: "IMI Saudi Shipyard",
|
||||
name: "ShipyardSaudiDev",
|
||||
},
|
||||
{
|
||||
title: "Masharov",
|
||||
name: "Masharovdev",
|
||||
},
|
||||
{
|
||||
title: "Orient",
|
||||
name: "orientDev",
|
||||
},
|
||||
{
|
||||
title: "Novator",
|
||||
name: "novatorDev",
|
||||
},
|
||||
{
|
||||
title: "Mirapolis",
|
||||
name: "MirapolisDev",
|
||||
},
|
||||
{
|
||||
title: "Scala City",
|
||||
name: "RockCityDev",
|
||||
},
|
||||
{
|
||||
title: "Upside Towers",
|
||||
name: "upsideTowersDev",
|
||||
},
|
||||
{
|
||||
title: "Kama",
|
||||
name: "Kama",
|
||||
},
|
||||
];
|
||||
|
||||
async function getSessionServers() {
|
||||
const response = await ky
|
||||
@@ -52,8 +98,29 @@ function MonitoringPage() {
|
||||
return (
|
||||
<div className="min-h-screen text-[#F2F2F2] p-4 flex flex-col">
|
||||
{pin === "4499" ? (
|
||||
<>
|
||||
<div className="flex flex-col gap-2 border-b border-[#22222A] pb-4 text-sm">
|
||||
<div className="flex flex-col gap-8">
|
||||
<div className="flex flex-col gap-8">
|
||||
<p className="text-sm">Сборки:</p>
|
||||
<div className="grid 2xl:grid-cols-5 xl:grid-cols-4 md:grid-cols-3 grid-cols-2 gap-4">
|
||||
{builds.map((build, index) => (
|
||||
<div
|
||||
key={index}
|
||||
className="bg-[#22222A] rounded-md p-4 flex flex-col gap-4"
|
||||
>
|
||||
<p className="text-xl">{build.title}</p>
|
||||
<a
|
||||
href={`https://stream.graff.tech/?build=${build.name}&location=a1`}
|
||||
target="_blank"
|
||||
className="inline-block px-4 py-2 bg-blue-500 hover:bg-blue-600 transition-colors rounded w-fit"
|
||||
>
|
||||
Запустить
|
||||
</a>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col gap-2 text-sm">
|
||||
<p>Сервера:</p>
|
||||
<div className="grid lg:grid-cols-4 gap-2">
|
||||
{servers.length > 0 ? (
|
||||
@@ -115,7 +182,7 @@ function MonitoringPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="mt-4 flex flex-col gap-2 text-sm">
|
||||
<div className="flex flex-col gap-2 text-sm">
|
||||
<p>Запущенные сессии:</p>
|
||||
{sessions.length > 0 ? (
|
||||
sessions.map((session: any) => (
|
||||
@@ -188,7 +255,7 @@ function MonitoringPage() {
|
||||
<p className="opacity-50">Нет запущенных сессий</p>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
</div>
|
||||
) : (
|
||||
<input
|
||||
autoFocus
|
||||
|
||||
@@ -23,7 +23,7 @@ function FeedbackForm() {
|
||||
|
||||
try {
|
||||
await ky
|
||||
.post(`https://estate.graff.tech/api/mail`, {
|
||||
.post(`https://graff.estate/api/mail`, {
|
||||
json: {
|
||||
fullname: name,
|
||||
phone,
|
||||
|
||||
@@ -60,8 +60,8 @@ function SidebarTab5() {
|
||||
</p>
|
||||
|
||||
<p className="text-sm font-gilroy flex gap-3 items-center justify-end leading-none">
|
||||
<a href="https://estate.graff.tech" target="_blank">
|
||||
estate.graff.tech
|
||||
<a href="https://graff.estate" target="_blank">
|
||||
graff.estate
|
||||
</a>
|
||||
<WebGradientIcon />
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user