mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Move about page to blazor.
This commit is contained in:
@@ -47,8 +47,6 @@ namespace Marechai.Controllers
|
|||||||
_context = context;
|
_context = context;
|
||||||
}
|
}
|
||||||
|
|
||||||
public IActionResult About() => View();
|
|
||||||
|
|
||||||
public IActionResult Contact() => View();
|
public IActionResult Contact() => View();
|
||||||
|
|
||||||
public IActionResult Error() => View(new ErrorViewModel
|
public IActionResult Error() => View(new ErrorViewModel
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
<Version>3.0.99.934</Version>
|
<Version>3.0.99.936</Version>
|
||||||
<Company>Canary Islands Computer Museum</Company>
|
<Company>Canary Islands Computer Museum</Company>
|
||||||
<Copyright>Copyright © 2003-2020 Natalia Portillo</Copyright>
|
<Copyright>Copyright © 2003-2020 Natalia Portillo</Copyright>
|
||||||
<Product>Canary Islands Computer Museum Website</Product>
|
<Product>Canary Islands Computer Museum Website</Product>
|
||||||
@@ -54,8 +54,7 @@
|
|||||||
</Content>
|
</Content>
|
||||||
<Content Include="Areas\Identity\Pages\Account\LogOut.cshtml" />
|
<Content Include="Areas\Identity\Pages\Account\LogOut.cshtml" />
|
||||||
<Content Include="Areas\Identity\Pages\Shared\_LoginPartial.cshtml" />
|
<Content Include="Areas\Identity\Pages\Shared\_LoginPartial.cshtml" />
|
||||||
<Content Include="Pages\Error.razor" />
|
<Content Include="Pages\**\*.razor" />
|
||||||
<Content Include="Pages\Home\Index.razor" />
|
|
||||||
<Content Include="Pages\_Host.cshtml" />
|
<Content Include="Pages\_Host.cshtml" />
|
||||||
<Content Include="Shared\LoginDisplay.razor" />
|
<Content Include="Shared\LoginDisplay.razor" />
|
||||||
<Content Include="Shared\MainLayout.razor" />
|
<Content Include="Shared\MainLayout.razor" />
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
@{
|
@{
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
// MARECHAI: Master repository of computing history artifacts information
|
// MARECHAI: Master repository of computing history artifacts information
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// Filename : About.cshtml
|
// Filename : About.razor
|
||||||
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
||||||
//
|
//
|
||||||
// --[ Description ] ----------------------------------------------------------
|
// --[ Description ] ----------------------------------------------------------
|
||||||
@@ -28,10 +28,9 @@
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Copyright © 2003-2020 Natalia Portillo
|
// Copyright © 2003-2020 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
ViewData["Title"] = "About";
|
|
||||||
}
|
}
|
||||||
<h2>@ViewData["Title"]</h2>
|
@page "/about"
|
||||||
|
<h2>About</h2>
|
||||||
<h4>Who are we</h4>
|
<h4>Who are we</h4>
|
||||||
<p>We are a non-profit organization with the goal of conserve and restore old computers, video-consoles and arcade machines as well as to expose these machines in an office disposed for that purpose with information about computing history.</p>
|
<p>We are a non-profit organization with the goal of conserve and restore old computers, video-consoles and arcade machines as well as to expose these machines in an office disposed for that purpose with information about computing history.</p>
|
||||||
<h4>Where are we</h4>
|
<h4>Where are we</h4>
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
<div class="main">
|
<div class="main">
|
||||||
<div class="top-row px-4 auth">
|
<div class="top-row px-4 auth">
|
||||||
<LoginDisplay/>
|
<LoginDisplay/>
|
||||||
<a href="https://docs.microsoft.com/aspnet/" target="_blank">@L["About"]</a>
|
<a href="/about" target="_blank">@L["About"]</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content px-4">
|
<div class="content px-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user