mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
chore(website): port benefits section
This commit is contained in:
17
apps/website3/src/components/Card.tsx
Normal file
17
apps/website3/src/components/Card.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { ComponentChildren } from "preact";
|
||||
|
||||
interface CardProps {
|
||||
title: string;
|
||||
children: ComponentChildren;
|
||||
}
|
||||
|
||||
export default function Card({ title, children }: CardProps) {
|
||||
return (
|
||||
<div className="card">
|
||||
<p>
|
||||
<span class="text-big">{title}</span><br />
|
||||
{children}
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user