From 8751ba26ebf7b7761b9e237f2bf3453623dd1018 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Mon, 6 Oct 2025 10:13:39 +0700
Subject: added frontend WS connection for demonstration purposes

---
 gui/src/components/post/Card.tsx | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 gui/src/components/post/Card.tsx

(limited to 'gui/src/components/post/Card.tsx')

diff --git a/gui/src/components/post/Card.tsx b/gui/src/components/post/Card.tsx
new file mode 100644
index 0000000..9309423
--- /dev/null
+++ b/gui/src/components/post/Card.tsx
@@ -0,0 +1,12 @@
+import Icon from "@/components/Icon";
+import type { IconName } from "@/components/Icon";
+
+export default function ({ children, logo, cn}: { cn?: string; logo: IconName; children: any }) {
+  const className = "trill-post-card" + (cn ? ` ${cn}`: "")
+  return (
+    <div className={className}>
+      <Icon name={logo} size={20} className="trill-post-card-logo" />
+      {children}
+    </div>
+  );
+}
-- 
cgit v1.2.3

