diff --git a/components/compat-old.tsx b/components/compat-old.tsx index 57de84e..2e1c0fe 100644 --- a/components/compat-old.tsx +++ b/components/compat-old.tsx @@ -5,7 +5,7 @@ import 'katex/dist/katex.min.css'; export const Split = ({title = undefined, children}: any) => { - return ( + return <> {title ? @@ -14,9 +14,8 @@ export const Split = ({title = undefined, children}: any) => { : null} {children} - ) + } -export const Section = Split export const Box = ({title = undefined, children, color = undefined}: any) => { return ( @@ -31,12 +30,6 @@ export const Box = ({title = undefined, children, color = undefined}: any) => { ) } -export const Example = (props: any) => { - return ( - - ) -} - export const Plus = (props: any) => { return ( @@ -123,14 +116,27 @@ export const Image = (props: any) => { ) } -export const Latex = LatexMath + +export const Aside = (props: any) => { + return ( + + ) +} + +export const Example = (props: any) => { + return ( + @@ -658,7 +633,7 @@ const Page: NextPage = () => {

È quello che fa Google quando non è sicuro della correzione proposta:

- {"Google + {"Google
@@ -1173,26 +1148,22 @@ const Page: NextPage = () => { \\log \\frac{1 - P(k_i\\ |\\ \\overline{R}, \\vec{q})}{P(k_i\\ |\\ \\overline{R}, \\vec{q})} `} - - - - - - + +