mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
We got a gallery.
This commit is contained in:
parent
7419fc75a5
commit
60f4de0fdc
@ -1,4 +1,5 @@
|
|||||||
<div class="item" style="background-image: url(@ImageURL);">
|
<div class="item">
|
||||||
|
<img src="@ImageURL" alt="@Title Image">
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<div class="title">@Title</div>
|
<div class="title">@Title</div>
|
||||||
<div class="description">@Description</div>
|
<div class="description">@Description</div>
|
||||||
|
@ -1,7 +1,16 @@
|
|||||||
.item {
|
.item {
|
||||||
width: 150px;
|
width: 400px;
|
||||||
height: 100px;
|
height: 400px;
|
||||||
border-radius: 0.75rem;
|
border-radius: 0.75rem;
|
||||||
|
overflow: hidden;
|
||||||
|
margin: 1rem;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: 225px;
|
||||||
|
object-fit: cover;
|
||||||
|
border-radius: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
.title {
|
.title {
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<nav>
|
<nav>
|
||||||
<a href="">Home</a>
|
<a href="">Home</a>
|
||||||
<a href="/gallery">Gallery</a>
|
<a href="/gallery">Gallery</a>
|
||||||
|
<a href="">Install</a>
|
||||||
<a href="">Compile</a>
|
<a href="">Compile</a>
|
||||||
<a href="">Settings</a>
|
<a href="">Settings</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<div id="content">
|
<div id="content">
|
||||||
@foreach (ModListItem item in listItems)
|
@foreach (ModListItem item in listItems)
|
||||||
{
|
{
|
||||||
<ModListItem ImageURL=@item.ImageURL Title=@item.Title Description=@item.Description></ModListItem>
|
<ModlistItem ImageURL=@item.ImageURL Title=@item.Title Description=@item.Description></ModlistItem>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
6
Wabbajack.App.Blazor/Pages/Gallery.razor.scss
Normal file
6
Wabbajack.App.Blazor/Pages/Gallery.razor.scss
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#content {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: row wrap;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
}
|
@ -1,13 +1,4 @@
|
|||||||
@using Wabbajack.Paths.IO
|
@page "/"
|
||||||
@using Wabbajack.Paths
|
|
||||||
@using System;
|
|
||||||
@using System.Collections.Generic;
|
|
||||||
@using System.Text.Json;
|
|
||||||
@using Wabbajack.Common
|
|
||||||
@using Newtonsoft.Json;
|
|
||||||
@using Newtonsoft.Json.Linq
|
|
||||||
|
|
||||||
@page "/"
|
|
||||||
@layout Shared.MainLayout
|
@layout Shared.MainLayout
|
||||||
<News/>
|
<News/>
|
||||||
<div id="content"></div>
|
<div id="content"></div>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<Sidebar/>
|
<Sidebar/>
|
||||||
<div class="content">
|
<div class="page">
|
||||||
@Body
|
@Body
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.page {
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
flex: 1 1 0;
|
flex: 1 1 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user