Add about page
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
@page "/About"
|
||||
|
||||
<div class="row mx-2">
|
||||
<div class="col-12 col-lg-10 offset-lg-1">
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<h1>@Titolo</h1>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<h4>Headquarters</h4>
|
||||
<address>
|
||||
<strong>EgalWare s.r.l.</strong><br />
|
||||
via Nazionale, 93<br />
|
||||
24068 Seriate - BG<br />
|
||||
<abbr title="Phone"><i class="fa-solid fa-square-phone"></i></abbr>
|
||||
+39.035.290178<br />
|
||||
<abbr title="Phone"><i class="fa-solid fa-square-phone"></i></abbr>
|
||||
+39.035.460560
|
||||
</address>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<img src="images/LogoEgw.png" wi class="img-fluid" />
|
||||
</div>
|
||||
<hr />
|
||||
<div class="col-12">
|
||||
<h4 class="card-title">@Messaggio</h4>
|
||||
</div>
|
||||
<div class="col-6 small">
|
||||
<address>
|
||||
<strong>Web:</strong><br />
|
||||
Access to support:<br />
|
||||
<a href="https://support.egalware.com/" target="_blank">our website</a><br />
|
||||
</address>
|
||||
|
||||
</div>
|
||||
<div class="col-6 small">
|
||||
<address>
|
||||
<strong>Email:</strong><br />
|
||||
Write an email:<br />
|
||||
<a href="mailto:info@egalware.com">info at egalware.com</a>
|
||||
</address>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-footer d-flex justify-content-around">
|
||||
<div class="badge rounded-pill bg-dark px-1 py-0">
|
||||
<div class="px-1">
|
||||
<a class="btn text-light text-decoration-none" href="https://www.egalware.com/" target="_blank">powered by EgalWare <img width="24" class="img-fluid" src="images/LogoEgw.png" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using System.Net.Http;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
using Microsoft.AspNetCore.Components.Routing;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
using Microsoft.AspNetCore.Components.Web.Virtualization;
|
||||
using Microsoft.JSInterop;
|
||||
using GPW.CORE.Comp;
|
||||
using GPW.CORE.Data.DbModels;
|
||||
using GPW.CORE.Smart;
|
||||
using GPW.CORE.Smart.Components;
|
||||
using GPW.CORE.Smart.Shared;
|
||||
|
||||
namespace GPW.CORE.Smart.Pages
|
||||
{
|
||||
public partial class About : IDisposable
|
||||
{
|
||||
#region Public Methods
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
GC.Collect();
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Protected Fields
|
||||
|
||||
protected string Messaggio = "";
|
||||
protected string Titolo = "";
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
Titolo = Configuration.GetValue<string>("Application:Name");
|
||||
Messaggio = Configuration.GetValue<string>("Application:ContactText");
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Private Properties
|
||||
|
||||
[Inject]
|
||||
private IConfiguration Configuration { get; set; } = null!;
|
||||
|
||||
#endregion Private Properties
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
Reference in New Issue
Block a user