1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2024-11-29 03:14:19 +00:00
This commit is contained in:
Steffo 2021-03-25 18:05:49 +01:00
parent 65f78106e2
commit 1f113267d7
Signed by: steffo
GPG key ID: 6965406171929D01
3 changed files with 21 additions and 15 deletions

View file

@ -1,13 +1,15 @@
import React from "react" import React from "react"
import { Split as BluelibSplit, Title } from "bluelib/lib/components" import { Split as BluelibSplit, Title } from "bluelib/lib/components"
import PropTypes from "prop-types" import PropTypes from "prop-types"
import classNames from "classnames"
import Style from "./Split.module.css"
export default function Split({ children, title, ...props }) { export default function Split({ children, className, titleClassName, title, ...props }) {
return ( return (
<div {...props}> <div className={classNames(Style.Split, className)} {...props}>
{title ? {title ?
<Title size={"xl"}> <Title className={classNames(Style.SplitTitle, titleClassName)} size={"xl"}>
{title} {title}
</Title> </Title>
: null} : null}
@ -17,9 +19,3 @@ export default function Split({ children, title, ...props }) {
</div> </div>
) )
} }
Split.propTypes = {
children: PropTypes.node,
className: PropTypes.string,
title: PropTypes.node,
}

View file

@ -0,0 +1,11 @@
.Split {
}
.SplitTitle {
}
.Split:first-child .SplitTitle {
}

View file

@ -48,12 +48,11 @@ export default function Sistemioperativi() {
</P> </P>
</Box> </Box>
</Split> </Split>
<Separator style={{marginBottom: "12px", marginTop: "64px"}}/>
<article> <article>
<Title size={"xxl"}> <Title size={"xxl"}>
Arzigogolo #5 del 2019 Arzigogolo #5 del 2019
</Title> </Title>
<Split title={"Prerequisiti"}> <Split title={"Prerequisiti"} major={true}>
<Ex title={"Premessa"}> <Ex title={"Premessa"}>
<P> <P>
Tutti gli esercizi devono essere svolti su un sistema guest <B>Arch Linux</B> testuale. Tutti gli esercizi devono essere svolti su un sistema guest <B>Arch Linux</B> testuale.
@ -75,7 +74,7 @@ export default function Sistemioperativi() {
</P> </P>
</Box> </Box>
</Split> </Split>
<Split title={"Parte 1"}> <Split title={"Parte 1"} major={true}>
<Ex title={"Consegna"}> <Ex title={"Consegna"}>
<P> <P>
Si scarichi e si installi il software cscope per lindicizzazione di alberi sorgenti. Si indicizzino gli alberi sorgenti dei seguenti software: Si scarichi e si installi il software cscope per lindicizzazione di alberi sorgenti. Si indicizzino gli alberi sorgenti dei seguenti software: