1 files changed, 17 insertions, 0 deletions
diff --git a/GitRepoViewer/Shared/SurveyPrompt.razor b/GitRepoViewer/Shared/SurveyPrompt.razor
new file mode 100644
index 0000000..657b190
--- /dev/null
+++ b/GitRepoViewer/Shared/SurveyPrompt.razor
@@ -0,0 +1,17 @@
+<div class="alert alert-secondary mt-4">
+ <span class="oi oi-pencil me-2" aria-hidden="true"></span>
+ <strong>@Title</strong>
+
+ <span class="text-nowrap">
+ Please take our
+ <a target="_blank" class="font-weight-bold link-dark" href="https://go.microsoft.com/fwlink/?linkid=2186157">brief survey</a>
+ </span>
+ and tell us what you think.
+</div>
+
+@code {
+ // Demonstrates how a parent component can supply parameters
+ [Parameter]
+ public string? Title { get; set; }
+
+}
\ No newline at end of file
|