import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"; let Sentry = null; if (process.env.NODE_ENV === "development") { console.debug("Initializing Preact Debugger...") require("preact/debug"); } else if (process.env.NODE_ENV === "production") { console.debug("Initializing Sentry...") Sentry = require("@sentry/browser"); // noinspection JSUnresolvedVariable Sentry.init({ dsn: "https://9f5089346fd14e04a6f412638474dfec@o40131.ingest.sentry.io/5255500", release: process.env.RELEASE, environment: "production", beforeSend(event, hint) { if (event.exception) { Sentry.showReportDialog({eventId: event.event_id}); } return event; } }); } // Import debugging tools import Router from 'preact-router'; import {createHashHistory} from "history"; import {BasicContainer, Bluelib, BoxColors, CurrentPage, LatexRenderColor, Panel} from "bluelib"; import Home from './routes/Home'; import Fisica from './routes/Fisica'; import VlDiGeometria from './routes/VlDiGeometria'; import MingwInstall from './routes/MingwInstall'; import Footer from './components/Footer'; import Statistica from './routes/Statistica'; import OttimizzazioneLineare from "./routes/OttimizzazioneLineare"; import BasiDiDati from './routes/BasiDiDati'; import CalcoloNumerico from './routes/CalcoloNumerico'; import ApprendimentoSistemiArtificiali from "./routes/ApprendimentoSistemiArtificiali"; import NetLogo from "./routes/NetLogo"; import AlgoritmiEStruttureDati from "./routes/AlgoritmiEStruttureDati"; import {useState} from "preact/hooks"; import Link from "./components/Link"; import RipassoDiAlgebraLineare from "./routes/RipassoDiAlgebraLineare"; import {faAdjust, faChevronRight, faClock, faPrint} from "@fortawesome/free-solid-svg-icons"; import Match from "preact-router/match"; import PrintBox from "./components/PrintBox"; // noinspection JSUnusedGlobalSymbols export default function (props) { let [currentPage, setCurrentPage] = useState(window.location.hash.substr(1)); const onPageChange = (event) => { setCurrentPage(event.url); }; let [latexColor, setLatexColor] = useState("White"); return (

Appuntiweb di Steffo

Pagina non trovata.