import { estilosGlobales } from "./Estilos" import { StyleSheet, css } from "aphrodite" import { numWallpaper, setNumWallpaper } from "./Store" import { TamanoLetra } from "./BarraSuperior/TamanoLetra" import { RouterLink } from "./Router" const ultimoIndiceWallpaper = 2 const e = StyleSheet.create({ contCambiador: { userSelect: "none", }, boton: { cursor: "pointer", textDecoration: "underline", "::before": { fontSize: "1rem", transform: "translateY(0.2rem)", }, }, botonDesactivado: { cursor: "not-allowed", textDecoration: "none", }, botonLeft: { paddingRight: "0.5rem", marginRight: "0.25rem", }, botonRight: { paddingLeft: "0.5rem", marginRight: "0.25rem", }, }) const retrocederWallpaper = () => { const num = numWallpaper() if (num > 0) { setNumWallpaper(num - 1) localStorage.setItem("num-img", (num - 1).toString()) } else { setNumWallpaper(ultimoIndiceWallpaper) localStorage.setItem("num-img", (ultimoIndiceWallpaper).toString()) } } const avanzarWallpaper = () => { const num = numWallpaper() if (num < ultimoIndiceWallpaper) { setNumWallpaper(num + 1) localStorage.setItem("num-img", (num + 1).toString()) } else { setNumWallpaper(0) localStorage.setItem("num-img", (0).toString()) } } function CambiadorImg() { return (
Img. {numWallpaper() + 1}
) } const estilos = StyleSheet.create({ tituloPrincipal: { fontWeight: "bold", }, }) export function BarraSuperior() { return (
Horarios Unsa GitHub IngenierĂ­a de Sistemas 2021-B
) }