-
(selectVersion = false)}>
-
Version
+
(selectversionRead = false)}>
+
versionRead
- {#if selectVersion}
+ {#if selectversionRead}
- {#each versions as v}
+ {#each versionReads as v}
+
-
+
+
+
+
+
+
+
+
+
{#if loading }
diff --git a/src/constants.ts b/src/constants.ts
index 0aeffcd..39ac839 100644
--- a/src/constants.ts
+++ b/src/constants.ts
@@ -67,6 +67,78 @@ export const books = [
'Apocalipsis'
]
+export const oldTestament = [
+ 'Genesis',
+ 'Exodo',
+ 'Levitico',
+ 'Numeros',
+ 'Deuteronomio',
+ 'Josue',
+ 'Jueces',
+ 'Rut',
+ '1-Samuel',
+ '2-Samuel',
+ '1-Reyes',
+ '2-Reyes',
+ '1-Cronicas',
+ '2-Cronicas',
+ 'Esdras',
+ 'Nehemias',
+ 'Ester',
+ 'Job',
+ 'Salmos',
+ 'Proverbios',
+ 'Eclesiastes',
+ 'Cantares',
+ 'Isaias',
+ 'Jeremias',
+ 'Lamentaciones',
+ 'Ezequiel',
+ 'Daniel',
+ 'Oseas',
+ 'Joel',
+ 'Amos',
+ 'Abdias',
+ 'Jonas',
+ 'Miqueas',
+ 'Nahum',
+ 'Habacuc',
+ 'Sofonias',
+ 'Hageo',
+ 'Zacarias',
+ 'Malaquias',
+]
+
+export const newTestament = [
+ 'Mateo',
+ 'Marcos',
+ 'Lucas',
+ 'Juan',
+ 'Hechos',
+ 'Romanos',
+ '1-Corintios',
+ '2-Corintios',
+ 'Galatas',
+ 'Efesios',
+ 'Filipenses',
+ 'Colosenses',
+ '1-Tesalonicenses',
+ '2-Tesalonicenses',
+ '1-Timoteo',
+ '2-Timoteo',
+ 'Tito',
+ 'Filemon',
+ 'Hebreos',
+ 'Santiago',
+ '1-Pedro',
+ '2-Pedro',
+ '1-Juan',
+ '2-Juan',
+ '3-Juan',
+ 'Judas',
+ 'Apocalipsis'
+]
+
export const VERSIONS = {
rv1960: 'Reina Valera 1960',
rv1995: 'Reina Valera 1995',
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 6cf1faf..6f99723 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -9,6 +9,7 @@
import OpenSource from '@/components/icons/OpenSource.svelte'
import Lightning from '@/components/icons/Lightning.svelte'
import ZeroAdds from '@/components/icons/ZeroAdds.svelte'
+ import { goto } from '$app/navigation'
@@ -36,7 +37,7 @@
class="min-lg:place-items-start m-4 flex font-bold max-lg:justify-around max-lg:text-xl max-md:justify-center max-md:gap-4 max-sm:flex-col max-sm:place-content-center max-sm:align-middle lg:gap-3 lg:text-2xl"
>