EnVedette!

This commit is contained in:
MarcEricMartel 2022-09-10 11:58:44 -07:00
parent 14bc9b1611
commit 5fec0d3a0b
3 changed files with 15 additions and 2 deletions

View File

@ -15,7 +15,6 @@
</ItemGroup>
<ItemGroup>
<Folder Include="ViewComponents\" />
<Folder Include="ViewModels\" />
<Folder Include="wwwroot\img\" />
<Folder Include="wwwroot\audio\" />

View File

@ -0,0 +1,14 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
namespace GrossesMitaines.ViewComponents {
public class EnVedette : ViewComponent {
public async Task<IViewComponentResult> InvokeAsync() {
return View();
}
}
}

View File

@ -2,8 +2,8 @@
ViewData["Title"] = "Maison";
}
<div class="row"></div>
<div class="container col-10 offset-1 text-primary text-right text-sm-right" style="font-family:Comic Sans MS;">
<h1>Des produits bien commodes faits par des aînées d'expérience.</h1>
</div>
<vc:en-vedette></vc:en-vedette>