Skip to content

Commit

Permalink
💩 Un poco de descolonizada
Browse files Browse the repository at this point in the history
  • Loading branch information
1cgonza committed Oct 31, 2024
1 parent ad61a83 commit a0f7d9c
Show file tree
Hide file tree
Showing 19 changed files with 20 additions and 151 deletions.
2 changes: 1 addition & 1 deletion aplicaciones/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
</head>
<body>
<div id="aplicacion"></div>
<script type="module" src="/src/main.ts"></script>
<script type="module" src="/src/aplicacion.ts"></script>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import './scss/estilos.scss';

import { createApp } from 'vue';
import { createPinia } from 'pinia';

import Aplicacion from './Aplicacion.vue';
import rutas from './rutas';

const app = createApp(Aplicacion);

app.use(createPinia());
app.use(rutas);

app.mount('#aplicacion');
86 changes: 0 additions & 86 deletions aplicaciones/www/src/assets/base.css

This file was deleted.

1 change: 0 additions & 1 deletion aplicaciones/www/src/assets/logo.svg

This file was deleted.

35 changes: 0 additions & 35 deletions aplicaciones/www/src/assets/main.css

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
import { Colectivo, Indicador } from '@/tipos/compartidos';
import { type Ref, ref, onMounted } from 'vue';
defineProps<{
id: number;
}>();
defineProps<{ id: string }>();
const datosColectivos: Ref<Colectivo[] | undefined> = ref([]);
const datosIndicadores: Ref<Indicador[] | undefined> = ref([]);
const infoColectivo: Ref<Colectivo | undefined> = ref();
const indicador: Ref<Indicador | undefined> = ref();
const contenedorFicha: Ref<HTMLDivElement | null> = ref(null);
onMounted(async () => {
try {
Expand Down Expand Up @@ -45,7 +44,7 @@ function cerrarFicha() {

<template>
<div id="fichaColectivosAmbitos" class="ficha">
<div id="contenedorFicha" v-if="infoColectivo" :ref="infoColectivo">
<div id="contenedorFicha" v-if="infoColectivo" ref="contenedorFicha">
<section id="encabezado">
<div id="superior">
<div class="negrita">#{{ infoColectivo.id }}</div>
Expand All @@ -54,7 +53,7 @@ function cerrarFicha() {
</div>
<div id="inferior">
<div class="boton" id="botonAnterior"><</div>
<h3 id="tituloFicha">{{ infoColectivo.nombre }}</h3>
<h3 id="tituloFicha">{{ infoColectivo.nombre.nombre }}</h3>
<p class="negrita" id="estado">{{ infoColectivo.estados?.nombre }}</p>
<div class="boton" id="botonSiguiente">></div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ onMounted(async () => {
</template>

<style scoped lang="scss">
@import '@/scss/constantes';
@use '@/scss/constantes';
#contenedorLineaTiempo {
position: absolute;
bottom: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ onMounted(async () => {
</template>

<style scoped lang="scss">
@import '@/scss/constantes';
@use '@/scss/constantes';
#contenedorVistaGraficas {
max-height: 48vh;
Expand Down
11 changes: 4 additions & 7 deletions aplicaciones/www/src/rutas/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createRouter, createWebHistory } from 'vue-router';
import Inicio from '@/views/VistaInicio.vue';
import Inicio from '@/vistas/VistaInicio.vue';

const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
Expand All @@ -12,20 +12,17 @@ const router = createRouter({
{
path: '/colectivos-ambitos',
name: 'colectivos-ambitos',
// route level code-splitting
// this generates a separate chunk (Colectivos.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/VistaColectivos.vue'),
component: () => import('../vistas/VistaColectivos.vue'),
},
{
path: '/publicaciones',
name: 'publicaciones',
component: () => import('../views/VistaPublicaciones.vue'),
component: () => import('../vistas/VistaPublicaciones.vue'),
},
{
path: '/encuentros',
name: 'encuentros',
component: () => import('../views/VistaEncuentros.vue'),
component: () => import('../vistas/VistaEncuentros.vue'),
},
],
});
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup lang="ts">
import ComponenteMapa from '@/components/ComponenteMapa.vue';
import FichaColectivosAmbitos from '@/components/FichaColectivosAmbitos.vue';
import ListasColectivos from '@/components/ListasColectivos.vue';
import VistaGraficas from '@/components/VistaGraficas.vue';
import ComponenteMapa from '@/componentes/ComponenteMapa.vue';
import FichaColectivosAmbitos from '@/componentes/FichaColectivosAmbitos.vue';
import ListasColectivos from '@/componentes/ListasColectivos.vue';
import VistaGraficas from '@/componentes/VistaGraficas.vue';
import { ref, type Ref } from 'vue';
const vista: Ref<string> = ref('');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import ComponenteMapa from '../components/ComponenteMapa.vue';
import ComponenteMapa from '@/componentes/ComponenteMapa.vue';
</script>

<template>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<script setup lang="ts">
import ComponenteMapa from '@/components/ComponenteMapa.vue';
import LineaTiempo from '../components/LineaTiempo.vue';
import ListasPublicaciones from '../components/ListasPublicaciones.vue';
import FichaProduccionAcademica from '@/components/FichaProduccionAcademica.vue';
import VistaGraficas from '@/components/VistaGraficas.vue';
import ComponenteMapa from '@/componentes/ComponenteMapa.vue';
import LineaTiempo from '@/componentes/LineaTiempo.vue';
import ListasPublicaciones from '@/componentes/ListasPublicaciones.vue';
import VistaGraficas from '@/componentes/VistaGraficas.vue';
import { ref, type Ref } from 'vue';
const vista: Ref<string> = ref('');
Expand Down

0 comments on commit a0f7d9c

Please sign in to comment.