fix(background): Offline images

This commit is contained in:
alexsparkes
2024-02-19 13:07:44 +00:00
parent dacb11d935
commit 6e85da363c
3 changed files with 12 additions and 4 deletions

View File

@@ -1,5 +1,13 @@
const Panel = ({ children, type }) => (
<section> {type === 'content' ? <div className="content">{children}</div> : children}</section>
<section className={type}>
{type === 'content' ? (
<div className="content">{children}</div>
) : type === 'aside' ? (
<>{children}</>
) : (
children
)}
</section>
);
export { Panel as default, Panel };