Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Commit 681a76e

Browse files
committed
Añadido Banner Pásame el Código
1 parent dbd1422 commit 681a76e

16 files changed

+190
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SPDX-License-Identifier: GPL-3.0-only
55
-->
66

77
> [!IMPORTANT]
8-
> Este proyecto ha sido descontinuado. Gracias a todos/as por colaborar.
8+
> Este proyecto ha sido descontinuado. Gracias a todos/as por colaborar. Continuación en: [Pásame el Código](https://github.com/TeenBiscuits/Pasame-Codigo)
99
1010
[![Banner](./images/Pro2324%20GitHub%20Readme.png)](https://pro2324.pablopl.dev/)
1111

@@ -29,7 +29,7 @@ SPDX-License-Identifier: GPL-3.0-only
2929
[![Pull Request](https://img.shields.io/github/issues-pr-closed/TeenBiscuits/Pro2324.svg?label=Pull%20Request)](https://github.com/TeenBiscuits/Pro2324/pulls)
3030
[![GitHub Contributors](https://img.shields.io/github/contributors/TeenBiscuits/Pro2324?label=Contributors)](https://github.com/TeenBiscuits/Pro2324/graphs/contributors)
3131
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](./LICENSE.md)
32-
[![License: CC BY-ND 4.0](https://img.shields.io/badge/License-CC_BY--ND_4.0-lightgrey.svg)](./docs/LICENSE)
32+
[![License: CC BY-NC 4.0](https://img.shields.io/badge/License-CC_BY--NC_4.0-lightgrey.svg)](./docs/LICENSE)
3333
[![REUSE Compliance](https://github.com/TeenBiscuits/Pro2324/actions/workflows/compilance.yml/badge.svg)](https://github.com/TeenBiscuits/Pro2324/actions/workflows/compilance.yml)
3434
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)
3535
[![Stars](https://img.shields.io/github/stars/TeenBiscuits/Pro2324.svg)](https://github.com/TeenBiscuits/Pro2324)

docs/cfg/header.html

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,52 @@
1818
aviso.style.borderBottom = '2px solid #990000';
1919
document.body.insertBefore(aviso, document.body.firstChild);
2020
};
21-
</script>
21+
</script>
22+
<script>
23+
document.addEventListener("DOMContentLoaded", function() {
24+
const today = new Date().toISOString().split('T')[0];
25+
26+
if (localStorage.getItem("popupLastClosed") !== today) {
27+
28+
const overlay = document.createElement("div");
29+
overlay.style.position = "fixed";
30+
overlay.style.top = "0";
31+
overlay.style.left = "0";
32+
overlay.style.width = "100%";
33+
overlay.style.height = "100%";
34+
overlay.style.backgroundColor = "rgba(0, 0, 0, 0.5)";
35+
overlay.style.display = "flex";
36+
overlay.style.alignItems = "center";
37+
overlay.style.justifyContent = "center";
38+
overlay.style.zIndex = "1000";
39+
40+
const popup = document.createElement("div");
41+
popup.style.width = "80%";
42+
popup.style.maxWidth = "500px";
43+
popup.style.padding = "30px";
44+
popup.style.backgroundColor = "#333";
45+
popup.style.color = "#fff";
46+
popup.style.borderRadius = "10px";
47+
popup.style.textAlign = "center";
48+
popup.style.boxShadow = "0px 8px 16px rgba(0, 0, 0, 0.5)";
49+
50+
popup.innerHTML = `
51+
<img src="https://pc.pablopl.dev/og.jpg" alt="Imagen destacada" style="width: 100%; max-width: 100%; border-radius: 10px; margin-bottom: 15px;">
52+
<h1>¡Nueva Web Disponible: Pásame el Código!</h1>
53+
<p>Visita nuestra nueva página web con contenidos actualizados y mucho más. Todos los apuntes y ejercicios de esta página están siendo migrados para ahí.</p>
54+
<div style="display: flex; justify-content: space-between; margin-top: 20px;">
55+
<button id="close-popup" style="padding: 10px 20px; background-color: #555; color: #fff; border: none; border-radius: 5px; cursor: pointer;">Cerrar 😔</button>
56+
<a href="https://pc.pablopl.dev/" target="_blank" id="visit-new-site" style="padding: 10px 20px; background-color: #0284c7; color: #fff; text-decoration: none; border-radius: 5px; cursor: pointer;">Ir a la nueva web 😎</a>
57+
</div>
58+
`;
59+
60+
overlay.appendChild(popup);
61+
document.body.appendChild(overlay);
62+
63+
document.getElementById("close-popup").addEventListener("click", function() {
64+
overlay.style.display = "none";
65+
localStorage.setItem("popupLastClosed", today);
66+
});
67+
}
68+
});
69+
</script>

docs/topics/02-Boletines/Pro-1/Boletin-1-Conceptos-Basicos.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ Entra y Salida. printf, scanf, gets, define y operaciones artiméticas básicas.
1616

1717
</tldr>
1818

19+
<procedure>
20+
21+
![Pásame El Código](https://pc.pablopl.dev/og.jpg)
22+
23+
Visita nuestra nueva página web con contenidos actualizados y mucho más.
24+
25+
Este boletín también está en: [Pásame el Código](https://pc.pablopl.dev/prouno/boletines/b1-boletin-1/)
26+
27+
</procedure>
28+
1929
### Ejercicio 1
2030

2131
Plantee e implemente un programa en lenguaje C que solicite el nombre y la edad de un usuario por teclado de forma que

docs/topics/02-Boletines/Pro-1/Boletin-2-Control-de-Flujo.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ Bucles (while / do while / for) y condicionales (if / else / switch)
1414

1515
</tldr>
1616

17+
<procedure>
18+
19+
![Pásame El Código](https://pc.pablopl.dev/og.jpg)
20+
21+
Visita nuestra nueva página web con contenidos actualizados y mucho más.
22+
23+
Este boletín también está en: [Pásame el Código](https://pc.pablopl.dev/prouno/boletines/b2-boletin-2/)
24+
25+
</procedure>
26+
1727
### Ejercicio 1
1828

1929
Plantee e implemente un programa en Lenguaje C que solicite un número entero por teclado y muestre por pantalla si es

docs/topics/02-Boletines/Pro-1/Boletin-3-Subprogramas.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ Funciones, recursividad y retorno de datos.
1616

1717
</tldr>
1818

19+
<procedure>
20+
21+
![Pásame El Código](https://pc.pablopl.dev/og.jpg)
22+
23+
Visita nuestra nueva página web con contenidos actualizados y mucho más.
24+
25+
Este boletín también está en: [Pásame el Código](https://pc.pablopl.dev/prouno/boletines/b3-boletin-3/)
26+
27+
</procedure>
1928

2029
### Ejercicio 1
2130

docs/topics/02-Boletines/Pro-1/Boletin-4-Estructuras-de-Datos.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ Arrays, registros y cadenas de caracteres.
1616

1717
</tldr>
1818

19+
<procedure>
20+
21+
![Pásame El Código](https://pc.pablopl.dev/og.jpg)
22+
23+
Visita nuestra nueva página web con contenidos actualizados y mucho más.
24+
25+
Este boletín también está en: [Pásame el Código](https://pc.pablopl.dev/prouno/boletines/b4-boletin-4/)
26+
27+
</procedure>
28+
1929
<!-- TODO FALTAN EJERCICIOS -->
2030
<warning>
2131
<b><b>¡Se necesita tu ayuda!</b></b>

docs/topics/03-Apuntes/Pro-1/Bloque-1-Conceptos-Basicos.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ SPDX-License-Identifier: CC-BY-NC-4.0
66

77
<web-summary rel="tldr"/>
88

9+
<procedure>
10+
11+
![Pásame El Código](https://pc.pablopl.dev/og.jpg)
12+
13+
Visita nuestra nueva página web con contenidos actualizados y mucho más.
14+
15+
Estos apuntes también están en: [Pásame el Código](https://pc.pablopl.dev/prouno/apuntes/b1-conceptos-basicos/)
16+
17+
</procedure>
18+
919
<tip>Copyright © 2024 Daniel Feito Pin</tip>
1020

1121
# Bloque 1 - Conceptos Básicos

docs/topics/03-Apuntes/Pro-1/Bloque-2-Control-de-Flujo.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ SPDX-License-Identifier: CC-BY-NC-4.0
66

77
<web-summary rel="tldr"/>
88

9+
<procedure>
10+
11+
![Pásame El Código](https://pc.pablopl.dev/og.jpg)
12+
13+
Visita nuestra nueva página web con contenidos actualizados y mucho más.
14+
15+
Estos apuntes también están en: [Pásame el Código](https://pc.pablopl.dev/prouno/apuntes/b2-control-de-flujo/)
16+
17+
</procedure>
18+
919
<tip>Copyright © 2024 Daniel Feito Pin</tip>
1020

1121
# Bloque 2 - Control de Flujo

docs/topics/03-Apuntes/Pro-1/Bloque-3-Subprogramas.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ SPDX-License-Identifier: CC-BY-NC-4.0
66

77
<web-summary rel="tldr"/>
88

9+
<procedure>
10+
11+
![Pásame El Código](https://pc.pablopl.dev/og.jpg)
12+
13+
Visita nuestra nueva página web con contenidos actualizados y mucho más.
14+
15+
Estos apuntes también están en: [Pásame el Código](https://pc.pablopl.dev/prouno/apuntes/b3-subprogramas/)
16+
17+
</procedure>
18+
919
<tip>Copyright © 2024 Daniel Feito Pin</tip>
1020

1121
# Bloque 3 - Subprogramas

docs/topics/03-Apuntes/Pro-1/Bloque-4-Estructuras-de-Datos.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ SPDX-License-Identifier: CC-BY-NC-4.0
66

77
<web-summary rel="tldr"/>
88

9+
<procedure>
10+
11+
![Pásame El Código](https://pc.pablopl.dev/og.jpg)
12+
13+
Visita nuestra nueva página web con contenidos actualizados y mucho más.
14+
15+
Estos apuntes también están en: [Pásame el Código](https://pc.pablopl.dev/prouno/apuntes/b4-estructuras-de-datos/)
16+
17+
</procedure>
18+
919
<tip>Copyright © 2024 Daniel Feito Pin</tip>
1020

1121
# Bloque 4 - Estructuras de Datos

0 commit comments

Comments
 (0)