1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 22:54:22 +00:00

Make the title of the ViewContent a h1

This commit is contained in:
Steffo 2022-07-17 06:20:32 +02:00
parent e85363c4f3
commit 4b70723007
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -13,9 +13,9 @@ export type ViewContentProps = {
export const ViewContent = memo((props: ViewContentProps) => { export const ViewContent = memo((props: ViewContentProps) => {
return ( return (
<main className={style.viewContent}> <main className={style.viewContent}>
<h2 className={style.viewContentTitle}> <h1 className={style.viewContentTitle}>
{props.title} {props.title}
</h2> </h1>
<div className={style.viewContentContent}> <div className={style.viewContentContent}>
{props.content} {props.content}
</div> </div>