11 Commits

Author SHA1 Message Date
  Ángel G. Romero Rosario 714f860edf merge conflicts with Janthony's branch 2 years ago
  Ángel G. Romero Rosario ccb1a3fe91 Cambios nuevos 2 years ago
  Ángel G. Romero Rosario 23555c44e6 Cambios 2 years ago
  Ángel G. Romero Rosario 39cbf630b9 Cambios 2 years ago
  cynthiarivera15 070cfdb749 Added random num 2 years ago
  Ángel G. Romero Rosario 5290ac7d2e Changes to flag screen 2 years ago
  Ángel G. Romero Rosario afe407b9d6 Fix typo in moti alt 2 years ago
  Ángel G. Romero Rosario d9374ff107 Added text wraping to cards 2 years ago
  Ángel G. Romero Rosario d486e929f5 Change style file 2 years ago
  Ángel G. Romero Rosario 5d52d6362f Merge with master 2 years ago
  Jantony Velazquez Gauthier 206568b325 Switch Flag.tsx to use Flag.json 2 years ago
53 changed files with 314 additions and 737 deletions
  1. 5
    0
      .gitignore 2
  2. 0
    101
      android/.gitignore
  3. 0
    25
      android/.idea/jarRepositories.xml
  4. 0
    53
      android/app/build.gradle
  5. 0
    21
      android/app/proguard-rules.pro
  6. 0
    42
      android/app/src/main/AndroidManifest.xml
  7. 0
    24
      android/gradle.properties
  8. 0
    89
      android/gradlew.bat
  9. 24
    8
      build/asset-manifest.json
  10. 5
    1
      build/index.html
  11. 5
    1
      build/service-worker.js
  12. 1
    1
      build/service-worker.js.map
  13. 0
    2
      build/static/js/186.09c3ea27.chunk.js
  14. 0
    1
      build/static/js/186.09c3ea27.chunk.js.map
  15. 0
    3
      build/static/js/738.aba3ba7d.chunk.js
  16. 0
    11
      build/static/js/738.aba3ba7d.chunk.js.LICENSE.txt
  17. 0
    1
      build/static/js/738.aba3ba7d.chunk.js.map
  18. 0
    3
      build/static/js/851.7ada53df.chunk.js
  19. 0
    3
      build/static/js/851.7ada53df.chunk.js.LICENSE.txt
  20. 0
    1
      build/static/js/851.7ada53df.chunk.js.map
  21. 0
    3
      build/static/js/main.a0b94822.js
  22. 0
    56
      build/static/js/main.a0b94822.js.LICENSE.txt
  23. 0
    1
      build/static/js/main.a0b94822.js.map
  24. 10
    0
      capacitor.config 2.ts
  25. 1
    0
      capacitor.config.json
  26. 13
    0
      frases.json
  27. 140
    15
      package-lock.json
  28. 2
    0
      package.json
  29. BIN
      src/.DS_Store
  30. BIN
      src/images/.DS_Store
  31. 39
    0
      src/pages/Flag.json
  32. 50
    266
      src/pages/Flag.tsx
  33. 13
    4
      src/pages/Home.tsx
  34. BIN
      src/pages/images/frases_motivavionales/1 2.png
  35. BIN
      src/pages/images/frases_motivavionales/1.png
  36. BIN
      src/pages/images/frases_motivavionales/2 2.png
  37. BIN
      src/pages/images/frases_motivavionales/2.png
  38. BIN
      src/pages/images/frases_motivavionales/3 2.png
  39. BIN
      src/pages/images/frases_motivavionales/3.png
  40. BIN
      src/pages/images/frases_motivavionales/4 2.png
  41. BIN
      src/pages/images/frases_motivavionales/4.png
  42. BIN
      src/pages/images/frases_motivavionales/5 2.png
  43. BIN
      src/pages/images/frases_motivavionales/5.png
  44. BIN
      src/pages/images/frases_motivavionales/6 2.png
  45. BIN
      src/pages/images/frases_motivavionales/6.png
  46. BIN
      src/pages/images/frases_motivavionales/7 2.png
  47. BIN
      src/pages/images/frases_motivavionales/7.png
  48. BIN
      src/pages/images/frases_motivavionales/8 2.png
  49. BIN
      src/pages/images/frases_motivavionales/8.png
  50. BIN
      src/pages/images/frases_motivavionales/9 2.png
  51. BIN
      src/pages/images/frases_motivavionales/9.png
  52. 5
    0
      src/pages/styles/styles.css
  53. 1
    1
      src/theme/variables.css

+ 5
- 0
.gitignore 2 View File

@@ -0,0 +1,5 @@
1
+node_modules/
2
+public/
3
+ios/
4
+android/
5
+build/

+ 0
- 101
android/.gitignore View File

@@ -1,101 +0,0 @@
1
-# Using Android gitignore template: https://github.com/github/gitignore/blob/HEAD/Android.gitignore
2
-
3
-# Built application files
4
-*.apk
5
-*.aar
6
-*.ap_
7
-*.aab
8
-
9
-# Files for the ART/Dalvik VM
10
-*.dex
11
-
12
-# Java class files
13
-*.class
14
-
15
-# Generated files
16
-bin/
17
-gen/
18
-out/
19
-#  Uncomment the following line in case you need and you don't have the release build type files in your app
20
-# release/
21
-
22
-# Gradle files
23
-.gradle/
24
-build/
25
-
26
-# Local configuration file (sdk path, etc)
27
-local.properties
28
-
29
-# Proguard folder generated by Eclipse
30
-proguard/
31
-
32
-# Log Files
33
-*.log
34
-
35
-# Android Studio Navigation editor temp files
36
-.navigation/
37
-
38
-# Android Studio captures folder
39
-captures/
40
-
41
-# IntelliJ
42
-*.iml
43
-.idea/workspace.xml
44
-.idea/tasks.xml
45
-.idea/gradle.xml
46
-.idea/assetWizardSettings.xml
47
-.idea/dictionaries
48
-.idea/libraries
49
-# Android Studio 3 in .gitignore file.
50
-.idea/caches
51
-.idea/modules.xml
52
-# Comment next line if keeping position of elements in Navigation Editor is relevant for you
53
-.idea/navEditor.xml
54
-
55
-# Keystore files
56
-# Uncomment the following lines if you do not want to check your keystore files in.
57
-#*.jks
58
-#*.keystore
59
-
60
-# External native build folder generated in Android Studio 2.2 and later
61
-.externalNativeBuild
62
-.cxx/
63
-
64
-# Google Services (e.g. APIs or Firebase)
65
-# google-services.json
66
-
67
-# Freeline
68
-freeline.py
69
-freeline/
70
-freeline_project_description.json
71
-
72
-# fastlane
73
-fastlane/report.xml
74
-fastlane/Preview.html
75
-fastlane/screenshots
76
-fastlane/test_output
77
-fastlane/readme.md
78
-
79
-# Version control
80
-vcs.xml
81
-
82
-# lint
83
-lint/intermediates/
84
-lint/generated/
85
-lint/outputs/
86
-lint/tmp/
87
-# lint/reports/
88
-
89
-# Android Profiling
90
-*.hprof
91
-
92
-# Cordova plugins for Capacitor
93
-capacitor-cordova-android-plugins
94
-
95
-# Copied web assets
96
-app/src/main/assets/public
97
-
98
-# Generated Config files
99
-app/src/main/assets/capacitor.config.json
100
-app/src/main/assets/capacitor.plugins.json
101
-app/src/main/res/xml/config.xml

+ 0
- 25
android/.idea/jarRepositories.xml View File

@@ -1,25 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="RemoteRepositoriesConfiguration">
4
-    <remote-repository>
5
-      <option name="id" value="central" />
6
-      <option name="name" value="Maven Central repository" />
7
-      <option name="url" value="https://repo1.maven.org/maven2" />
8
-    </remote-repository>
9
-    <remote-repository>
10
-      <option name="id" value="jboss.community" />
11
-      <option name="name" value="JBoss Community repository" />
12
-      <option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
13
-    </remote-repository>
14
-    <remote-repository>
15
-      <option name="id" value="MavenRepo" />
16
-      <option name="name" value="MavenRepo" />
17
-      <option name="url" value="https://repo.maven.apache.org/maven2/" />
18
-    </remote-repository>
19
-    <remote-repository>
20
-      <option name="id" value="Google" />
21
-      <option name="name" value="Google" />
22
-      <option name="url" value="https://dl.google.com/dl/android/maven2/" />
23
-    </remote-repository>
24
-  </component>
25
-</project>

+ 0
- 53
android/app/build.gradle View File

@@ -1,53 +0,0 @@
1
-apply plugin: 'com.android.application'
2
-
3
-android {
4
-    compileSdkVersion rootProject.ext.compileSdkVersion
5
-    defaultConfig {
6
-        applicationId "io.ionic.starter"
7
-        minSdkVersion rootProject.ext.minSdkVersion
8
-        targetSdkVersion rootProject.ext.targetSdkVersion
9
-        versionCode 1
10
-        versionName "1.0"
11
-        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
12
-        aaptOptions {
13
-             // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
14
-             // Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61
15
-            ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
16
-        }
17
-    }
18
-    buildTypes {
19
-        release {
20
-            minifyEnabled false
21
-            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
22
-        }
23
-    }
24
-}
25
-
26
-repositories {
27
-    flatDir{
28
-        dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'
29
-    }
30
-}
31
-
32
-dependencies {
33
-    implementation fileTree(include: ['*.jar'], dir: 'libs')
34
-    implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
35
-    implementation "androidx.coordinatorlayout:coordinatorlayout:$androidxCoordinatorLayoutVersion"
36
-    implementation "androidx.core:core-splashscreen:$coreSplashScreenVersion"
37
-    implementation project(':capacitor-android')
38
-    testImplementation "junit:junit:$junitVersion"
39
-    androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
40
-    androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
41
-    implementation project(':capacitor-cordova-android-plugins')
42
-}
43
-
44
-apply from: 'capacitor.build.gradle'
45
-
46
-try {
47
-    def servicesJSON = file('google-services.json')
48
-    if (servicesJSON.text) {
49
-        apply plugin: 'com.google.gms.google-services'
50
-    }
51
-} catch(Exception e) {
52
-    logger.info("google-services.json not found, google-services plugin not applied. Push Notifications won't work")
53
-}

+ 0
- 21
android/app/proguard-rules.pro View File

@@ -1,21 +0,0 @@
1
-# Add project specific ProGuard rules here.
2
-# You can control the set of applied configuration files using the
3
-# proguardFiles setting in build.gradle.
4
-#
5
-# For more details, see
6
-#   http://developer.android.com/guide/developing/tools/proguard.html
7
-
8
-# If your project uses WebView with JS, uncomment the following
9
-# and specify the fully qualified class name to the JavaScript interface
10
-# class:
11
-#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12
-#   public *;
13
-#}
14
-
15
-# Uncomment this to preserve the line number information for
16
-# debugging stack traces.
17
-#-keepattributes SourceFile,LineNumberTable
18
-
19
-# If you keep the line number information, uncomment this to
20
-# hide the original source file name.
21
-#-renamesourcefileattribute SourceFile

+ 0
- 42
android/app/src/main/AndroidManifest.xml View File

@@ -1,42 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
-    package="io.ionic.starter">
4
-
5
-    <application
6
-        android:allowBackup="true"
7
-        android:icon="@mipmap/ic_launcher"
8
-        android:label="@string/app_name"
9
-        android:roundIcon="@mipmap/ic_launcher_round"
10
-        android:supportsRtl="true"
11
-        android:theme="@style/AppTheme">
12
-
13
-        <activity
14
-            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
15
-            android:name="io.ionic.starter.MainActivity"
16
-            android:label="@string/title_activity_main"
17
-            android:theme="@style/AppTheme.NoActionBarLaunch"
18
-            android:launchMode="singleTask"
19
-            android:exported="true">
20
-
21
-            <intent-filter>
22
-                <action android:name="android.intent.action.MAIN" />
23
-                <category android:name="android.intent.category.LAUNCHER" />
24
-            </intent-filter>
25
-
26
-        </activity>
27
-
28
-        <provider
29
-            android:name="androidx.core.content.FileProvider"
30
-            android:authorities="${applicationId}.fileprovider"
31
-            android:exported="false"
32
-            android:grantUriPermissions="true">
33
-            <meta-data
34
-                android:name="android.support.FILE_PROVIDER_PATHS"
35
-                android:resource="@xml/file_paths"></meta-data>
36
-        </provider>
37
-    </application>
38
-
39
-    <!-- Permissions -->
40
-
41
-    <uses-permission android:name="android.permission.INTERNET" />
42
-</manifest>

+ 0
- 24
android/gradle.properties View File

@@ -1,24 +0,0 @@
1
-# Project-wide Gradle settings.
2
-
3
-# IDE (e.g. Android Studio) users:
4
-# Gradle settings configured through the IDE *will override*
5
-# any settings specified in this file.
6
-
7
-# For more details on how to configure your build environment visit
8
-# http://www.gradle.org/docs/current/userguide/build_environment.html
9
-
10
-# Specifies the JVM arguments used for the daemon process.
11
-# The setting is particularly useful for tweaking memory settings.
12
-org.gradle.jvmargs=-Xmx1536m
13
-
14
-# When configured, Gradle will run in incubating parallel mode.
15
-# This option should only be used with decoupled projects. More details, visit
16
-# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17
-# org.gradle.parallel=true
18
-
19
-# AndroidX package structure to make it clearer which packages are bundled with the
20
-# Android operating system, and which are packaged with your app's APK
21
-# https://developer.android.com/topic/libraries/support-library/androidx-rn
22
-android.useAndroidX=true
23
-# Automatically convert third-party libraries to use AndroidX
24
-android.enableJetifier=true

+ 0
- 89
android/gradlew.bat View File

@@ -1,89 +0,0 @@
1
-@rem
2
-@rem Copyright 2015 the original author or authors.
3
-@rem
4
-@rem Licensed under the Apache License, Version 2.0 (the "License");
5
-@rem you may not use this file except in compliance with the License.
6
-@rem You may obtain a copy of the License at
7
-@rem
8
-@rem      https://www.apache.org/licenses/LICENSE-2.0
9
-@rem
10
-@rem Unless required by applicable law or agreed to in writing, software
11
-@rem distributed under the License is distributed on an "AS IS" BASIS,
12
-@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
-@rem See the License for the specific language governing permissions and
14
-@rem limitations under the License.
15
-@rem
16
-
17
-@if "%DEBUG%" == "" @echo off
18
-@rem ##########################################################################
19
-@rem
20
-@rem  Gradle startup script for Windows
21
-@rem
22
-@rem ##########################################################################
23
-
24
-@rem Set local scope for the variables with windows NT shell
25
-if "%OS%"=="Windows_NT" setlocal
26
-
27
-set DIRNAME=%~dp0
28
-if "%DIRNAME%" == "" set DIRNAME=.
29
-set APP_BASE_NAME=%~n0
30
-set APP_HOME=%DIRNAME%
31
-
32
-@rem Resolve any "." and ".." in APP_HOME to make it shorter.
33
-for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
34
-
35
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
36
-set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
37
-
38
-@rem Find java.exe
39
-if defined JAVA_HOME goto findJavaFromJavaHome
40
-
41
-set JAVA_EXE=java.exe
42
-%JAVA_EXE% -version >NUL 2>&1
43
-if "%ERRORLEVEL%" == "0" goto execute
44
-
45
-echo.
46
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
47
-echo.
48
-echo Please set the JAVA_HOME variable in your environment to match the
49
-echo location of your Java installation.
50
-
51
-goto fail
52
-
53
-:findJavaFromJavaHome
54
-set JAVA_HOME=%JAVA_HOME:"=%
55
-set JAVA_EXE=%JAVA_HOME%/bin/java.exe
56
-
57
-if exist "%JAVA_EXE%" goto execute
58
-
59
-echo.
60
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
61
-echo.
62
-echo Please set the JAVA_HOME variable in your environment to match the
63
-echo location of your Java installation.
64
-
65
-goto fail
66
-
67
-:execute
68
-@rem Setup the command line
69
-
70
-set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
71
-
72
-
73
-@rem Execute Gradle
74
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
75
-
76
-:end
77
-@rem End local scope for the variables with windows NT shell
78
-if "%ERRORLEVEL%"=="0" goto mainEnd
79
-
80
-:fail
81
-rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
82
-rem the _cmd.exe /c_ return code!
83
-if  not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84
-exit /b 1
85
-
86
-:mainEnd
87
-if "%OS%"=="Windows_NT" endlocal
88
-
89
-:omega

+ 24
- 8
build/asset-manifest.json View File

@@ -1,33 +1,49 @@
1 1
 {
2 2
   "files": {
3
+<<<<<<< HEAD
4
+    "main.css": "/static/css/main.30c9193e.css",
5
+    "main.js": "/static/js/main.a0b94822.js",
6
+    "static/js/738.aba3ba7d.chunk.js": "/static/js/738.aba3ba7d.chunk.js",
7
+=======
3 8
     "main.css": "/static/css/main.3f863b78.css",
4
-    "main.js": "/static/js/main.5c3034d0.js",
9
+    "main.js": "/static/js/main.05353c61.js",
5 10
     "static/js/738.23d458d2.chunk.js": "/static/js/738.23d458d2.chunk.js",
11
+>>>>>>> JantonyBranch
6 12
     "static/js/372.1940d375.chunk.js": "/static/js/372.1940d375.chunk.js",
7 13
     "static/js/856.c55f21fe.chunk.js": "/static/js/856.c55f21fe.chunk.js",
8
-    "static/js/851.b02dec88.chunk.js": "/static/js/851.b02dec88.chunk.js",
14
+    "static/js/851.7ada53df.chunk.js": "/static/js/851.7ada53df.chunk.js",
9 15
     "static/js/22.7ec1dda8.chunk.js": "/static/js/22.7ec1dda8.chunk.js",
10 16
     "static/js/272.fc222ae9.chunk.js": "/static/js/272.fc222ae9.chunk.js",
11 17
     "static/js/841.bef26980.chunk.js": "/static/js/841.bef26980.chunk.js",
12
-    "static/js/186.a076517b.chunk.js": "/static/js/186.a076517b.chunk.js",
18
+    "static/js/186.09c3ea27.chunk.js": "/static/js/186.09c3ea27.chunk.js",
13 19
     "static/js/377.31684c30.chunk.js": "/static/js/377.31684c30.chunk.js",
14
-    "static/media/moti1.jpeg": "/static/media/moti1.9e77264ce56094743da3.jpeg",
15 20
     "service-worker.js": "/service-worker.js",
16 21
     "index.html": "/index.html",
22
+<<<<<<< HEAD
23
+    "main.30c9193e.css.map": "/static/css/main.30c9193e.css.map",
24
+    "main.a0b94822.js.map": "/static/js/main.a0b94822.js.map",
25
+    "738.aba3ba7d.chunk.js.map": "/static/js/738.aba3ba7d.chunk.js.map",
26
+=======
17 27
     "main.3f863b78.css.map": "/static/css/main.3f863b78.css.map",
18
-    "main.5c3034d0.js.map": "/static/js/main.5c3034d0.js.map",
28
+    "main.05353c61.js.map": "/static/js/main.05353c61.js.map",
19 29
     "738.23d458d2.chunk.js.map": "/static/js/738.23d458d2.chunk.js.map",
30
+>>>>>>> JantonyBranch
20 31
     "372.1940d375.chunk.js.map": "/static/js/372.1940d375.chunk.js.map",
21 32
     "856.c55f21fe.chunk.js.map": "/static/js/856.c55f21fe.chunk.js.map",
22
-    "851.b02dec88.chunk.js.map": "/static/js/851.b02dec88.chunk.js.map",
33
+    "851.7ada53df.chunk.js.map": "/static/js/851.7ada53df.chunk.js.map",
23 34
     "22.7ec1dda8.chunk.js.map": "/static/js/22.7ec1dda8.chunk.js.map",
24 35
     "272.fc222ae9.chunk.js.map": "/static/js/272.fc222ae9.chunk.js.map",
25 36
     "841.bef26980.chunk.js.map": "/static/js/841.bef26980.chunk.js.map",
26
-    "186.a076517b.chunk.js.map": "/static/js/186.a076517b.chunk.js.map",
37
+    "186.09c3ea27.chunk.js.map": "/static/js/186.09c3ea27.chunk.js.map",
27 38
     "377.31684c30.chunk.js.map": "/static/js/377.31684c30.chunk.js.map"
28 39
   },
29 40
   "entrypoints": [
41
+<<<<<<< HEAD
42
+    "static/css/main.30c9193e.css",
43
+    "static/js/main.a0b94822.js"
44
+=======
30 45
     "static/css/main.3f863b78.css",
31
-    "static/js/main.5c3034d0.js"
46
+    "static/js/main.05353c61.js"
47
+>>>>>>> JantonyBranch
32 48
   ]
33 49
 }

+ 5
- 1
build/index.html View File

@@ -1 +1,5 @@
1
-<!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Ionic App</title><base href="/"/><meta name="color-scheme" content="light dark"/><meta name="viewport" content="viewport-fit=cover,width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/><meta name="format-detection" content="telephone=no"/><meta name="msapplication-tap-highlight" content="no"/><link rel="manifest" href="/manifest.json"/><link rel="shortcut icon" type="image/png" href="/assets/icon/favicon.png"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Ionic App"/><meta name="apple-mobile-web-app-status-bar-style" content="black"/><script defer="defer" src="/static/js/main.5c3034d0.js"></script><link href="/static/css/main.3f863b78.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
1
+<<<<<<< HEAD
2
+<!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Ionic App</title><base href="/"/><meta name="color-scheme" content="light dark"/><meta name="viewport" content="viewport-fit=cover,width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/><meta name="format-detection" content="telephone=no"/><meta name="msapplication-tap-highlight" content="no"/><link rel="manifest" href="/manifest.json"/><link rel="shortcut icon" type="image/png" href="/assets/icon/favicon.png"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Ionic App"/><meta name="apple-mobile-web-app-status-bar-style" content="black"/><script defer="defer" src="/static/js/main.a0b94822.js"></script><link href="/static/css/main.30c9193e.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
3
+=======
4
+<!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Ionic App</title><base href="/"/><meta name="color-scheme" content="light dark"/><meta name="viewport" content="viewport-fit=cover,width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/><meta name="format-detection" content="telephone=no"/><meta name="msapplication-tap-highlight" content="no"/><link rel="manifest" href="/manifest.json"/><link rel="shortcut icon" type="image/png" href="/assets/icon/favicon.png"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Ionic App"/><meta name="apple-mobile-web-app-status-bar-style" content="black"/><script defer="defer" src="/static/js/main.05353c61.js"></script><link href="/static/css/main.3f863b78.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
5
+>>>>>>> JantonyBranch

+ 5
- 1
build/service-worker.js
File diff suppressed because it is too large
View File


+ 1
- 1
build/service-worker.js.map
File diff suppressed because it is too large
View File


+ 0
- 2
build/static/js/186.09c3ea27.chunk.js
File diff suppressed because it is too large
View File


+ 0
- 1
build/static/js/186.09c3ea27.chunk.js.map
File diff suppressed because it is too large
View File


+ 0
- 3
build/static/js/738.aba3ba7d.chunk.js
File diff suppressed because it is too large
View File


+ 0
- 11
build/static/js/738.aba3ba7d.chunk.js.LICENSE.txt View File

@@ -1,11 +0,0 @@
1
-/**
2
- * @license
3
- * Copyright Google Inc. All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- *
8
- * This file is a port of shadowCSS from webcomponents.js to TypeScript.
9
- * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
10
- * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
11
- */

+ 0
- 1
build/static/js/738.aba3ba7d.chunk.js.map
File diff suppressed because it is too large
View File


+ 0
- 3
build/static/js/851.7ada53df.chunk.js
File diff suppressed because it is too large
View File


+ 0
- 3
build/static/js/851.7ada53df.chunk.js.LICENSE.txt View File

@@ -1,3 +0,0 @@
1
-/*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */

+ 0
- 1
build/static/js/851.7ada53df.chunk.js.map
File diff suppressed because it is too large
View File


+ 0
- 3
build/static/js/main.a0b94822.js
File diff suppressed because it is too large
View File


+ 0
- 56
build/static/js/main.a0b94822.js.LICENSE.txt View File

@@ -1,56 +0,0 @@
1
-/*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
-
5
-/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
6
-
7
-/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
8
-
9
-/**
10
- * @license React
11
- * react-dom.production.min.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */
18
-
19
-/**
20
- * @license React
21
- * react-jsx-runtime.production.min.js
22
- *
23
- * Copyright (c) Facebook, Inc. and its affiliates.
24
- *
25
- * This source code is licensed under the MIT license found in the
26
- * LICENSE file in the root directory of this source tree.
27
- */
28
-
29
-/**
30
- * @license React
31
- * react.production.min.js
32
- *
33
- * Copyright (c) Facebook, Inc. and its affiliates.
34
- *
35
- * This source code is licensed under the MIT license found in the
36
- * LICENSE file in the root directory of this source tree.
37
- */
38
-
39
-/**
40
- * @license React
41
- * scheduler.production.min.js
42
- *
43
- * Copyright (c) Facebook, Inc. and its affiliates.
44
- *
45
- * This source code is licensed under the MIT license found in the
46
- * LICENSE file in the root directory of this source tree.
47
- */
48
-
49
-/** @license React v16.13.1
50
- * react-is.production.min.js
51
- *
52
- * Copyright (c) Facebook, Inc. and its affiliates.
53
- *
54
- * This source code is licensed under the MIT license found in the
55
- * LICENSE file in the root directory of this source tree.
56
- */

+ 0
- 1
build/static/js/main.a0b94822.js.map
File diff suppressed because it is too large
View File


+ 10
- 0
capacitor.config 2.ts View File

@@ -0,0 +1,10 @@
1
+import { CapacitorConfig } from '@capacitor/cli';
2
+
3
+const config: CapacitorConfig = {
4
+  appId: 'io.ionic.starter',
5
+  appName: 'TPCApp',
6
+  webDir: 'build',
7
+  bundledWebRuntime: false
8
+};
9
+
10
+export default config;

+ 1
- 0
capacitor.config.json View File

@@ -0,0 +1 @@
1
+{}

+ 13
- 0
frases.json View File

@@ -0,0 +1,13 @@
1
+{
2
+    "frases": [
3
+        {"id": "build/static/media/frases_motivacionales/1.png"},
4
+        {"id": "build/static/media/frases_motivacionales/2.png"},
5
+        {"id": "build/static/media/frases_motivacionales/3.png"},
6
+        {"id": "build/static/media/frases_motivacionales/4.png"},
7
+        {"id": "build/static/media/frases_motivacionales/5.png"},
8
+        {"id": "build/static/media/frases_motivacionales/6.png"},
9
+        {"id": "build/static/media/frases_motivacionales/7.png"},
10
+        {"id": "build/static/media/frases_motivacionales/8.png"},
11
+        {"id": "build/static/media/frases_motivacionales/9.png"}
12
+    ]
13
+}

+ 140
- 15
package-lock.json View File

@@ -29,6 +29,7 @@
29 29
         "cordova-plugin-geolocation": "^4.1.0",
30 30
         "history": "^4.9.0",
31 31
         "ionicons": "^6.0.3",
32
+        "mathjs": "^11.5.0",
32 33
         "react": "^18.2.0",
33 34
         "react-dom": "^18.2.0",
34 35
         "react-router": "^5.2.0",
@@ -50,6 +51,7 @@
50 51
       },
51 52
       "devDependencies": {
52 53
         "@capacitor/cli": "4.5.0",
54
+        "@types/mathjs": "^9.4.2",
53 55
         "@types/react-dom": "^18.0.9",
54 56
         "react-scripts": "5.0.1"
55 57
       }
@@ -2002,11 +2004,11 @@
2002 2004
       }
2003 2005
     },
2004 2006
     "node_modules/@babel/runtime": {
2005
-      "version": "7.20.1",
2006
-      "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.1.tgz",
2007
-      "integrity": "sha512-mrzLkl6U9YLF8qpqI7TB82PESyEGjm/0Ly91jG575eVxMMlb8fYfOXFZIJ8XfLrJZQbm7dlKry2bJmXBUEkdFg==",
2007
+      "version": "7.20.6",
2008
+      "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.6.tgz",
2009
+      "integrity": "sha512-Q+8MqP7TiHMWzSfwiJwXCjyf4GYA4Dgw3emg/7xmwsdLJOZUp+nMqcOwOzzYheuM1rhDu8FSj2l0aoMygEuXuA==",
2008 2010
       "dependencies": {
2009
-        "regenerator-runtime": "^0.13.10"
2011
+        "regenerator-runtime": "^0.13.11"
2010 2012
       },
2011 2013
       "engines": {
2012 2014
         "node": ">=6.9.0"
@@ -4044,6 +4046,16 @@
4044 4046
       "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",
4045 4047
       "dev": true
4046 4048
     },
4049
+    "node_modules/@types/mathjs": {
4050
+      "version": "9.4.2",
4051
+      "resolved": "https://registry.npmjs.org/@types/mathjs/-/mathjs-9.4.2.tgz",
4052
+      "integrity": "sha512-GF5g1vJmvKdWIWsE53XX7EDAyCaZ9p6gaYm1xhlXn5JjrY/NJrOfJN3fBxS3wyZpVh3QqKoMkS2WjFwxWMHOTw==",
4053
+      "deprecated": "This is a stub types definition. mathjs provides its own type definitions, so you do not need this installed.",
4054
+      "dev": true,
4055
+      "dependencies": {
4056
+        "mathjs": "*"
4057
+      }
4058
+    },
4047 4059
     "node_modules/@types/mime": {
4048 4060
       "version": "3.0.1",
4049 4061
       "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz",
@@ -5992,6 +6004,18 @@
5992 6004
       "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==",
5993 6005
       "dev": true
5994 6006
     },
6007
+    "node_modules/complex.js": {
6008
+      "version": "2.1.1",
6009
+      "resolved": "https://registry.npmjs.org/complex.js/-/complex.js-2.1.1.tgz",
6010
+      "integrity": "sha512-8njCHOTtFFLtegk6zQo0kkVX1rngygb/KQI6z1qZxlFI3scluC+LVTCFbrkWjBv4vvLlbQ9t88IPMC6k95VTTg==",
6011
+      "engines": {
6012
+        "node": "*"
6013
+      },
6014
+      "funding": {
6015
+        "type": "patreon",
6016
+        "url": "https://www.patreon.com/infusion"
6017
+      }
6018
+    },
5995 6019
     "node_modules/compressible": {
5996 6020
       "version": "2.0.18",
5997 6021
       "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",
@@ -6658,8 +6682,7 @@
6658 6682
     "node_modules/decimal.js": {
6659 6683
       "version": "10.4.3",
6660 6684
       "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz",
6661
-      "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==",
6662
-      "dev": true
6685
+      "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA=="
6663 6686
     },
6664 6687
     "node_modules/dedent": {
6665 6688
       "version": "0.7.0",
@@ -7267,6 +7290,11 @@
7267 7290
       "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
7268 7291
       "dev": true
7269 7292
     },
7293
+    "node_modules/escape-latex": {
7294
+      "version": "1.2.0",
7295
+      "resolved": "https://registry.npmjs.org/escape-latex/-/escape-latex-1.2.0.tgz",
7296
+      "integrity": "sha512-nV5aVWW1K0wEiUIEdZ4erkGGH8mDxGyxSeqPzRNtWP7ataw+/olFObw7hujFWlVjNsaDFw5VZ5NzVSIqRgfTiw=="
7297
+    },
7270 7298
     "node_modules/escape-string-regexp": {
7271 7299
       "version": "1.0.5",
7272 7300
       "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
@@ -8571,7 +8599,6 @@
8571 8599
       "version": "4.2.0",
8572 8600
       "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz",
8573 8601
       "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==",
8574
-      "dev": true,
8575 8602
       "engines": {
8576 8603
         "node": "*"
8577 8604
       },
@@ -9929,6 +9956,11 @@
9929 9956
         "node": ">=10"
9930 9957
       }
9931 9958
     },
9959
+    "node_modules/javascript-natural-sort": {
9960
+      "version": "0.7.1",
9961
+      "resolved": "https://registry.npmjs.org/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz",
9962
+      "integrity": "sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw=="
9963
+    },
9932 9964
     "node_modules/jest": {
9933 9965
       "version": "27.5.1",
9934 9966
       "resolved": "https://registry.npmjs.org/jest/-/jest-27.5.1.tgz",
@@ -11353,6 +11385,28 @@
11353 11385
         "tmpl": "1.0.5"
11354 11386
       }
11355 11387
     },
11388
+    "node_modules/mathjs": {
11389
+      "version": "11.5.0",
11390
+      "resolved": "https://registry.npmjs.org/mathjs/-/mathjs-11.5.0.tgz",
11391
+      "integrity": "sha512-vJ/+SqWtxjW6/aeDRt8xL3TlOVKqwN15BIyTGVqGbIWuiqgY4SxZ0yLuna82YH9CB757iFP7uJ4m3KvVBX7Qcg==",
11392
+      "dependencies": {
11393
+        "@babel/runtime": "^7.20.6",
11394
+        "complex.js": "^2.1.1",
11395
+        "decimal.js": "^10.4.3",
11396
+        "escape-latex": "^1.2.0",
11397
+        "fraction.js": "^4.2.0",
11398
+        "javascript-natural-sort": "^0.7.1",
11399
+        "seedrandom": "^3.0.5",
11400
+        "tiny-emitter": "^2.1.0",
11401
+        "typed-function": "^4.1.0"
11402
+      },
11403
+      "bin": {
11404
+        "mathjs": "bin/cli.js"
11405
+      },
11406
+      "engines": {
11407
+        "node": ">= 14"
11408
+      }
11409
+    },
11356 11410
     "node_modules/mdn-data": {
11357 11411
       "version": "2.0.4",
11358 11412
       "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz",
@@ -14706,6 +14760,11 @@
14706 14760
         "url": "https://opencollective.com/webpack"
14707 14761
       }
14708 14762
     },
14763
+    "node_modules/seedrandom": {
14764
+      "version": "3.0.5",
14765
+      "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz",
14766
+      "integrity": "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg=="
14767
+    },
14709 14768
     "node_modules/select-hose": {
14710 14769
       "version": "2.0.0",
14711 14770
       "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz",
@@ -15776,6 +15835,11 @@
15776 15835
       "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==",
15777 15836
       "dev": true
15778 15837
     },
15838
+    "node_modules/tiny-emitter": {
15839
+      "version": "2.1.0",
15840
+      "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz",
15841
+      "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q=="
15842
+    },
15779 15843
     "node_modules/tiny-invariant": {
15780 15844
       "version": "1.3.1",
15781 15845
       "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz",
@@ -15978,6 +16042,14 @@
15978 16042
         "node": ">= 0.6"
15979 16043
       }
15980 16044
     },
16045
+    "node_modules/typed-function": {
16046
+      "version": "4.1.0",
16047
+      "resolved": "https://registry.npmjs.org/typed-function/-/typed-function-4.1.0.tgz",
16048
+      "integrity": "sha512-DGwUl6cioBW5gw2L+6SMupGwH/kZOqivy17E4nsh1JI9fKF87orMmlQx3KISQPmg3sfnOUGlwVkroosvgddrlg==",
16049
+      "engines": {
16050
+        "node": ">= 14"
16051
+      }
16052
+    },
15981 16053
     "node_modules/typedarray-to-buffer": {
15982 16054
       "version": "3.1.5",
15983 16055
       "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
@@ -18775,11 +18847,11 @@
18775 18847
       }
18776 18848
     },
18777 18849
     "@babel/runtime": {
18778
-      "version": "7.20.1",
18779
-      "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.1.tgz",
18780
-      "integrity": "sha512-mrzLkl6U9YLF8qpqI7TB82PESyEGjm/0Ly91jG575eVxMMlb8fYfOXFZIJ8XfLrJZQbm7dlKry2bJmXBUEkdFg==",
18850
+      "version": "7.20.6",
18851
+      "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.6.tgz",
18852
+      "integrity": "sha512-Q+8MqP7TiHMWzSfwiJwXCjyf4GYA4Dgw3emg/7xmwsdLJOZUp+nMqcOwOzzYheuM1rhDu8FSj2l0aoMygEuXuA==",
18781 18853
       "requires": {
18782
-        "regenerator-runtime": "^0.13.10"
18854
+        "regenerator-runtime": "^0.13.11"
18783 18855
       }
18784 18856
     },
18785 18857
     "@babel/runtime-corejs3": {
@@ -20266,6 +20338,15 @@
20266 20338
       "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",
20267 20339
       "dev": true
20268 20340
     },
20341
+    "@types/mathjs": {
20342
+      "version": "9.4.2",
20343
+      "resolved": "https://registry.npmjs.org/@types/mathjs/-/mathjs-9.4.2.tgz",
20344
+      "integrity": "sha512-GF5g1vJmvKdWIWsE53XX7EDAyCaZ9p6gaYm1xhlXn5JjrY/NJrOfJN3fBxS3wyZpVh3QqKoMkS2WjFwxWMHOTw==",
20345
+      "dev": true,
20346
+      "requires": {
20347
+        "mathjs": "*"
20348
+      }
20349
+    },
20269 20350
     "@types/mime": {
20270 20351
       "version": "3.0.1",
20271 20352
       "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz",
@@ -21769,6 +21850,11 @@
21769 21850
       "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==",
21770 21851
       "dev": true
21771 21852
     },
21853
+    "complex.js": {
21854
+      "version": "2.1.1",
21855
+      "resolved": "https://registry.npmjs.org/complex.js/-/complex.js-2.1.1.tgz",
21856
+      "integrity": "sha512-8njCHOTtFFLtegk6zQo0kkVX1rngygb/KQI6z1qZxlFI3scluC+LVTCFbrkWjBv4vvLlbQ9t88IPMC6k95VTTg=="
21857
+    },
21772 21858
     "compressible": {
21773 21859
       "version": "2.0.18",
21774 21860
       "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz",
@@ -22243,8 +22329,7 @@
22243 22329
     "decimal.js": {
22244 22330
       "version": "10.4.3",
22245 22331
       "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz",
22246
-      "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==",
22247
-      "dev": true
22332
+      "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA=="
22248 22333
     },
22249 22334
     "dedent": {
22250 22335
       "version": "0.7.0",
@@ -22724,6 +22809,11 @@
22724 22809
       "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
22725 22810
       "dev": true
22726 22811
     },
22812
+    "escape-latex": {
22813
+      "version": "1.2.0",
22814
+      "resolved": "https://registry.npmjs.org/escape-latex/-/escape-latex-1.2.0.tgz",
22815
+      "integrity": "sha512-nV5aVWW1K0wEiUIEdZ4erkGGH8mDxGyxSeqPzRNtWP7ataw+/olFObw7hujFWlVjNsaDFw5VZ5NzVSIqRgfTiw=="
22816
+    },
22727 22817
     "escape-string-regexp": {
22728 22818
       "version": "1.0.5",
22729 22819
       "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
@@ -23708,8 +23798,7 @@
23708 23798
     "fraction.js": {
23709 23799
       "version": "4.2.0",
23710 23800
       "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz",
23711
-      "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==",
23712
-      "dev": true
23801
+      "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA=="
23713 23802
     },
23714 23803
     "fresh": {
23715 23804
       "version": "0.5.2",
@@ -24692,6 +24781,11 @@
24692 24781
         "minimatch": "^3.0.4"
24693 24782
       }
24694 24783
     },
24784
+    "javascript-natural-sort": {
24785
+      "version": "0.7.1",
24786
+      "resolved": "https://registry.npmjs.org/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz",
24787
+      "integrity": "sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw=="
24788
+    },
24695 24789
     "jest": {
24696 24790
       "version": "27.5.1",
24697 24791
       "resolved": "https://registry.npmjs.org/jest/-/jest-27.5.1.tgz",
@@ -25811,6 +25905,22 @@
25811 25905
         "tmpl": "1.0.5"
25812 25906
       }
25813 25907
     },
25908
+    "mathjs": {
25909
+      "version": "11.5.0",
25910
+      "resolved": "https://registry.npmjs.org/mathjs/-/mathjs-11.5.0.tgz",
25911
+      "integrity": "sha512-vJ/+SqWtxjW6/aeDRt8xL3TlOVKqwN15BIyTGVqGbIWuiqgY4SxZ0yLuna82YH9CB757iFP7uJ4m3KvVBX7Qcg==",
25912
+      "requires": {
25913
+        "@babel/runtime": "^7.20.6",
25914
+        "complex.js": "^2.1.1",
25915
+        "decimal.js": "^10.4.3",
25916
+        "escape-latex": "^1.2.0",
25917
+        "fraction.js": "^4.2.0",
25918
+        "javascript-natural-sort": "^0.7.1",
25919
+        "seedrandom": "^3.0.5",
25920
+        "tiny-emitter": "^2.1.0",
25921
+        "typed-function": "^4.1.0"
25922
+      }
25923
+    },
25814 25924
     "mdn-data": {
25815 25925
       "version": "2.0.4",
25816 25926
       "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz",
@@ -28102,6 +28212,11 @@
28102 28212
         "ajv-keywords": "^3.5.2"
28103 28213
       }
28104 28214
     },
28215
+    "seedrandom": {
28216
+      "version": "3.0.5",
28217
+      "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz",
28218
+      "integrity": "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg=="
28219
+    },
28105 28220
     "select-hose": {
28106 28221
       "version": "2.0.0",
28107 28222
       "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz",
@@ -28946,6 +29061,11 @@
28946 29061
       "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==",
28947 29062
       "dev": true
28948 29063
     },
29064
+    "tiny-emitter": {
29065
+      "version": "2.1.0",
29066
+      "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz",
29067
+      "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q=="
29068
+    },
28949 29069
     "tiny-invariant": {
28950 29070
       "version": "1.3.1",
28951 29071
       "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz",
@@ -29106,6 +29226,11 @@
29106 29226
         "mime-types": "~2.1.24"
29107 29227
       }
29108 29228
     },
29229
+    "typed-function": {
29230
+      "version": "4.1.0",
29231
+      "resolved": "https://registry.npmjs.org/typed-function/-/typed-function-4.1.0.tgz",
29232
+      "integrity": "sha512-DGwUl6cioBW5gw2L+6SMupGwH/kZOqivy17E4nsh1JI9fKF87orMmlQx3KISQPmg3sfnOUGlwVkroosvgddrlg=="
29233
+    },
29109 29234
     "typedarray-to-buffer": {
29110 29235
       "version": "3.1.5",
29111 29236
       "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",

+ 2
- 0
package.json View File

@@ -24,6 +24,7 @@
24 24
     "cordova-plugin-geolocation": "^4.1.0",
25 25
     "history": "^4.9.0",
26 26
     "ionicons": "^6.0.3",
27
+    "mathjs": "^11.5.0",
27 28
     "react": "^18.2.0",
28 29
     "react-dom": "^18.2.0",
29 30
     "react-router": "^5.2.0",
@@ -70,6 +71,7 @@
70 71
   "description": "An Ionic project",
71 72
   "devDependencies": {
72 73
     "@capacitor/cli": "4.5.0",
74
+    "@types/mathjs": "^9.4.2",
73 75
     "@types/react-dom": "^18.0.9",
74 76
     "react-scripts": "5.0.1"
75 77
   }

BIN
src/.DS_Store View File


BIN
src/images/.DS_Store View File


+ 39
- 0
src/pages/Flag.json View File

@@ -0,0 +1,39 @@
1
+ [{"title" : "Amenazas",
2
+  "content" : ["Asustarla con amenazas de hacerle mal.",
3
+              "Amenazarla con dejarla, con el suicidio o con denunciarla falsamente a la autoridad.",
4
+              "Obligarla a retirar los cargos presentados contra él.",
5
+               "Obligarla a cometer actos ilegales."]},
6
+ {"title" : "Intimidación",
7
+  "content" : ["Provocándole miedo a través de sus miradas, acciones y gestos.",
8
+               "Destrozar objetos.",
9
+               "Intimidarla rompiéndole sus cosas, maltratando a los animales domésticos, mostrándole armas."]},
10
+  {"title" : "Abuso Emocional",
11
+   "content" : ["Hacerla sentir inferior.",
12
+                "Hacerla sentir mal.",
13
+                "Insultarle con nombres ofensivos.",
14
+                "Hacerla pensar que está loca.",
15
+                "Confundirla a propósito.",
16
+                "Humillarla.",
17
+                "Hacerla sentir culpable."]},
18
+  {"title": "Aislamiento",
19
+   "content" : ["Controlar lo que hace, a quién puede ver, con quién puede hablar, lo que puede leer y dónde va.",
20
+                "Limitarle su vida social utilizando los celos para justificar sus actos"]},
21
+  {"title" : "Desvalorizar, Negar, Culpar",
22
+   "content" : ["No tomar seriamente preocupación que ella tiene sobre el abuso.",
23
+                "Negar que uso hacerla sentir responsable de la conducta abusiva.",
24
+                "Decirle que ella lo provocó."]},
25
+  {"title" : "Manipulación de los Niño(a)s",
26
+   "content" : ["Hacerla sentir culpable por el comportamiento de los niño(a) como intermediarios y mantener así el control.",
27
+                "Usar las visitas con los niño(a)s para molestarla o amenazarla.",
28
+                "Amenazarla con quitarle los niño(a)s."]},
29
+  {"title" : "Abuso Económico",
30
+   "content" : ["No dejarla trabajar o impedirle que mantenga su empleo.",
31
+                "Obligarala a que le pida dinero.",
32
+                "Darle una mensualidad.",
33
+                "Quitarle el dinero.",
34
+                "No informarle acerca de los ingresos familiares o no permitirle disponer de los ingresos."]},
35
+  {"title" : "Privilegio Masculino",
36
+   "content": ["Tratarla como una sirvienta.",
37
+               "No dejarla tomar decisiones importantes.",
38
+               "Actuar como el rey de la casa.",
39
+               "Definir las partes del hombre y de la mujer."]}]

+ 50
- 266
src/pages/Flag.tsx View File

@@ -1,22 +1,46 @@
1
-// Created by Cynthia 
2
-// Edited by Angel Romero 
1
+import {
2
+  IonAccordion,
3
+  IonAccordionGroup,
4
+  IonCard,
5
+  IonContent,
6
+  IonHeader,
7
+  IonItem,
8
+  IonLabel,
9
+  IonPage,
10
+  IonTitle,
11
+  IonToolbar} from '@ionic/react';
3 12
 
4
-import React, { useRef } from 'react';
5
-import { IonButton, IonButtons, IonCard, IonCol, IonContent, IonGrid, IonHeader, IonModal, IonPage, IonRow, IonTitle, IonToolbar } from '@ionic/react';
6 13
 import './styles/styles.css';
7 14
 
15
+// generate single accordion item given a title and points of info
16
+const AccordionItem = (title: string, content: string[]) => {
17
+  return (
18
+    <IonAccordion value={title}>
19
+      <IonItem slot="header" color="light">
20
+        <IonLabel class="ion-text-center">{title}</IonLabel>
21
+      </IonItem>
22
+      <div slot="content">
23
+        {
24
+          // generate each point in content
25
+          // We need to add some color to the cards, preferably white
26
+          content.map((text: string) =>{
27
+            return (
28
+              <IonCard>
29
+                <IonItem>
30
+                  <IonLabel text-wrap class="ion-text-center">{text}</IonLabel>
31
+                </IonItem>
32
+              </IonCard>
33
+            );
34
+          })
35
+        }
36
+      </div>
37
+    </IonAccordion>)
38
+}
8 39
 
9
-// Create all the modal elements for each card element on the flag screen
10 40
 const Flag: React.FC = () => {
11
-  const amenazas = useRef<HTMLIonModalElement>(null);
12
-  const intimidacion = useRef<HTMLIonModalElement>(null);
13
-  const abusoEmo = useRef<HTMLIonModalElement>(null);
14
-  const aislamiento = useRef<HTMLIonModalElement>(null);
15
-  const desvalorizar = useRef<HTMLIonModalElement>(null);
16
-  const manipulacion = useRef<HTMLIonModalElement>(null);
17
-  const abusoEco = useRef<HTMLIonModalElement>(null);
18
-  const privMasc = useRef<HTMLIonModalElement>(null);
19
-
41
+  // Load Flag.json which has format of Object[],
42
+  // where each object has a title and content field.
43
+  let content = require("./Flag.json")
20 44
   return (
21 45
     <IonPage>
22 46
       
@@ -26,261 +50,21 @@ const Flag: React.FC = () => {
26 50
           <IonTitle class="ion-text-center screen-titles">TPC ❤️</IonTitle>
27 51
         </IonToolbar>
28 52
       </IonHeader>
29
-
30 53
       <IonContent fullscreen>
31
-        <IonTitle class="ion-text-center screen-h2" color="light">Pendiente a...</IonTitle>
32
-
33
-        {/* Here goes the body containing the cards */}
34
-        <IonGrid>
35
-          <IonRow>
36
-            {/* Amenazas card */}
37
-            <IonCol>
38
-              <IonButton id="open-amenazas" color="light" expand="block">
39
-                Amenazas
40
-              </IonButton>
41
-              <IonModal ref={amenazas} trigger="open-amenazas">
42
-                <IonHeader>
43
-                  <IonToolbar>
44
-                    <IonTitle>Amenazas</IonTitle>
45
-                    <IonButtons slot="end">
46
-                      <IonButton color="light" onClick={() => amenazas.current?.dismiss()}>Cerrar</IonButton>
47
-                    </IonButtons>
48
-                  </IonToolbar>
49
-                </IonHeader>
50
-                <IonContent className="ion-padding">
51
-                  <IonCard color="light">
52
-                    <p>Asustarla con amenazas de hacerle mal.</p>
53
-                  </IonCard>
54
-                  <IonCard color="light">
55
-                    <p>Amenazarla con dejarla, con el suicidio o con denunciarla falsamente a la autoridad.</p>
56
-                  </IonCard>
57
-                  <IonCard color="light">
58
-                    <p>Obligarla a retirar los cargos presentados contra él.</p>
59
-                  </IonCard>
60
-                  <IonCard color="light">
61
-                    <p>Obligarla a cometer actos ilegales.</p>
62
-                  </IonCard>
63
-                </IonContent>
64
-              </IonModal>
65
-            </IonCol>
66
-            {/* Intimidacion card */}
67
-            <IonCol>
68
-              <IonButton id="open-intimidacion" color="light" expand="block" >
69
-                Intimidación
70
-              </IonButton>
71
-              <IonModal ref={intimidacion} trigger="open-intimidacion">
72
-                <IonHeader>
73
-                  <IonToolbar>
74
-                    <IonTitle>Intimidación</IonTitle>
75
-                    <IonButtons slot="end">
76
-                      <IonButton color="light" onClick={() => intimidacion.current?.dismiss()}>Cerrar</IonButton>
77
-                    </IonButtons>
78
-                  </IonToolbar>
79
-                </IonHeader>
80
-                <IonContent className="ion-padding">
81
-                  <IonCard color="light">
82
-                    <p>Provocándole miedo a través de sus miradas, acciones y gestos.</p>
83
-                  </IonCard>
84
-                  <IonCard color="light">
85
-                    <p>Destrozar objetos.</p>
86
-                  </IonCard>
87
-                  <IonCard color="light">
88
-                    <p>Intimidarla rompiéndole sus cosas, maltratando a los animales domésticos, mostrándole armas.</p>
89
-                  </IonCard>
90
-                </IonContent>
91
-              </IonModal>
92
-            </IonCol>
93
-          </IonRow>
94
-          <IonRow>
95
-            {/* Abuso emocional card */}
96
-            <IonCol>
97
-              <IonButton id="open-abuso-emocional" color="light" expand="block">
98
-                Abuso Emocional
99
-              </IonButton>
100
-              <IonModal ref={abusoEmo} trigger="open-abuso-emocional">
101
-                <IonHeader>
102
-                  <IonToolbar>
103
-                    <IonTitle>Abuso Emocional</IonTitle>
104
-                    <IonButtons slot="end">
105
-                      <IonButton color="light" onClick={() => abusoEmo.current?.dismiss()}>Cerrar</IonButton>
106
-                    </IonButtons>
107
-                  </IonToolbar>
108
-                </IonHeader>
109
-                <IonContent className="ion-padding">
110
-                  <IonCard color="light">
111
-                    <p>Hacerla sentir inferior.</p>
112
-                  </IonCard>
113
-                  <IonCard color="light">
114
-                    <p>Hacerla sentir mal.</p>
115
-                  </IonCard>
116
-                  <IonCard color="light">
117
-                    <p>Insultarle con nombres ofensivos.</p>
118
-                  </IonCard>
119
-                  <IonCard color="light">
120
-                    <p>Hacerla pensar que está loca.</p>
121
-                  </IonCard>
122
-                  <IonCard color="light">
123
-                    <p>Confundirla a propósito.</p>
124
-                  </IonCard>
125
-                  <IonCard color="light">
126
-                    <p>Humillarla.</p>
127
-                  </IonCard>
128
-                  <IonCard color="light">
129
-                    <p>Hacerla sentir culpable.</p>
130
-                  </IonCard>
131
-                </IonContent>
132
-              </IonModal>
133
-            </IonCol>
134
-            {/* Aislamiento card */}
135
-            <IonCol>
136
-              <IonButton id="open-aislamiento" color="light" expand="block">
137
-                Aislamiento
138
-              </IonButton>
139
-              <IonModal ref={aislamiento} trigger="open-aislamiento">
140
-                <IonHeader>
141
-                  <IonToolbar>
142
-                    <IonTitle>Aislamiento</IonTitle>
143
-                    <IonButtons slot="end">
144
-                      <IonButton color="light" onClick={() => aislamiento.current?.dismiss()}>Cerrar</IonButton>
145
-                    </IonButtons>
146
-                  </IonToolbar>
147
-                </IonHeader>
148
-                <IonContent className="ion-padding">
149
-                  <IonCard color="light">
150
-                    <p>Controlar lo que hace, a quién puede ver, con quién puede hablar, lo que puede leer y dónde va.</p>
151
-                  </IonCard>
152
-                  <IonCard color="light">
153
-                    <p>Limitarle su vida social utilizando los celos para justificar sus actos</p>
154
-                  </IonCard>
155
-                </IonContent>
156
-              </IonModal>
157
-            </IonCol>
158
-          </IonRow>
159
-          <IonRow>
160
-            {/* Desvalorizar card */}
161
-            <IonCol>
162
-              <IonButton id="open-des-neg-cul" color="light" expand="block">
163
-                Desvalorizar, Negar, Culpar
164
-              </IonButton>
165
-              <IonModal ref={desvalorizar} trigger="open-des-neg-cul">
166
-                <IonHeader>
167
-                  <IonToolbar>
168
-                    <IonTitle>Desvalorizar, Negar, Culpar</IonTitle>
169
-                    <IonButtons slot="end">
170
-                      <IonButton color="light" onClick={() => desvalorizar.current?.dismiss()}>Cerrar</IonButton>
171
-                    </IonButtons>
172
-                  </IonToolbar>
173
-                </IonHeader>
174
-                <IonContent className="ion-padding">
175
-                  <IonCard color="light">
176
-                    <p>No tomar seriamente preocupación que ella tiene sobre el abuso.</p>
177
-                  </IonCard>
178
-                  <IonCard color="light">
179
-                    <p>Negar que uso hacerla sentir responsable de la conducta abusiva.</p>
180
-                  </IonCard>
181
-                  <IonCard color="light">
182
-                    <p>Decirle que ella lo provocó.</p>
183
-                  </IonCard>
184
-                </IonContent>
185
-              </IonModal>
186
-            </IonCol>
187
-            {/* Manipulacion card */}
188
-            <IonCol>
189
-              <IonButton id="open-manipulacion" color="light" expand="block">
190
-                Manipulación de los Niño(a)s
191
-              </IonButton>
192
-              <IonModal ref={manipulacion} trigger="open-manipulacion">
193
-                <IonHeader>
194
-                  <IonToolbar>
195
-                    <IonTitle>Manipulación de los Niño(a)s</IonTitle>
196
-                    <IonButtons slot="end">
197
-                      <IonButton color="light" onClick={() => manipulacion.current?.dismiss()}>Cerrar</IonButton>
198
-                    </IonButtons>
199
-                  </IonToolbar>
200
-                </IonHeader>
201
-                <IonContent className="ion-padding">
202
-                  <IonCard color="light">
203
-                    <p>Hacerla sentir culpable por el comportamiento de los niño(a) como intermediarios y mantener así el control.</p>
204
-                  </IonCard>
205
-                  <IonCard color="light">
206
-                    <p>Usar las visitas con los niño(a)s para molestarla o amenazarla.</p>
207
-                  </IonCard>
208
-                  <IonCard color="light">
209
-                    <p>Amenazarla con quitarle los niño(a)s.</p>
210
-                  </IonCard>
211
-                </IonContent>
212
-              </IonModal>
213
-            </IonCol>
214
-          </IonRow>
215
-          <IonRow>
216
-            {/* Abuso economico card */}
217
-            <IonCol>
218
-              <IonButton id="open-abuso-economico" color="light" expand="block">
219
-                Abuso Económico
220
-              </IonButton>
221
-              <IonModal ref={abusoEco} trigger="open-abuso-economico">
222
-                <IonHeader>
223
-                  <IonToolbar>
224
-                    <IonTitle>Abuso Económico</IonTitle>
225
-                    <IonButtons slot="end">
226
-                      <IonButton color="light" onClick={() => abusoEco.current?.dismiss()}>Cerrar</IonButton>
227
-                    </IonButtons>
228
-                  </IonToolbar>
229
-                </IonHeader>
230
-                <IonContent className="ion-padding">
231
-                  <IonCard color="light">
232
-                    <p>No dejarla trabajar o impedirle que mantenga su empleo.</p>
233
-                  </IonCard>
234
-                  <IonCard color="light">
235
-                    <p>Obligarala a que le pida dinero.</p>
236
-                  </IonCard>
237
-                  <IonCard color="light">
238
-                    <p>Darle una mensualidad.</p>
239
-                  </IonCard>
240
-                  <IonCard color="light">
241
-                    <p>Quitarle el dinero.</p>
242
-                  </IonCard>
243
-                  <IonCard color="light">
244
-                    <p>No informarle acerca de los ingresos familiares o no permitirle disponer de los ingresos.</p>
245
-                  </IonCard>
246
-                </IonContent>
247
-              </IonModal>
248
-            </IonCol>
249
-            {/* Privilegio masculino card */}
250
-            <IonCol>
251
-              <IonButton id="open-priv-masculino" color="light" expand="block">
252
-                Privilegio Masculino
253
-              </IonButton>
254
-              <IonModal ref={privMasc} trigger="open-priv-masculino">
255
-                <IonHeader>
256
-                  <IonToolbar>
257
-                    <IonTitle>Privilegio Masculino</IonTitle>
258
-                    <IonButtons slot="end">
259
-                      <IonButton color="light" onClick={() => privMasc.current?.dismiss()}>Cerrar</IonButton>
260
-                    </IonButtons>
261
-                  </IonToolbar>
262
-                </IonHeader>
263
-                <IonContent className="ion-padding">
264
-                  <IonCard color="light">
265
-                    <p>Tratarla como una sirvienta.</p>
266
-                  </IonCard>
267
-                  <IonCard color="light">
268
-                    <p>No dejarla tomar decisiones importantes.</p>
269
-                  </IonCard>
270
-                  <IonCard color="light">
271
-                    <p>Actuar como el rey de la casa.</p>
272
-                  </IonCard>
273
-                  <IonCard color="light">
274
-                    <p>Definir las partes del hombre y de la mujer.</p>
275
-                  </IonCard>
276
-                </IonContent>
277
-              </IonModal>
278
-            </IonCol>
279
-          </IonRow>
280
-        </IonGrid>
54
+        <IonHeader collapse="condense">
55
+          <IonToolbar>
56
+            <IonTitle size="large">Flag</IonTitle>
57
+          </IonToolbar>
58
+        </IonHeader>
59
+        <IonAccordionGroup multiple={true}>
60
+          {
61
+            // generate an accordion item for each object in Flag.json
62
+            content.map((obj: any) => AccordionItem(obj.title, obj.content))
63
+          }
64
+        </IonAccordionGroup>
281 65
       </IonContent>
282 66
     </IonPage>
283 67
   );
284
-};
68
+}
285 69
 
286 70
 export default Flag;

+ 13
- 4
src/pages/Home.tsx View File

@@ -3,9 +3,14 @@ import { arrowDownCircle, heart } from 'ionicons/icons';
3 3
 import { isPlatform } from '@ionic/react';
4 4
 
5 5
 import './styles/styles.css';
6
+import * as math from 'mathjs';
6 7
 
7 8
 // This is the date that is going to appear on the
8 9
 // card with the Motivational message
10
+let value = math.randomInt(1,10);
11
+let num = value.toString();
12
+
13
+console.log(value);
9 14
 const current = new Date();
10 15
 const date = `${current.toLocaleString('default', {month: 'long'}) } ${current.getDate()}`;
11 16
 
@@ -39,10 +44,12 @@ const Home: React.FC = () => {
39 44
           <IonCardHeader class="card-header">
40 45
             <IonCardTitle class="card-date">
41 46
               {date}
42
-              <IonButton fill="clear"> <IonIcon slot="icon-only" icon={arrowDownCircle} class="moti-download"></IonIcon></IonButton> 
47
+              <IonButton fill="clear"> 
48
+                <IonIcon slot="icon-only" icon={arrowDownCircle} class="moti-download"></IonIcon>
49
+              </IonButton> 
43 50
             </IonCardTitle>
44 51
           </IonCardHeader>
45
-          <IonImg class="moti-img" alt="Motivational messa ge" src={require("./generatedMsgs/moti1.jpeg")}></IonImg>
52
+          <IonImg class="moti-img" alt="Motivational message" src={require("./images/frases_motivavionales/"+num+".png")}></IonImg>
46 53
         </IonCard>
47 54
 
48 55
         {/* Card 2 */}
@@ -50,10 +57,12 @@ const Home: React.FC = () => {
50 57
           <IonCardHeader class="card-header">
51 58
             <IonCardTitle class="card-date">
52 59
               {date}
53
-              <IonButton fill="clear"> <IonIcon slot="icon-only" icon={arrowDownCircle} class="moti-download"></IonIcon></IonButton>
60
+              <IonButton fill="clear">
61
+                <IonIcon slot="icon-only" icon={arrowDownCircle} class="moti-download"></IonIcon>
62
+              </IonButton>
54 63
             </IonCardTitle>
55 64
           </IonCardHeader>
56
-          <IonImg class="moti-img" alt="Motivational messa ge" src={require("./generatedMsgs/moti1.jpeg")}></IonImg>
65
+          <IonImg class="moti-img" alt="Motivational message" src={require("./images/frases_motivavionales/" + num + ".png")}></IonImg>
57 66
         </IonCard>
58 67
       </IonContent>
59 68
     </IonPage>

BIN
src/pages/images/frases_motivavionales/1 2.png View File


BIN
src/pages/images/frases_motivavionales/1.png View File


BIN
src/pages/images/frases_motivavionales/2 2.png View File


BIN
src/pages/images/frases_motivavionales/2.png View File


BIN
src/pages/images/frases_motivavionales/3 2.png View File


BIN
src/pages/images/frases_motivavionales/3.png View File


BIN
src/pages/images/frases_motivavionales/4 2.png View File


BIN
src/pages/images/frases_motivavionales/4.png View File


BIN
src/pages/images/frases_motivavionales/5 2.png View File


BIN
src/pages/images/frases_motivavionales/5.png View File


BIN
src/pages/images/frases_motivavionales/6 2.png View File


BIN
src/pages/images/frases_motivavionales/6.png View File


BIN
src/pages/images/frases_motivavionales/7 2.png View File


BIN
src/pages/images/frases_motivavionales/7.png View File


BIN
src/pages/images/frases_motivavionales/8 2.png View File


BIN
src/pages/images/frases_motivavionales/8.png View File


BIN
src/pages/images/frases_motivavionales/9 2.png View File


BIN
src/pages/images/frases_motivavionales/9.png View File


+ 5
- 0
src/pages/styles/styles.css View File

@@ -53,5 +53,10 @@
53 53
     align-items: center;
54 54
 }
55 55
 
56
+/* Styles for the flag screen */
57
+
58
+.flag-item {
59
+    background-color: #fff !important;
60
+}
56 61
 
57 62
 

+ 1
- 1
src/theme/variables.css View File

@@ -28,7 +28,7 @@ http://ionicframework.com/docs/theming/ */
28 28
 	--ion-color-tertiary-tint: #ff941a;
29 29
 }
30 30
 
31
-@media (prefers-color-scheme: light) {
31
+@media (prefers-color-scheme: dark) {
32 32
 
33 33
   body {
34 34
       /* Background-color */