@icarusmx/creta 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/creta.js CHANGED
@@ -175,10 +175,10 @@ function applyPageModifications(content, level) {
175
175
  <!-- ⚠️ COMPLETA AQUÍ LA SECCIÓN HERO -->
176
176
  <div class="max-w-4xl mx-auto px-4 text-center">
177
177
  <h1 class="text-4xl md:text-6xl font-bold text-gray-900 mb-6">
178
- ¡Construye tu hero aquí!
178
+ Gracias por seguir aquí
179
179
  </h1>
180
180
  <p class="text-lg text-gray-600 mb-8">
181
- Lee los comentarios arriba para saber qué hacer ☝️
181
+ Abre el proyecto usando <code>code .</code> y sigue las instrucciones. Si tienes dudas, apóyate en el equipo
182
182
  </p>
183
183
  </div>
184
184
  </section>`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icarusmx/creta",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Salgamos de este laberinto.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,6 +22,7 @@
22
22
 
23
23
  <script>
24
24
  import '../app.css'
25
+ let { children } = $props();
25
26
  </script>
26
27
 
27
28
  <!--
@@ -47,8 +48,8 @@
47
48
  <nav class="bg-white shadow-sm">
48
49
  <div class="max-w-7xl mx-auto px-4">
49
50
  <div class="flex justify-between items-center py-3">
50
- <!-- Logo/Nombre aquí -->
51
- <!-- Menú aquí -->
51
+ [Logo/Nombre aquí]
52
+ [Menú aquí]
52
53
  </div>
53
54
  </div>
54
55
  </nav>
@@ -60,7 +61,7 @@
60
61
  </nav>
61
62
 
62
63
  <main>
63
- <slot />
64
+ {@render children?.()}
64
65
  </main>
65
66
 
66
67
  <!--
@@ -82,7 +83,7 @@
82
83
  <footer class="bg-gray-50 border-t">
83
84
  <div class="max-w-7xl mx-auto py-8 px-4">
84
85
  <div class="text-center text-gray-600 text-sm">
85
- <!-- Tu contenido aquí -->
86
+ [Tu contenido aquí]
86
87
  </div>
87
88
  </div>
88
89
  </footer>
@@ -41,10 +41,10 @@
41
41
  <!-- ⚠️ COMPLETA AQUÍ LA SECCIÓN HERO -->
42
42
  <div class="max-w-4xl mx-auto px-4 text-center">
43
43
  <h1 class="text-4xl md:text-6xl font-bold text-gray-900 mb-6">
44
- ¡Construye tu hero aquí!
44
+ Gracias por seguir aquí
45
45
  </h1>
46
46
  <p class="text-lg text-gray-600 mb-8">
47
- Lee los comentarios arriba para saber qué hacer ☝️
47
+ Abre el proyecto usando <code>code .</code> y sigue las instrucciones. Si tienes dudas, apóyate en el equipo
48
48
  </p>
49
49
  </div>
50
50
  </section>