diff --git a/src/App.svelte b/src/App.svelte
index 75e9190..735cd21 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -1,7 +1,10 @@
-
- {#if issues.length == 0}
- Cargando...
- {:else}
-
- {#each issues as issue}
-
-
-
-
- {/each}
-
+
+ {/each}
+
+ {/if}
+ {:else if pagina === 1}
+
{/if}
diff --git a/src/assets/issues.json b/src/assets/issues.json
index 4e7df0e..caac0d4 100644
--- a/src/assets/issues.json
+++ b/src/assets/issues.json
@@ -874,25 +874,6 @@
"updated_on": "2025-10-22T23:05:58Z",
"closed_on": "2025-10-22T21:24:48Z"
},
- {
- "id": 7,
- "project": { "id": 1, "name": "AlquilaFacil" },
- "tracker": { "id": 1, "name": "Caracteristica" },
- "status": { "id": 2, "name": "Cerrado", "is_closed": true },
- "priority": { "id": 2, "name": "Normal" },
- "author": { "id": 5, "name": "Federico Polidoro" },
- "subject": "Falta validacion de longitud campo nombre",
- "description": "\r\n\r\n\u003cimg width=\"389\" alt=\"image.png\" src=\"attachments/b6ed90ae-e622-4ab6-bbf2-dabd58b94717\"\u003e\r\n\r\n",
- "start_date": "2025-05-29",
- "due_date": "2025-05-29",
- "done_ratio": 100,
- "is_private": false,
- "estimated_hours": null,
- "total_estimated_hours": null,
- "created_on": "2025-10-22T20:58:54Z",
- "updated_on": "2025-10-22T23:07:19Z",
- "closed_on": "2025-10-22T21:24:48Z"
- },
{
"id": 6,
"project": { "id": 1, "name": "AlquilaFacil" },
diff --git a/src/componentes/header.svelte b/src/componentes/header.svelte
new file mode 100644
index 0000000..d52b089
--- /dev/null
+++ b/src/componentes/header.svelte
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/componentes/paginas/CalcularDias.svelte b/src/componentes/paginas/CalcularDias.svelte
new file mode 100644
index 0000000..f8c8be3
--- /dev/null
+++ b/src/componentes/paginas/CalcularDias.svelte
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+ {#if diasCalculados > 0}
+
+ Resultado:
+ {diasCalculados} días calculados
+
+ {/if}
+
+
+
Issues:
+
+ {#each issues as issue}
+ -
+ {`${issue.id} | ${issue.subject}`}
+ {issue.cantDias || 0} días
+
+ {/each}
+
+
+
+
+
diff --git a/src/types.d.ts b/src/types.d.ts
new file mode 100644
index 0000000..b3cee0b
--- /dev/null
+++ b/src/types.d.ts
@@ -0,0 +1,20 @@
+export interface Issue {
+ id: number;
+ project: { id: number; name: string };
+ tracker: { id: number; name: string };
+ status: { id: number; name: string; is_closed: boolean };
+ priority: { id: number; name: string };
+ author: { id: number; name: string };
+ subject: string;
+ description: string;
+ start_date: string;
+ due_date: string;
+ cantDias: number;
+ done_ratio: number;
+ is_private: boolean;
+ estimated_hours: number | null;
+ total_estimated_hours: number | null;
+ created_on: string;
+ updated_on: string;
+ closed_on: string;
+}