diff --git a/src/main/main.ts b/src/main/main.ts index 37490c5..f50bd20 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -87,8 +87,9 @@ const createWindow = async () => { mainWindow = new BrowserWindow({ show: false, width: 1024, - height: 728, + height: 850, autoHideMenuBar: true, + resizable: false, frame: false, icon: getAssetPath('icon.png'), webPreferences: { diff --git a/src/renderer/App.css b/src/renderer/App.css index 16d87e1..acfd42a 100644 --- a/src/renderer/App.css +++ b/src/renderer/App.css @@ -39,3 +39,11 @@ h2 { h3 { font-family: 'Benzin-Bold' !important; } + +h4 { + font-family: 'Benzin-Bold' !important; +} + +h5 { + font-family: 'Benzin-Bold' !important; +} diff --git a/src/renderer/components/MinecraftBackround.tsx b/src/renderer/components/MinecraftBackround.tsx index eba2d4c..bd6a703 100644 --- a/src/renderer/components/MinecraftBackround.tsx +++ b/src/renderer/components/MinecraftBackround.tsx @@ -12,6 +12,7 @@ export default function MinecraftBackround() { height: '100%', opacity: 0.25, overflow: 'hidden', + zIndex: -10, }} > diff --git a/src/renderer/components/popa-popa.tsx b/src/renderer/components/popa-popa.tsx new file mode 100644 index 0000000..3ac9edd --- /dev/null +++ b/src/renderer/components/popa-popa.tsx @@ -0,0 +1,22 @@ +import { Typography } from '@mui/material'; + +import { Box } from '@mui/material'; + +export default function PopaPopa() { + return ( + + POPA + - + + POPA + + + ); +} diff --git a/src/renderer/pages/LaunchPage.tsx b/src/renderer/pages/LaunchPage.tsx index 225bc17..4152213 100644 --- a/src/renderer/pages/LaunchPage.tsx +++ b/src/renderer/pages/LaunchPage.tsx @@ -9,6 +9,7 @@ import { import { useEffect, useState } from 'react'; import { useNavigate } from 'react-router-dom'; import ServerStatus from '../components/ServerStatus/ServerStatus'; +import PopaPopa from '../components/popa-popa'; declare global { interface Window { @@ -62,7 +63,7 @@ const LaunchPage = ({ launchOptions }: LaunchPageProps) => { setDownloadProgress(progress); setBuffer(Math.min(progress + 10, 100)); }; - + const statusListener = (...args: unknown[]) => { const status = args[0] as { step: string; message: string }; setInstallStep(status.step); @@ -84,11 +85,6 @@ const LaunchPage = ({ launchOptions }: LaunchPageProps) => { }; }, [navigate]); - const handleLogout = () => { - localStorage.removeItem('launcher_config'); - navigate('/login'); - }; - const showNotification = ( message: string, severity: 'success' | 'error' | 'info', @@ -185,12 +181,35 @@ const LaunchPage = ({ launchOptions }: LaunchPageProps) => { }; return ( - - - Добро пожаловать в лаунчер - + + - + Игровой сервер + + долбаёбов в Minecraft + + + + СЕРВЕР ГДЕ ВСЕМ НА ВАС ПОХУЙ + + + СЕРВЕР ГДЕ РАЗРЕШИНЫ ОДНОПОЛЫЕ БРАКИ + + + СЕРВЕР ГДЕ ВСЕ ДОЛБАЕБЫ + + + СЕРВЕР ГДЕ НА СПАВНЕ БУДЕТ ХУЙ (ВОЗМОЖНО) + + + СЕРВЕР ЗА КОТОРЫЙ ВЫ ПРОДАДИТЕ МАТЬ + + + ТЫ МОЖЕШЬ КУПИТЬ АДМИНКУ И ПОЛУЧИТЬ ПИЗДЫ + + + + { )} - - { const navigate = useNavigate(); @@ -72,20 +73,7 @@ const Login = () => { return ( - - POPA - - - - POPA - - +