[backend/razor] Add wordmark to index page
This commit is contained in:
parent
b9be67302c
commit
9be9e05200
2 changed files with 26 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
@page "/"
|
||||
@model IndexModel
|
||||
@* ReSharper disable Html.PathError *@
|
||||
@{
|
||||
ViewData["title"] = $"Home - {Model.InstanceName}";
|
||||
|
||||
|
@ -14,7 +15,12 @@
|
|||
<meta name="og:site_name" content="@Model.InstanceName">
|
||||
}
|
||||
|
||||
<h1>@Model.InstanceName</h1>
|
||||
<div class="header">
|
||||
<h1>@Model.InstanceName</h1>
|
||||
<div class="wordmark">
|
||||
<img src="~/_content/Iceshrimp.Assets.Branding/welcome-logo.svg" alt="Iceshrimp"/>
|
||||
</div>
|
||||
</div>
|
||||
<p>@Model.InstanceDescription</p>
|
||||
|
||||
@if (Model.ContactEmail != null)
|
||||
|
|
19
Iceshrimp.Backend/Pages/Index.cshtml.css
Normal file
19
Iceshrimp.Backend/Pages/Index.cshtml.css
Normal file
|
@ -0,0 +1,19 @@
|
|||
.header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
margin-top: 24px;
|
||||
margin-bottom: 12px;
|
||||
flex-wrap: wrap-reverse;
|
||||
gap: 0 12px;
|
||||
}
|
||||
|
||||
.header>h1 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.header>.wordmark {
|
||||
width: 160px;
|
||||
line-height: 0;
|
||||
padding-bottom: 4px;
|
||||
}
|
Loading…
Add table
Reference in a new issue