Skip to content

Commit 452a822

Browse files
mkArtakMSFTwtgodbe
authored andcommitted
Added the Blazor survey link to the Blazor-Server project template (#17434)
* Added the survey link to the Blazor Server project * Use new survey link for server project * Updated the baseline to include the SurveyPrompt.razor file * Added the SurveyPrompt.razor to all the test baselines
1 parent bc7135c commit 452a822

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/Pages/Index.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
<h1>Hello, world!</h1>
44

55
Welcome to your new app.
6+
7+
<SurveyPrompt Title="How is Blazor working for you?" />
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<div class="alert alert-secondary mt-4" role="alert">
2+
<span class="oi oi-pencil mr-2" aria-hidden="true"></span>
3+
<strong>@Title</strong>
4+
5+
<span class="text-nowrap">
6+
Please take our
7+
<a target="_blank" class="font-weight-bold" href="https://go.microsoft.com/fwlink/?linkid=2112271">brief survey</a>
8+
</span>
9+
and tell us what you think.
10+
</div>
11+
12+
@code {
13+
// Demonstrates how a parent component can supply parameters
14+
[Parameter]
15+
public string Title { get; set; }
16+
}

src/ProjectTemplates/test/template-baselines.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -922,6 +922,7 @@
922922
"Shared/LoginDisplay.razor",
923923
"Shared/MainLayout.razor",
924924
"Shared/NavMenu.razor",
925+
"Shared/SurveyPrompt.razor",
925926
"wwwroot/favicon.ico",
926927
"wwwroot/css/site.css",
927928
"wwwroot/css/bootstrap/bootstrap.min.css",
@@ -958,6 +959,7 @@
958959
"Shared/LoginDisplay.razor",
959960
"Shared/MainLayout.razor",
960961
"Shared/NavMenu.razor",
962+
"Shared/SurveyPrompt.razor",
961963
"wwwroot/favicon.ico",
962964
"wwwroot/css/site.css",
963965
"wwwroot/css/bootstrap/bootstrap.min.css",
@@ -994,6 +996,7 @@
994996
"Shared/LoginDisplay.razor",
995997
"Shared/MainLayout.razor",
996998
"Shared/NavMenu.razor",
999+
"Shared/SurveyPrompt.razor",
9971000
"wwwroot/favicon.ico",
9981001
"wwwroot/css/site.css",
9991002
"wwwroot/css/bootstrap/bootstrap.min.css",
@@ -1029,6 +1032,7 @@
10291032
"Properties/launchSettings.json",
10301033
"Shared/MainLayout.razor",
10311034
"Shared/NavMenu.razor",
1035+
"Shared/SurveyPrompt.razor",
10321036
"wwwroot/favicon.ico",
10331037
"wwwroot/css/site.css",
10341038
"wwwroot/css/bootstrap/bootstrap.min.css",
@@ -1065,6 +1069,7 @@
10651069
"Shared/LoginDisplay.razor",
10661070
"Shared/MainLayout.razor",
10671071
"Shared/NavMenu.razor",
1072+
"Shared/SurveyPrompt.razor",
10681073
"wwwroot/favicon.ico",
10691074
"wwwroot/css/site.css",
10701075
"wwwroot/css/bootstrap/bootstrap.min.css",
@@ -1101,6 +1106,7 @@
11011106
"Shared/LoginDisplay.razor",
11021107
"Shared/MainLayout.razor",
11031108
"Shared/NavMenu.razor",
1109+
"Shared/SurveyPrompt.razor",
11041110
"wwwroot/favicon.ico",
11051111
"wwwroot/css/site.css",
11061112
"wwwroot/css/bootstrap/bootstrap.min.css",

0 commit comments

Comments
 (0)