+ @if(IsTestComponent){
+
+
Test components are components not for production but to aid testing. Or to demo a feature not planned for prodution.
+
Test components do not have test coverage and are not for production.
+ }
+
+
@Title
+
+
+ @ChildContent
+
+
+
+
+
+@code
+{
+
+ [Parameter, EditorRequired]
+ public required bool IsTestComponent { get; set; } = false;
+
+ [Parameter, EditorRequired]
+ public required string Title { get; set; } = string.Empty;
+
+ [Parameter,EditorRequired]
+ public required string Description { get; set; } = string.Empty;
+
+ [Parameter, EditorRequired]
+ public required string Instructions { get; set; } = string.Empty;
+
+ [Parameter, EditorRequired]
+ public required RenderFragment ChildContent { get; set; }
+}
+
diff --git a/TELBlazor.Components.ShowCase.Shared/Layouts/ComponentLayouts/ShowCase.razor.css b/TELBlazor.Components.ShowCase.Shared/Layouts/ComponentLayouts/ShowCase.razor.css
new file mode 100644
index 0000000..8a4da01
--- /dev/null
+++ b/TELBlazor.Components.ShowCase.Shared/Layouts/ComponentLayouts/ShowCase.razor.css
@@ -0,0 +1,32 @@
+.test-component-warning-header {
+ color:red;
+}
+.component-showcase {
+ padding: 1.5rem;
+ margin-bottom: 2rem;
+ border: 1px solid #e5e7eb;
+ border-radius: 0.75rem;
+ background-color: #ffffff;
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
+}
+
+.component-presentor {
+ border: 1px dashed #d1d5db;
+ background-color: #f0f4f5;
+ color: #212b32;
+ font-size: 16px;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-font-smoothing: antialiased;
+ line-height: 1.5;
+ margin: 0;
+ padding: 32px;
+ padding: 1rem;
+ border-radius: 0.5rem;
+ margin-bottom: 1rem;
+}
+
+.component-information {
+ font-size: 0.95rem;
+ color: #4b5563;
+ line-height: 1.6;
+}
diff --git a/TELBlazor.Components.ShowCase.Shared/Layouts/ComponentPageLayout.razor b/TELBlazor.Components.ShowCase.Shared/Layouts/ComponentPageLayout.razor
deleted file mode 100644
index 4bdb5d5..0000000
--- a/TELBlazor.Components.ShowCase.Shared/Layouts/ComponentPageLayout.razor
+++ /dev/null
@@ -1,10 +0,0 @@
-@inherits LayoutComponentBase
-@layout MainLayout
-