|
|
|
@ -1,4 +1,5 @@ |
|
|
|
|
@page "/" |
|
|
|
|
@using System.Diagnostics |
|
|
|
|
@inject IDatabase<GangnamguPopulation> DatabaseService |
|
|
|
|
|
|
|
|
|
@rendermode RenderMode.InteractiveServer |
|
|
|
@ -224,6 +225,27 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row my-5"> |
|
|
|
|
<div class="col-sm-12 col-lg-4"> |
|
|
|
|
<RadzenCard> |
|
|
|
|
<RadzenText TextStyle="TextStyle.DisplayH6">💡 더 많은 정보를 원하시나요? (구글)</RadzenText> |
|
|
|
|
<RadzenButton Style="width: 100%" Click="@ClickGoogle">클릭!</RadzenButton> |
|
|
|
|
</RadzenCard> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-sm-12 col-lg-4"> |
|
|
|
|
<RadzenCard> |
|
|
|
|
<RadzenText TextStyle="TextStyle.DisplayH6">💡 더 많은 정보를 원하시나요? (네이버)</RadzenText> |
|
|
|
|
<RadzenButton Style="width: 100%" Click="@ClickNaver">클릭!</RadzenButton> |
|
|
|
|
</RadzenCard> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-sm-12 col-lg-4"> |
|
|
|
|
<RadzenCard> |
|
|
|
|
<RadzenText TextStyle="TextStyle.DisplayH6">💡 더 많은 정보를 원하시나요? (다음)</RadzenText> |
|
|
|
|
<RadzenButton Style="width: 100%" Click="@ClickDaum">클릭!</RadzenButton> |
|
|
|
|
</RadzenCard> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
@code { |
|
|
|
|
private IEnumerable<GangnamguPopulation> _populations; |
|
|
|
|
private IEnumerable<string>? _administrativeAgency; |
|
|
|
@ -255,4 +277,22 @@ |
|
|
|
|
_selectNumberOfHouseholds = data.NumberOfHouseholds.ToString(); |
|
|
|
|
_selectPerHousehold = data.NumberOfPeoplePerHousehold.ToString(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void ClickGoogle() |
|
|
|
|
{ |
|
|
|
|
string url = "https://www.google.com"; |
|
|
|
|
Process.Start(new ProcessStartInfo(url) { UseShellExecute = true }); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void ClickNaver() |
|
|
|
|
{ |
|
|
|
|
string url = "https://www.naver.com"; |
|
|
|
|
Process.Start(new ProcessStartInfo(url) { UseShellExecute = true }); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void ClickDaum() |
|
|
|
|
{ |
|
|
|
|
string url = "https://www.daum.com"; |
|
|
|
|
Process.Start(new ProcessStartInfo(url) { UseShellExecute = true }); |
|
|
|
|
} |
|
|
|
|
} |