Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions src/BookStore.Presentation/MVC/MVC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<Compile Remove="wwwroot\AuthorsProfileImage\**" />
<Compile Remove="wwwroot\BookPhoto\**" />
<Content Remove="wwwroot\AuthorsProfileImage\**" />
<Content Remove="wwwroot\BookPhoto\**" />
<EmbeddedResource Remove="wwwroot\AuthorsProfileImage\**" />
<EmbeddedResource Remove="wwwroot\BookPhoto\**" />
<None Remove="wwwroot\AuthorsProfileImage\**" />
<None Remove="wwwroot\BookPhoto\**" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="MediatR" Version="11.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.3">
Expand All @@ -21,9 +32,6 @@
</ItemGroup>

<ItemGroup>
<Folder Include="wwwroot\Books\" />
<Folder Include="wwwroot\BookPhoto\" />
<Folder Include="wwwroot\AuthorsProfileImage\" />
<Folder Include="wwwroot\UserProfileImage\" />
</ItemGroup>

Expand Down
35 changes: 30 additions & 5 deletions src/BookStore.Presentation/MVC/Views/Auth/Register.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,38 @@
<label asp-for="ConfirmPassword" class="form-label">Confirm Password</label>
<input required asp-for="ConfirmPassword" type="password" class="form-control" id="exampleInputPassword1">
</div>
</div>

<button asp-controller="Auth" asp-action="Register" formmethod="post" type="submit" class="btn btn-primary">Register</button>
</form>

<style>
.container-form {
width: 50%;
margin: 0 auto;
.move{
display:flex;
justify-content:center;
width: 100%;
height: 80vh;
/* background-image: url('../assets/boook.png'); */
background-size: cover;
background-position: center;

background-repeat: no-repeat;
}
.move-img{
position: absolute;
width: 100%;
height: 79.5%;
z-index: -1;
}
.forma{
width: 55%;
}
.back{
display: flex;
justify-content: center;
background-image: url('../assets/book2.jfif');
background-size: cover;
backdrop-filter: blur(20px);
background-position: center;
background-repeat: no-repeat;
width:35%;
}
</style>
2 changes: 1 addition & 1 deletion src/BookStore.Presentation/MVC/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"BotToken": "7040566448:AAGuJLoJsg8xqAAW4yWGPkZDR6PIxBlU0ns",
"ConnectionStrings": {
"SQLServer": "Data Source=(localdb)\\MSSQLLocalDB;Initial Catalog=BookStore.MVC.DB;",
"Postgres": "Host=localhost;Port=5432;Username=postgres;Password=postgres;Database=BookStore.DB"
"Postgres": "Host=localhost;Port=5432;Username=postgres;Password=admin;Database=BookStoree.DB"
},
"Serilog": {
"Using": [ "Serilog.Sinks.File" ],
Expand Down
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/BookStore.Presentation/MVC/wwwroot/css/Register.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@