aboutsummaryrefslogtreecommitdiff
path: root/lume/src
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-08 18:10:46 -0400
committerXe Iaso <me@xeiaso.net>2025-04-08 18:20:11 -0400
commit782293bb04d1abc797e8667afa6e9666a1608b49 (patch)
tree6beb4f932b4418a5710e91eb95d58d4b86d996b1 /lume/src
parente9750514519f2522ef046c5b723f172044a30b98 (diff)
downloadxesite-782293bb04d1abc797e8667afa6e9666a1608b49.tar.xz
xesite-782293bb04d1abc797e8667afa6e9666a1608b49.zip
add npm run dev command
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src')
-rw-r--r--lume/src/_components/XeblogConv.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/lume/src/_components/XeblogConv.tsx b/lume/src/_components/XeblogConv.tsx
index aa7abd5..36df751 100644
--- a/lume/src/_components/XeblogConv.tsx
+++ b/lume/src/_components/XeblogConv.tsx
@@ -1,6 +1,7 @@
export interface XeblogConvProps {
name: string;
mood: string;
+ title?: string;
children: HTMLElement[];
standalone?: boolean;
aiModel?: string;
@@ -10,6 +11,7 @@ const ConvSnippet = ({
name,
mood,
children,
+ title,
standalone,
aiModel,
}: XeblogConvProps) => {
@@ -45,6 +47,13 @@ const ConvSnippet = ({
{/* Username */}
<span className="font-semibold text-sm block mb-1">
<a href={`/characters#${nameLower}`}>{name}</a>
+ {!!title && (
+ <>
+ {" ("}
+ {title}
+ {")"}
+ </>
+ )}
</span>
<span className="mx-auto" />