mirror of
https://github.com/Steffo99/unisteffo.git
synced 2025-04-01 05:10:43 +00:00
18 lines
408 B
JavaScript
18 lines
408 B
JavaScript
import React from "react";
|
|
import {BaseLink, Title} from "bluelib/lib/components";
|
|
import PropTypes from "prop-types";
|
|
|
|
|
|
export default function MainTitle({subtitle}) {
|
|
return (
|
|
<div>
|
|
<Title size={"xxl"}><BaseLink href={"/"}>Unisteffo</BaseLink></Title>
|
|
<Title size={"xl"}>{subtitle}</Title>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
|
|
MainTitle.propTypes = {
|
|
subtitle: PropTypes.node
|
|
}
|