Initial commit

master
Araozu 2021-03-01 16:38:39 -05:00
parent e94a7faaed
commit 02a12a687a
33 changed files with 85 additions and 52 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
package.json Normal file → Executable file
View File

0
pnpm-lock.yaml Normal file → Executable file
View File

0
public/css/global.css Normal file → Executable file
View File

0
public/css/phosphor.min.css vendored Normal file → Executable file
View File

0
public/horarios/2018_2_fps_ingenieriadesistemas.yaml Normal file → Executable file
View File

0
public/horarios/2019_2_fps_ingenieriadesistemas.yaml Normal file → Executable file
View File

0
public/horarios/2020_1_fps_ingenieriadesistemas.yaml Normal file → Executable file
View File

0
public/horarios/2020_2_fps_ingenieriadesistemas.yaml Normal file → Executable file
View File

0
public/img/wall0.webp Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

0
public/img/wall1.webp Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 170 KiB

After

Width:  |  Height:  |  Size: 170 KiB

0
public/img/wall2.webp Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 262 KiB

After

Width:  |  Height:  |  Size: 262 KiB

0
public/img/wall3.webp Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 175 KiB

After

Width:  |  Height:  |  Size: 175 KiB

0
public/img/wall4.webp Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 174 KiB

0
public/index.html Normal file → Executable file
View File

0
public/manifest.json Normal file → Executable file
View File

2
src/App.tsx Normal file → Executable file
View File

@ -1,5 +1,5 @@
import { BarraSuperior } from "./BarraSuperior";
import { ContenedorHorarios } from "./ContenedorHorarios/";
import { ContenedorHorarios } from "./ContenedorHorarios/ContenedorHorarios";
import { Wallpaper } from "./Wallpaper";
import { Show } from "solid-js";
import { css } from "aphrodite";

2
src/BarraSuperior.tsx Normal file → Executable file
View File

@ -4,7 +4,6 @@ import { numWallpaper, setNumWallpaper } from "./Store";
const totalWallpapers = 4;
function CambiadorImg() {
const e = StyleSheet.create({
contCambiador: {
userSelect: "none"
@ -53,6 +52,7 @@ function CambiadorImg() {
}
};
function CambiadorImg() {
return <div className={css(estilosGlobales.inlineBlock, e.contCambiador)}>
<span className={css(estilosGlobales.contenedor, estilosGlobales.inlineBlock)}>
<i

View File

@ -0,0 +1,30 @@
import { AnioData } from "../types/DatosHorario";
import { For } from "solid-js";
import { StyleSheet, css } from "aphrodite";
import { estilosGlobales } from "../Estilos";
const e = StyleSheet.create({
contenedorCurso: {
display: "inline-block",
}
});
export function Cursos(props: { dataAnio: AnioData }) {
return <>
<For each={Object.entries(props.dataAnio)}>
{([_, datosCurso]) => {
return <span className={css(
e.contenedorCurso,
estilosGlobales.contenedor,
estilosGlobales.contenedorCursor,
estilosGlobales.contenedorCursorSoft
)}
>
<i className="ph-plus"/>
{datosCurso.abreviado} - {datosCurso.nombre}
</span>
}}
</For>
</>;
}

9
src/ContenedorHorarios/Horarios.tsx Normal file → Executable file
View File

@ -1,9 +1,9 @@
import { AnioData, DatosHorario } from "../types/DatosHorario";
import { DatosHorario } from "../types/DatosHorario";
import { For, createSignal, createMemo } from "solid-js";
import { StyleSheet, css } from "aphrodite";
import { css } from "aphrodite";
import { estilosGlobales } from "../Estilos";
import { Tabla } from "./Tabla";
import { horas } from "../Store";
import { Cursos } from "./Cursos";
export function Horarios(props: { data: DatosHorario }) {
@ -38,5 +38,8 @@ export function Horarios(props: { data: DatosHorario }) {
<div className={css(estilosGlobales.contenedor)}>
<Tabla data={dataTabla()} version={props.data.version} anio={anioActual()}/>
</div>
<div>
<Cursos dataAnio={dataTabla()}/>
</div>
</div>;
}

0
src/ContenedorHorarios/MiHorario.tsx Normal file → Executable file
View File

0
src/ContenedorHorarios/Tabla.tsx Normal file → Executable file
View File

0
src/ContenedorHorarios/Tabla/CeldaFila.tsx Normal file → Executable file
View File

0
src/ContenedorHorarios/Tabla/FilaTabla.tsx Normal file → Executable file
View File

0
src/Estilos.ts Normal file → Executable file
View File

0
src/Store.ts Normal file → Executable file
View File

0
src/Wallpaper.tsx Normal file → Executable file
View File

0
src/index.tsx Normal file → Executable file
View File

0
src/styles/global.css Normal file → Executable file
View File

0
src/types/DatosHorario.ts Normal file → Executable file
View File

0
tsconfig.json Normal file → Executable file
View File