Removed old version

This commit is contained in:
thatscringebro
2023-01-04 22:35:41 -05:00
parent a05768f405
commit b6f8b40027
4384 changed files with 13028 additions and 261231 deletions

15
Pages/Contact.cshtml Normal file
View File

@@ -0,0 +1,15 @@
@page
@model MyApp.Namespace.ContactModel
@{
}
<div class="row text-center">
<h1>Me contacter</h1>
<hr class="dessous_titre"/>
</div>
<div class="row text-center">
<p>Vous pouvez me contacter par téléphone et par courrier électronique<br></p>
<i class="fa fa-phone contact" aria-hidden="true"><a href="tel:+4502780433" class="tel" style="font-family: JetBrains_Mono;">(450)278-0433</a></i>
<i class="fa fa-envelope contact" aria-hidden="true"> <a href="mailto:merlinge@tutanota.com" class="mail" style="font-family: JetBrains_Mono;">merlinge@tutanota.com</a></i>
<p style="font-size: 0.6em;"><br><br><br>**Prévoir de 3 à 5 jours ouvrables pour recevoir une réponse**</p>
</div>

12
Pages/Contact.cshtml.cs Normal file
View File

@@ -0,0 +1,12 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace MyApp.Namespace
{
public class ContactModel : PageModel
{
public void OnGet()
{
}
}
}

26
Pages/Error.cshtml Normal file
View File

@@ -0,0 +1,26 @@
@page
@model ErrorModel
@{
ViewData["Title"] = "Error";
}
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>
@if (Model.ShowRequestId)
{
<p>
<strong>Request ID:</strong> <code>@Model.RequestId</code>
</p>
}
<h3>Development Mode</h3>
<p>
Swapping to the <strong>Development</strong> environment displays detailed information about the error that occurred.
</p>
<p>
<strong>The Development environment shouldn't be enabled for deployed applications.</strong>
It can result in displaying sensitive information from exceptions to end users.
For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
and restarting the app.
</p>

27
Pages/Error.cshtml.cs Normal file
View File

@@ -0,0 +1,27 @@
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace MyWebsite.Pages;
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
[IgnoreAntiforgeryToken]
public class ErrorModel : PageModel
{
public string? RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
private readonly ILogger<ErrorModel> _logger;
public ErrorModel(ILogger<ErrorModel> logger)
{
_logger = logger;
}
public void OnGet()
{
RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
}
}

10
Pages/Index.cshtml Normal file
View File

@@ -0,0 +1,10 @@
@page
@model IndexModel
@{
ViewData["Title"] = "Home page";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>

19
Pages/Index.cshtml.cs Normal file
View File

@@ -0,0 +1,19 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace MyWebsite.Pages;
public class IndexModel : PageModel
{
private readonly ILogger<IndexModel> _logger;
public IndexModel(ILogger<IndexModel> logger)
{
_logger = logger;
}
public void OnGet()
{
}
}

9
Pages/Objectif.cshtml Normal file
View File

@@ -0,0 +1,9 @@
@page
@model MyApp.Namespace.ObjectifModel
@{
}
<div class="row text-center">
<h1>Mes objectifs</h1>
<hr class="dessous_titre"/>
</div>

12
Pages/Objectif.cshtml.cs Normal file
View File

@@ -0,0 +1,12 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace MyApp.Namespace
{
public class ObjectifModel : PageModel
{
public void OnGet()
{
}
}
}

9
Pages/Portfolio.cshtml Normal file
View File

@@ -0,0 +1,9 @@
@page
@model MyApp.Namespace.PortfolioModel
@{
}
<div class="row text-center">
<h1>Mes projets</h1>
<hr class="dessous_titre"/>
</div>

12
Pages/Portfolio.cshtml.cs Normal file
View File

@@ -0,0 +1,12 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace MyApp.Namespace
{
public class PortfolioModel : PageModel
{
public void OnGet()
{
}
}
}

8
Pages/Privacy.cshtml Normal file
View File

@@ -0,0 +1,8 @@
@page
@model PrivacyModel
@{
ViewData["Title"] = "Privacy Policy";
}
<h1>@ViewData["Title"]</h1>
<p>Use this page to detail your site's privacy policy.</p>

19
Pages/Privacy.cshtml.cs Normal file
View File

@@ -0,0 +1,19 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace MyWebsite.Pages;
public class PrivacyModel : PageModel
{
private readonly ILogger<PrivacyModel> _logger;
public PrivacyModel(ILogger<PrivacyModel> logger)
{
_logger = logger;
}
public void OnGet()
{
}
}

View File

@@ -0,0 +1,79 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - MyWebsite</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/MyWebsite.styles.css" asp-append-version="true" />
<link rel="stylesheet" href="~/lib/FontAwesome/css/all.css">
</head>
<body>
<div class="container">
<header>
<div class="row GradientText header">
<div class="col">
<a asp-area="" asp-page="/Index"><img src="~/Content/Logo.png" class="logo"/></a>
</div>
<div class="col menu">
<ul>
<li><a asp-area="" asp-page="/Index" class="GradientText"><button class="btn-hover color-1">Accueil</button></a></li>
<li><a asp-area="" asp-page="/Technologies" class="GradientText"><button class="btn-hover color-1">Technologies</button></a></li>
<li><a asp-area="" asp-page="/Portfolio" class="GradientText"><button class="btn-hover color-1">Projets</button></a></li>
<li><a asp-area="" asp-page="/Objectif" class="GradientText"><button class="btn-hover color-1">Objectifs</button></a></li>
<li><a asp-area="" asp-page="/Contact" class="GradientText"><button class="btn-hover color-1">Contact</button></a></li>
</ul>
</div>
</div>
<hr/>
</header>
<div class="row GradientBorder">
<main role="main" class="pb-3">
@RenderBody()
</main>
</div>
<footer id="footer">
<hr/>
<div class="row Glow">
<ul>
<li>
<a href="https://github.com/thatscringebro">
<i class="fab fa-github"></i>
</a>
</li>
<li>
<a href="https://gitlab.com/thatscringebro">
<i class="fab fa-gitlab"></i>
</a>
</li>
<li>
<a href="https://www.linkedin.com/in/merlin-g%C3%A9linas-4b5200243/">
<i class="fab fa-linkedin-in"></i>
</a>
</li>
<li>
<a href="https://www.facebook.com/merlin.gelinas.1">
<i class="fab fa-facebook"></i>
</a>
</li>
</ul>
</div>
<div class="row">
<i class="fa fa-phone" aria-hidden="true" style="margin-bottom: 0.2em;"> <a href="tel:+4502780433" class="tel" style="font-family: JetBrains_Mono;">(450)278-0433</a></i>
<i class="fa fa-envelope" aria-hidden="true"> <a href="mailto:merlinge@tutanota.com" class="mail" style="font-family: JetBrains_Mono;">merlinge@tutanota.com</a></i>
</div>
<hr class="Copyright"/>
<div class="row">
<p>Copyright © 2022 Merlin Gélinas</p>
</div>
</footer>
</div>
<script src="~/lib/jquery/dist/jquery.min.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script>
@await RenderSectionAsync("Scripts", required: false)
</body>
</html>

View File

@@ -0,0 +1,48 @@
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
a.navbar-brand {
white-space: normal;
text-align: center;
word-break: break-all;
}
a {
color: #0077cc;
}
.btn-primary {
color: #fff;
background-color: #1b6ec2;
border-color: #1861ac;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
color: #fff;
background-color: #1b6ec2;
border-color: #1861ac;
}
.border-top {
border-top: 1px solid #e5e5e5;
}
.border-bottom {
border-bottom: 1px solid #e5e5e5;
}
.box-shadow {
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}
button.accept-policy {
font-size: 1rem;
line-height: inherit;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
white-space: nowrap;
line-height: 60px;
}

View File

@@ -0,0 +1,2 @@
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>

View File

@@ -0,0 +1,9 @@
@page
@model MyApp.Namespace.TechnologiesModel
@{
}
<div class="row text-center">
<h1>Technologies</h1>
<hr class="dessous_titre"/>
</div>

View File

@@ -0,0 +1,12 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace MyApp.Namespace
{
public class TechnologiesModel : PageModel
{
public void OnGet()
{
}
}
}

View File

@@ -0,0 +1,3 @@
@using MyWebsite
@namespace MyWebsite.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

3
Pages/_ViewStart.cshtml Normal file
View File

@@ -0,0 +1,3 @@
@{
Layout = "_Layout";
}