180180 < img src ="/img/stratum_logo_transparent.png " alt ="Stratum Logo " class ="logo ">
181181 </ div >
182182
183- <!-- Add after logo-container and before the card -->
183+ <!-- esto es como la siluetita de pfp, está puesta ahi en medio de la nada pero es que no me gusta... lo siento miguel
184+
185+
184186 <div class="rounded-circle d-flex align-items-center justify-content-center mx-auto mb-4"
185187 style="width: 86px; height: 86px; background-color: var(--forest-green); border: 2px solid var(--earth-brown);">
186188 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
187189 style="width: 60%; height: 60%; stroke: var(--cream); stroke-width: 1.5;">
188190 <path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path>
189191 <circle cx="12" cy="7" r="4"></circle>
190192 </svg>
191- </ div >
193+ </div> -->
192194
193195 < div class ="card ">
194196 < div class ="card-header ">
@@ -245,11 +247,12 @@ <h2 class="mb-0">
245247
246248 < script >
247249 const RANKS = {
248- novice : { es : "Novato" , en : "Novice" } ,
249- apprentice : { es : "Aprendiz" , en : "Apprentice" } ,
250- guardian : { es : "Guardián" , en : "Guardian" } ,
251- elderGuardian : { es : "Guardián Mayor" , en : "Elder Guardian" } ,
252- ancientGuardian : { es : "Guardián Ancestral" , en : "Ancient Guardian" }
250+ plant : { es : "Plant" , en : "Planta" } ,
251+ herbivore : { es : "Herbívoro" , en : "Herbivore" } ,
252+ carnivore : { es : "Carnívoro" , en : "Carnivore" } ,
253+ aristocrat : { es : "Aristócrata" , en : "Aristocrat" } ,
254+ eldritch : { es : "Primigéneo" , en : "Eldritch" } ,
255+ deity : { es : "Deidad" , en : "Deity" }
253256 } ;
254257
255258 function toggleLanguage ( ) {
@@ -273,14 +276,15 @@ <h2 class="mb-0">
273276 document . getElementById ( 'displayUsername' ) . textContent = username || 'Usuario' ;
274277
275278 const level = Math . floor ( Math . random ( ) * 100 ) + 1 ;
276- const mmr = Math . floor ( Math . random ( ) * 2000 ) + 1000 ;
279+ const mmr = Math . floor ( Math . random ( ) * 3000 ) + 1000 ;
277280
278281 function getRankKey ( mmr ) {
279- if ( mmr >= 2500 ) return "ancientGuardian" ;
280- if ( mmr >= 2000 ) return "elderGuardian" ;
281- if ( mmr >= 1500 ) return "guardian" ;
282- if ( mmr >= 1000 ) return "apprentice" ;
283- return "novice" ;
282+ if ( mmr >= 3000 ) return "deity" ;
283+ if ( mmr >= 2500 ) return "eldritch" ;
284+ if ( mmr >= 2000 ) return "aristocrat" ;
285+ if ( mmr >= 1500 ) return "carnivore" ;
286+ if ( mmr >= 1000 ) return "herbivore" ;
287+ return "plant" ;
284288 }
285289
286290 function updateRankDisplay ( ) {
@@ -329,7 +333,7 @@ <h2 class="mb-0">
329333 } ) ;
330334
331335 function logout ( ) {
332- window . location . href = 'profile .html' ;
336+ window . location . href = './login .html' ;
333337 }
334338 </ script >
335339
0 commit comments