embalse individual

This commit is contained in:
2024-10-17 19:30:18 +02:00
parent 1e6c9c7fb2
commit 6ca280469d
9 changed files with 144 additions and 13 deletions

31
src/partials/Card.tsx Normal file
View File

@ -0,0 +1,31 @@
import { JSX } from "solid-js";
interface Props {
title: string;
icon: JSX.Element;
children: JSX.Element;
}
function Card(props: Props) {
return (
<div class="card">
<header class="card-header">
<p class="card-header-title">
<span class="icon-text">
<span class="icon">
{props.icon}
</span>
<span>{props.title}</span>
</span>
</p>
</header>
<div class="card-content">
<div class="content">
{props.children}
</div>
</div>
</div>
);
}
export default Card;

View File

@ -0,0 +1,7 @@
function Loader() {
return (
<span class="loader"></span>
)
}
export default Loader;