aboutsummaryrefslogtreecommitdiff
path: root/Web/Shared/SurveyPrompt.razor
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2020-12-10 13:54:23 +0200
committertranstrike <transtrike@gmail.com>2020-12-10 13:54:23 +0200
commitee80c6ff969b5b4cfc3d1292f15928fc8bd2d667 (patch)
tree02d126568767f77f78127a347b142e5225fab4de /Web/Shared/SurveyPrompt.razor
parent7941f1ab479b72ee53e94aef54b8390d21d36f84 (diff)
downloadDevHive-ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667.tar
DevHive-ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667.tar.gz
DevHive-ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667.zip
Replaced ASP.NET Core MVC with Blazor
Diffstat (limited to 'Web/Shared/SurveyPrompt.razor')
-rw-r--r--Web/Shared/SurveyPrompt.razor16
1 files changed, 16 insertions, 0 deletions
diff --git a/Web/Shared/SurveyPrompt.razor b/Web/Shared/SurveyPrompt.razor
new file mode 100644
index 0000000..d78f8cf
--- /dev/null
+++ b/Web/Shared/SurveyPrompt.razor
@@ -0,0 +1,16 @@
+<div class="alert alert-secondary mt-4" role="alert">
+ <span class="oi oi-pencil mr-2" aria-hidden="true"></span>
+ <strong>@Title</strong>
+
+ <span class="text-nowrap">
+ Please take our
+ <a target="_blank" class="font-weight-bold" href="https://go.microsoft.com/fwlink/?linkid=2137813">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; }
+}