Changed main to div

This commit is contained in:
Patrick Alvin Alcala 2025-09-25 12:35:24 +08:00
parent 5e0afdfa66
commit d3219d1ea8

View file

@ -10,10 +10,10 @@ export default (props: Props) => {
return ( return (
<> <>
<Show when={props.alignment}> <Show when={props.alignment}>
<main class={props.alignment}>{props.children}</main> <div class={props.alignment}>{props.children}</div>
</Show> </Show>
<Show when={!props.alignment}> <Show when={!props.alignment}>
<main class="page">{props.children}</main> <div class="page">{props.children}</div>
</Show> </Show>
</> </>
) )