Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuFlosoYT committed Sep 21, 2024
1 parent d4ae5db commit 23ff1b1
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 149 deletions.
23 changes: 0 additions & 23 deletions Generaciones/Generacion27/Autores/CarmenConde/CarmenConde.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,29 +61,6 @@ <h1>Libros:</h1>
<section class="fondo-poemas">

<h2 class="poemas">Poemas:</h2>

<!-- EMPIEZA POEMA -->
<details>


<summary class="poemas-titulo">Quisiera tener varias sonrisas</summary>
<div class="fondo-texto-poema">

<pre id="sonrisas"></pre>
<div class="alineadoAudio">
<div class="marcoAudio">
<b>Cantautores:</b>
<br>
<b>Paco Damas y Carmen Linares</b>
<br>
<br>
<audio controls>
<source src="Audio/Quisiera_Tener_Varias_Sonrisas_de_Recambio [NQSGXuVlJzc].mp3" type="audio/mpeg">
</audio>
</div>
</div>
</div>
</details>
<!-- EMPIEZA POEMA -->
<details>

Expand Down

This file was deleted.

9 changes: 0 additions & 9 deletions Generaciones/Generacion27/Autores/VicenteAlexandre/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,6 @@ fetch('Textos/destruccion2.txt')
}
).catch(error => console.error('Error fetching file:', error));

fetch('Textos/cuerpo.txt')
.then(response => response.text())
.then(text =>
{
document.getElementById('cuerpo').textContent = text;
}
).catch(error => console.error('Error fetching file:', error));


fetch('Textos/querian.txt')
.then(response => response.text())
.then(text =>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,6 @@ fetch('Textos/noche.txt')
}
).catch(error => console.error('Error fetching file:', error));

fetch('Textos/sencillo.txt')
.then(response => response.text())
.then(text =>
{
document.getElementById('cencillo').textContent = text;
}
).catch(error => console.error('Error fetching file:', error));


//A veces gran amor

Expand Down
7 changes: 0 additions & 7 deletions Generaciones/Modernismo/Autores/Antonio_Machado/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
window.addEventListener('scroll', function() {
var imagen = document.getElementById('volver');
var scrollTop = window.scrollY || document.documentElement.scrollTop;

imagen.style.bottom = (20 + scrollTop) + 'px';
});

//Biografía del autor

fetch('Textos/biografia.txt')
Expand Down
Binary file not shown.
6 changes: 0 additions & 6 deletions Generaciones/Modernismo/Autores/Manuel_Machado/Textos/mal.txt

This file was deleted.

This file was deleted.

31 changes: 0 additions & 31 deletions Generaciones/Modernismo/Autores/Manuel_Machado/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,37 +68,6 @@ fetch('Textos/ocaso.txt')
}
).catch(error => console.error('Error fetching file:', error));


//El mal poema

fetch('Textos/mal.txt') //CAMBIAR ESTO PARA CONFIGURAR
.then(response => response.text())
.then(texto => {
const frasesEnNegrita = /(tendencia a la vanguardia|tendencia al compromiso)/gi; //CAMBIAR ESTO PARA CONFIGURAR
const frasesEnCursiva = /(Azul|Prosas profanas|Cantos de vida y esperanza)/gi; //CAMBIAR ESTO PARA CONFIGURAR
const frasesSubrayadas = /(texto a subrayar|otro texto)/gi; //CAMBIAR ESTO PARA CONFIGURAR

const textoFormateado1 = texto.replace(frasesEnNegrita, '<b>$&</b>');
const textoFormateado2 = textoFormateado1.replace(frasesEnCursiva, '<i>$&</i>');
const textoFinal = textoFormateado2.replace(frasesSubrayadas, '<u>$&</u>');

document.getElementById('mal').innerHTML = textoFinal; //CAMBIAR ESTO PARA CONFIGURAR
}).catch(error => console.error('Error al cargar el archivo:', error));

fetch('Textos/mal2.txt') //CAMBIAR ESTO PARA CONFIGURAR
.then(response => response.text())
.then(texto => {
const frasesEnNegrita = /(tendencia a la vanguardia|tendencia al compromiso)/gi; //CAMBIAR ESTO PARA CONFIGURAR
const frasesEnCursiva = /(Azul|Prosas profanas|Cantos de vida y esperanza)/gi; //CAMBIAR ESTO PARA CONFIGURAR
const frasesSubrayadas = /(texto a subrayar|otro texto)/gi; //CAMBIAR ESTO PARA CONFIGURAR

const textoFormateado1 = texto.replace(frasesEnNegrita, '<b>$&</b>');
const textoFormateado2 = textoFormateado1.replace(frasesEnCursiva, '<i>$&</i>');
const textoFinal = textoFormateado2.replace(frasesSubrayadas, '<u>$&</u>');

document.getElementById('mal2').innerHTML = textoFinal; //CAMBIAR ESTO PARA CONFIGURAR
}).catch(error => console.error('Error al cargar el archivo:', error));

fetch('Textos/retrato.txt')
.then(response => response.text())
.then(text =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fetch('Textos/biografia3.txt')

//Indicios vehementes

fetch('Textos/inicios.txt')
fetch('Textos/Inicios.txt')
.then(response => response.text())
.then(text =>
{
Expand Down

0 comments on commit 23ff1b1

Please sign in to comment.