Compare commits

2 Commits
main ... dev

Author SHA1 Message Date
Jose
9186cf8ff2 fixed modpack path 2025-11-06 01:30:53 +01:00
Jose
60ba0b2bf6 changed to forge 2025-11-06 01:16:33 +01:00
6 changed files with 19 additions and 24 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 121 KiB

View File

@@ -18,9 +18,7 @@ const App = () => {
<Routes>
<Route path="/" element={<Inicio />} />
<Route path="/mods" element={
<ProtectedRoute minimumRoles={[CONSTANTS.ADMIN_ROLE]}>
<Mods />
</ProtectedRoute>
<Mods />
} />
<Route path="/jugadores" element={
<ProtectedRoute minimumRoles={[CONSTANTS.ADMIN_ROLE]}>

View File

@@ -44,14 +44,12 @@ const Header = () => {
INICIO
</div>
</Link>
<IfRole roles={[CONSTANTS.ADMIN_ROLE]}>
<Link to="mods" className='nav-link'>
<div className='align-items-center d-flex gap-2'>
{Icons.AddGrid}
MODS
</div>
</Link>
</IfRole>
<Link to="mods" className='nav-link'>
<div className='align-items-center d-flex gap-2'>
{Icons.AddGrid}
MODS
</div>
</Link>
<IfRole roles={[CONSTANTS.ADMIN_ROLE]}>
<Link to="jugadores" className='nav-link'>
<div className='align-items-center d-flex gap-2'>
@@ -61,7 +59,7 @@ const Header = () => {
</Link>
</IfRole>
<IfAuthenticated>
<ProfilePicture userName={user?.user_name} part="helm" />
<ProfilePicture userName={user?.user_name == "Gallardo7761" ? "0x6a6f7365" : user?.user_name} part="helm" />
</IfAuthenticated>
<IfNotAuthenticated>
<ProfilePicture userName="Steve" part="avatar" />
@@ -95,14 +93,12 @@ const Header = () => {
INICIO
</div>
</Link>
<IfRole roles={[CONSTANTS.ADMIN_ROLE, CONSTANTS.PLAYER_ROLE]}>
<Link to="mods" className='nav-link mt-4' onClick={closeMenu}>
<div className='align-items-center d-flex gap-2'>
{Icons.AddGrid}
MODS
</div>
</Link>
</IfRole>
<Link to="mods" className='nav-link mt-4' onClick={closeMenu}>
<div className='align-items-center d-flex gap-2'>
{Icons.AddGrid}
MODS
</div>
</Link>
<IfRole roles={[CONSTANTS.ADMIN_ROLE]}>
<Link to="jugadores" className='nav-link mt-4' onClick={closeMenu}>
<div className='align-items-center d-flex gap-2'>

View File

@@ -2,6 +2,7 @@ import CustomContainer from "@/components/layout/CustomContainer";
import { Col, Row, Modal } from "react-bootstrap";
import { useState } from "react";
import ContentWrapper from "../layout/ContentWrapper";
import { Link } from "react-router-dom";
const Inicio = () => {
const [modalShown, setModalShown] = useState(false);
@@ -41,7 +42,7 @@ const Inicio = () => {
{step === 2 && (
<>
<p>
El servidor se encuentra en la version <b>1.21.10</b>, así que tendrás que seleccionar esa versión en el launcher. Permitimos <b>mods</b> client-side que no den ventaja sobre otros jugadores (como shaders, Mouse-Tweaks, etc).
El servidor se encuentra en la versión <strong>1.20.1</strong> de Minecraft y <strong>47.4.0</strong> de Forge. Selecciona 1.20.1 en el launcher que estés usando, y descarga desde la <a href="https://files.minecraftforge.net/net/minecraftforge/forge/index_1.20.1.html">página de Forge</a> la versión correspondiente. Además deberás descargar <Link to={`/mods`}>nuestro modpack</Link>.
</p>
</>
)}

View File

@@ -92,7 +92,7 @@ const ModsContent = ({ reqConfig }) => {
<button className="minecraft-btn" onClick={handleCreate}>Nuevo mod</button>
<button
className='minecraft-btn'
onClick={() => { window.open("/files/etsiimc/MiarmaPack.zip", "_blank"); }}
onClick={() => { window.open("/files/etsiimc/ETSII-MC-ModPack.zip", "_blank"); }}
>
Descargar modpack
</button>

View File

@@ -39,10 +39,10 @@ const ProfileContent = ({ reqConfig }) => {
<CustomContainer>
<ContentWrapper>
<div className="minecraft-card not-animated row">
<h1 className="header col-12 mb-4">{data.user_name}</h1>
<h1 className="header col-12 mb-4">{data?.user_name == "Gallardo7761" ? "0x6a6f7365" : data?.user_name}</h1>
<ReactSkinview3d
className="col-4"
skinUrl={`https://mineskin.eu/skin/${data.user_name}`}
skinUrl={`https://mineskin.eu/skin/${data?.user_name == "Gallardo7761" ? "0x6a6f7365" : data?.user_name}`}
width={250}
height={500}
onReady={({viewer}) => {