mirror of
https://github.com/Steffo99/unisteffo.git
synced 2024-11-21 23:44:22 +00:00
Make all pages static
This commit is contained in:
parent
2ef50e651c
commit
6873a4a07c
30 changed files with 253 additions and 28 deletions
|
@ -1,10 +1,17 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Anchor as A, ListUnordered, ListOrdered } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from "../components/link"
|
||||
import { ThemeSwitcher } from '../components/theme-switcher'
|
||||
import { Warn420 } from '../components/warn'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Home: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Code, Anchor as A, ListOrdered, ListUnordered, Panel} from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from '../../../components/link'
|
||||
import { MaterialLi } from "../../../components/materialLi"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,8 +1,15 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Code, Anchor as A, Panel, BringAttention as B, ListOrdered, ListUnordered } from "@steffo/bluelib-react"
|
||||
import type { NextPage } from "next"
|
||||
import type { NextPage, NextPageContext } from "next"
|
||||
import { MaterialLi } from "../../../components/materialLi"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,8 +1,15 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Code, Anchor as A, ListOrdered, ListUnordered, Panel} from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { MaterialLi } from '../../../components/materialLi'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Anchor as A, BringAttention as B, ListOrdered, Panel, Code, ListUnordered } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from '../../../components/link'
|
||||
import { MaterialLi } from '../../../components/materialLi'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Code, Anchor as A, Dialog, BringAttention as B, ListOrdered, ListUnordered, Panel } from "@steffo/bluelib-react"
|
||||
import type { NextPage } from "next"
|
||||
import type { NextPage, NextPageContext } from "next"
|
||||
import { Link } from "../../../components/compat-old"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Anchor as A, Code } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from '../../../components/compat-old'
|
||||
|
||||
import Image from "next/image"
|
||||
|
@ -16,6 +16,13 @@ import imgklZQ9So from "../../../public/images/year1/programmazione1/klZQ9So.png
|
|||
import imgF6lBCqS from "../../../public/images/year1/programmazione1/F6lBCqS.png"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Emphasis } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
|
|
|
@ -1,10 +1,17 @@
|
|||
import { ListUnordered } from "@steffo/bluelib-react"
|
||||
import { Heading, Chapter, Box, Panel, Idiomatic as I } from "@steffo/bluelib-react"
|
||||
import { NextPage } from "next"
|
||||
import { NextPage, NextPageContext } from "next"
|
||||
import { Link } from "../../../components/link"
|
||||
import { Warn1024 } from "../../../components/warn"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
import { Heading } from "@steffo/bluelib-react"
|
||||
import { Split, Box, r, ILatex, BLatex, PLatex, P, Anchor, I, B, Help, Example, LI } from "../../../components/compat-old"
|
||||
import { Link } from "../../../components/link"
|
||||
import { NextPage } from "next"
|
||||
import { NextPage, NextPageContext } from "next"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Tick = (props: any) => <Help text={"Un quanto di tempo del sistema."}>{props.children ?? "tick"}</Help>
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Panel, ListUnordered } from "@steffo/bluelib-react";
|
||||
import { NextPage } from "next";
|
||||
import { NextPage, NextPageContext } from "next";
|
||||
import { Link } from "../../../components/link";
|
||||
import { Warn1024 } from "../../../components/warn";
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
import { Heading } from "@steffo/bluelib-react"
|
||||
import { Section, Panel, r, ILatex, BLatex, PLatex, P, Anchor, I, B, Help, Example, Link } from "../../../components/compat-old"
|
||||
import { Link as NewLink } from "../../../components/link"
|
||||
import { NextPage } from "next"
|
||||
import { NextPage, NextPageContext } from "next"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Tick = (props) => <Help text={"Un quanto di tempo del sistema."}>{props.children ?? "tick"}</Help>
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
import { Heading, Chapter, Box, Panel, Idiomatic as I, ListUnordered } from "@steffo/bluelib-react";
|
||||
import { NextPage } from "next";
|
||||
import { NextPage, NextPageContext } from "next";
|
||||
import { Link } from "../../../components/link";
|
||||
import { Warn1024 } from "../../../components/warn";
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
import { Heading } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Section, Panel, BLatex, r, ILatex, PLatex, Example } from '../../../components/compat-old'
|
||||
import { Link } from '../../../components/link'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,9 +1,17 @@
|
|||
import { ListUnordered } from "@steffo/bluelib-react"
|
||||
import {Heading, Chapter, Box, Panel, Idiomatic as I} from "@steffo/bluelib-react"
|
||||
import { NextPageContext } from "next"
|
||||
import { Link } from "../../../components/link"
|
||||
import { Warn1024 } from "../../../components/warn"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export default function Fisica() {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
import { Heading } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Split, P, LatexMath, r, Plus, Minus, Anchor, Box, Todo, B } from '../../../components/compat-old'
|
||||
import { Link } from '../../../components/link'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Anchor as A, ListUnordered, Panel } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
import { Heading, Chapter, Box, Panel, Idiomatic as I, ListUnordered, Emphasis } from '@steffo/bluelib-react'
|
||||
import { Link } from '../../../components/link'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Warn1024 } from '../../../components/warn'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
import { Heading } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from '../../../components/link'
|
||||
import { Section, Box, Split, Panel, r, ILatex, BLatex, PLatex, Latex, Help, Example, Color, TablePanel, Code, Plus, Minus, Todo, Image } from "../../../components/compat-old"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Min = ({ children = undefined, ...props }: any) => (
|
||||
<Color builtin={"cyan"}>
|
||||
<Help text={"In problemi in cui il primale è di minimizzazione."}>{props.children ? props.children : "min"}</Help>
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
import Bluelib, { Heading, Chapter, Box, Idiomatic as I, Anchor as A, ListUnordered, Panel } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { MaterialLi } from '../../../components/materialLi'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
import {Heading, Chapter, Panel, Idiomatic as I, Box, ListUnordered} from "@steffo/bluelib-react"
|
||||
import { NextPageContext } from "next"
|
||||
import { Link } from "../../../components/link"
|
||||
import { Warn1024 } from "../../../components/warn"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export default function Statistica() {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
import * as Bluelib from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from '../../../components/link'
|
||||
import { Section, Box, r, Latex, Example, Plus, Minus, P, B, I } from "../../../components/compat-old"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Bluelib.Heading level={2}>
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Panel, ListUnordered } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Panel, ListUnordered } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from '../../../components/link'
|
||||
import { Warn1024 } from '../../../components/warn'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
import { Heading, Strikethrough, UAnnotation as U } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from '../../../components/link'
|
||||
import { Box, Split, r, Help, Color, Code, I, Todo, B, LI, Anchor, P, Aside, LatexMath } from "../../../components/compat-old"
|
||||
import tokenStyle from "./tokenStyle.module.css"
|
||||
import Image from "next/image"
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Token = ({ children = undefined, indexTerm = undefined, stopword = undefined }: any) => {
|
||||
if(indexTerm) {
|
||||
return (
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Panel, ListUnordered } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from '../../../components/link'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Panel, ListUnordered, Abbreviation } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from '../../../components/link'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Panel, ListUnordered } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from '../../../components/link'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Panel, ListUnordered } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
import { Heading, Chapter, Box, Idiomatic as I, Panel, ListUnordered } from '@steffo/bluelib-react'
|
||||
import type { NextPage } from 'next'
|
||||
import type { NextPage, NextPageContext } from 'next'
|
||||
import { Link } from '../../../components/link'
|
||||
|
||||
|
||||
export async function getStaticProps(_context: NextPageContext) {
|
||||
return {
|
||||
props: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const Page: NextPage = () => {
|
||||
return <>
|
||||
<Heading level={2}>
|
||||
|
|
Loading…
Reference in a new issue