UPDATE: Fix ui and add License
This commit is contained in:
@@ -16,7 +16,8 @@ import { BackgroundSelector } from '@/components/backgroudModal';
|
||||
|
||||
|
||||
export default function LauncherPage() {
|
||||
const { gamePath,
|
||||
const {
|
||||
gamePath,
|
||||
setGamePath,
|
||||
setGameDir,
|
||||
serverPath,
|
||||
@@ -48,7 +49,7 @@ export default function LauncherPage() {
|
||||
progressDownload,
|
||||
downloadSpeed,
|
||||
updateData,
|
||||
launcherVersion,
|
||||
// launcherVersion,
|
||||
setLauncherVersion,
|
||||
setIsLoading,
|
||||
setDownloadType,
|
||||
@@ -311,7 +312,7 @@ export default function LauncherPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="hidden sm:flex fixed top-1/2 left-4 z-10 ">
|
||||
<div className="hidden sm:flex fixed top-1/2 left-5 z-10 ">
|
||||
<BackgroundSelector />
|
||||
</div>
|
||||
|
||||
@@ -466,55 +467,11 @@ export default function LauncherPage() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Version Info */}
|
||||
{serverReady && proxyReady && !isDownloading && (
|
||||
<div className="hidden md:block fixed bottom-4 left-4 z-10 text-sm font-bold bg-white/5 rounded-lg p-2 shadow">
|
||||
<p className="text-pink-600 "
|
||||
style={{
|
||||
textShadow: `
|
||||
0.5px 0 rgba(255, 255, 255, 0.5),
|
||||
-0.5px 0 rgba(255, 255, 255, 0.5),
|
||||
0 0.5px rgba(255, 255, 255, 0.5),
|
||||
0 -0.5px rgba(255, 255, 255, 0.5),
|
||||
0.5px 0.5px rgba(255, 255, 255, 0.5),
|
||||
-0.5px -0.5px rgba(255, 255, 255, 0.5),
|
||||
0.5px -0.5px rgba(255, 255, 255, 0.5),
|
||||
-0.5px 0.5px rgba(255, 255, 255, 0.5)
|
||||
`,
|
||||
}}
|
||||
>Version server: {serverVersion}</p>
|
||||
<p
|
||||
className="mt-2 text-purple-600"
|
||||
style={{
|
||||
textShadow: `
|
||||
0.5px 0 rgba(255, 255, 255, 0.5),
|
||||
-0.5px 0 rgba(255, 255, 255, 0.5),
|
||||
0 0.5px rgba(255, 255, 255, 0.5),
|
||||
0 -0.5px rgba(255, 255, 255, 0.5),
|
||||
0.5px 0.5px rgba(255, 255, 255, 0.5),
|
||||
-0.5px -0.5px rgba(255, 255, 255, 0.5),
|
||||
0.5px -0.5px rgba(255, 255, 255, 0.5),
|
||||
-0.5px 0.5px rgba(255, 255, 255, 0.5)
|
||||
`,
|
||||
}}
|
||||
>Version proxy: {proxyVersion}</p>
|
||||
<p className="mt-2 text-cyan-600 "
|
||||
style={{
|
||||
textShadow: `
|
||||
0.5px 0 rgba(255, 255, 255, 0.5),
|
||||
-0.5px 0 rgba(255, 255, 255, 0.5),
|
||||
0 0.5px rgba(255, 255, 255, 0.5),
|
||||
0 -0.5px rgba(255, 255, 255, 0.5),
|
||||
0.5px 0.5px rgba(255, 255, 255, 0.5),
|
||||
-0.5px -0.5px rgba(255, 255, 255, 0.5),
|
||||
0.5px -0.5px rgba(255, 255, 255, 0.5),
|
||||
-0.5px 0.5px rgba(255, 255, 255, 0.5)
|
||||
`,
|
||||
}}
|
||||
>Version launcher: {launcherVersion}</p>
|
||||
</div>
|
||||
)}
|
||||
<div className="hidden md:block fixed bottom-4 left-5 z-10">
|
||||
|
||||
<img src="/heart-hsr.gif" alt="firefly animation" className="rounded-lg w-24 h-24" />
|
||||
|
||||
</div>
|
||||
{/* Modal */}
|
||||
<UpdateModal
|
||||
isOpen={isOpenUpdateDataModal}
|
||||
|
||||
Reference in New Issue
Block a user