PWA Fundvelo der Caritas.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. @page "/info"
  2. @using cwebplusApp.Shared.Services;
  3. @using System;
  4. @using System.Reflection;
  5. @inject NavigationManager NavigationManager;
  6. @inject IStringLocalizer<Resources> I18n
  7. @inject PageHistoryManager PageHistoryManager
  8. @inject IJSRuntime JSRuntime;
  9. <div class="row px-3 h-100">
  10. <div class="text-center w-100">
  11. <img class="w-100" src="./images/caritas_logo.png" style="padding:1em;max-width:320px" />
  12. </div>
  13. <div class="row no-gutters align-items-center w-100">
  14. <table class="w-100">
  15. <tr>
  16. <td class="text-center">
  17. <span class="text-left" style="max-width: 500px;display:inline-block;font-size:smaller">
  18. <pre style="white-space:pre-line;font-family:'Ubuntu';margin-bottom:0">@I18n["App.Info"]</pre>
  19. </span>
  20. </td>
  21. </tr>
  22. <tr>
  23. <td class="text-center">
  24. <span class="text-left" style="max-width: 500px;display:inline-block;font-size:smaller">
  25. <pre style="white-space:pre-line;font-family:'Ubuntu';margin-bottom:0">@I18n["App.Info.Fundvelo"]</pre>
  26. <p>
  27. <a href="https://shop.caritas-luzern.ch/de/Velos-c75735006" target="_blank">Velos (caritas-luzern.ch)</a>
  28. <br />
  29. <a href="https://www.velostation.ch/de/velostationen/uebersichtskarte/luzern" target="_blank">Luzern – Forum Velostationen Schweiz</a>
  30. <br />
  31. <a href="https://www.nextbike.ch/de/" target="_blank">nextbike | Fahrradverleih in Luzern</a>
  32. <br />
  33. <a href="https://www.caritas-luzern.ch/was-wir-tun/caritas-betriebe/velomobilitaet-velodienste-velowerkstatt-veloverleih" target="_blank">Velodienste, Velowerkstatt & Veloverleih</a>
  34. </p>
  35. </span>
  36. </td>
  37. </tr>
  38. <tr>
  39. <td class="text-center">
  40. <span class="text-left" style="max-width: 500px;display:inline-block;font-size:smaller">
  41. <pre style="white-space:pre-line;font-family:'Ubuntu';margin-bottom:0">@I18n["App.Info.KuLe"]</pre>
  42. <p><a href="https://www.kulturlegi.ch" target="_blank">https://www.kulturlegi.ch</a></p>
  43. </span>
  44. </td>
  45. </tr>
  46. <tr>
  47. <td class="text-center">
  48. <MatButton Raised="true" Class="w-100" @onclick="@ShowCaritasWebpage" style="max-width:500px">@I18n["Learnmore"]</MatButton>
  49. </td>
  50. </tr>
  51. <tr>
  52. <td class="text-center">
  53. <MatCaption Style="font-family:Ubuntu">@I18n["App.version", @version]</MatCaption>
  54. </td>
  55. </tr>
  56. </table>
  57. </div>
  58. <div class="row no-gutters align-items-end w-100">
  59. <table class="w-100">
  60. <tr>
  61. <td class="text-right">
  62. <MatCaption Style="font-family:Ubuntu">@I18n["DevelopedBy"]</MatCaption>
  63. </td>
  64. </tr>
  65. <tr>
  66. <td class="text-right">
  67. <img src="./images/integrate_logo.png" style="max-width:200px" alt="" />
  68. </td>
  69. </tr>
  70. <tr>
  71. <td class="text-right">
  72. <MatCaption Style="font-family:Ubuntu">Platz 10, Business Village Luzern</MatCaption>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td class="text-right">
  77. <MatCaption Style="font-family:Ubuntu">CH-6039 Root D4</MatCaption>
  78. </td>
  79. </tr>
  80. </table>
  81. </div>
  82. </div>
  83. @code {
  84. private string version;
  85. protected override void OnInitialized() {
  86. base.OnInitialized();
  87. version = Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion;
  88. }
  89. private async void ShowCaritasWebpage() {
  90. await JSRuntime.InvokeAsync<string>("open", $"https://www.caritas.ch", "_blank", "noopener");
  91. }
  92. }