From f286d5d500d7f9ff8568c73db984909b1c3de39c Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sun, 11 May 2025 17:39:06 +0200 Subject: [PATCH] Add the titan component with customizable properties for name, acknowledgment, URL, type, and image source --- app/MindWork AI Studio/Components/Titan.razor | 16 ++++++++++++++ .../Components/Titan.razor.cs | 21 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 app/MindWork AI Studio/Components/Titan.razor create mode 100644 app/MindWork AI Studio/Components/Titan.razor.cs diff --git a/app/MindWork AI Studio/Components/Titan.razor b/app/MindWork AI Studio/Components/Titan.razor new file mode 100644 index 00000000..a452de6b --- /dev/null +++ b/app/MindWork AI Studio/Components/Titan.razor @@ -0,0 +1,16 @@ + + + + + + + + + @this.Name + + + + @this.Acknowledgment + + + \ No newline at end of file diff --git a/app/MindWork AI Studio/Components/Titan.razor.cs b/app/MindWork AI Studio/Components/Titan.razor.cs new file mode 100644 index 00000000..af025d13 --- /dev/null +++ b/app/MindWork AI Studio/Components/Titan.razor.cs @@ -0,0 +1,21 @@ +using Microsoft.AspNetCore.Components; + +namespace AIStudio.Components; + +public partial class Titan : ComponentBase +{ + [Parameter] + public string Name { get; set; } = string.Empty; + + [Parameter] + public string Acknowledgment { get; set; } = string.Empty; + + [Parameter] + public string? URL { get; set; } + + [Parameter] + public SupporterType Type { get; set; } + + [Parameter] + public string? ImageSrc { get; set; } +} \ No newline at end of file