feat(Documents) Notes/Docs page improvements and warning cleanup
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
@layout PageLayout;
|
||||
|
||||
@page "/immortal-home"
|
||||
|
||||
<LayoutMediumContentComponent>
|
||||
<PaperComponent>
|
||||
<div class="mainContainer">
|
||||
<div class="mainTitle">
|
||||
Fan Reference
|
||||
</div>
|
||||
|
||||
<div>
|
||||
Refer to various aspects of "IMMORTAL: Gates of Pyre" from this external reference!
|
||||
</div>
|
||||
</div>
|
||||
</PaperComponent>
|
||||
|
||||
<ContentDividerComponent></ContentDividerComponent>
|
||||
|
||||
<PaperComponent>
|
||||
<div class="heroesContainer">
|
||||
|
||||
<ContentHighlightComponent
|
||||
Title="Database"
|
||||
Description="Review the units!"
|
||||
Href="/database"
|
||||
ImageHref="image/hero/Database.png"/>
|
||||
|
||||
<ContentHighlightComponent
|
||||
Title="Build Calculator"
|
||||
Description="Make a build!"
|
||||
Href="/build-calculator"
|
||||
ImageHref="image/hero/Build.png"/>
|
||||
|
||||
<ContentHighlightComponent
|
||||
Title="Notes"
|
||||
Description="Read some notes!"
|
||||
Href="/notes"
|
||||
ImageHref="image/hero/Notes.png"/>
|
||||
|
||||
<ContentHighlightComponent
|
||||
Title="Streams"
|
||||
Description="Watch live development!"
|
||||
Href="/streams"
|
||||
ImageHref="image/hero/Streams.png"/>
|
||||
</div>
|
||||
</PaperComponent>
|
||||
|
||||
<ContentDividerComponent></ContentDividerComponent>
|
||||
|
||||
<AlertComponent>
|
||||
<Title>Under Construction</Title>
|
||||
<Message>Website is still being made. Check out <NavLink Href="/immortal-roadmap">Road Map</NavLink> for future plans, <NavLink Href="/immortal-agile">Agile</NavLink> for present tasks, and <NavLink Href="/immortal-changelog">Change Log</NavLink> for past changes.</Message>
|
||||
|
||||
</AlertComponent>
|
||||
|
||||
</LayoutMediumContentComponent>
|
||||
|
||||
<style>
|
||||
.mainContainer {
|
||||
padding-bottom: 32px;
|
||||
}
|
||||
|
||||
.mainTitle {
|
||||
font-size: 2.2rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.heroesContainer {
|
||||
display: grid;
|
||||
gap: 64px;
|
||||
justify-content: center;
|
||||
margin: auto;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
|
||||
@@media only screen and (max-width: 1025px) {
|
||||
.heroesContainer {
|
||||
grid-template-columns: 1fr; }
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,76 @@
|
||||
<NavLink Href="@Href" class="contentHighlight">
|
||||
<div class="contentHighlightTitle">
|
||||
@Title
|
||||
</div>
|
||||
<img src="@ImageHref" class="contentHighlightImage" alt="@Title"/>
|
||||
<div class="contentHighlightCallToAction">
|
||||
@Description
|
||||
</div>
|
||||
</NavLink>
|
||||
|
||||
|
||||
<style>
|
||||
.contentHighlight {
|
||||
background-color: var(--paper);
|
||||
border: 1px solid var(--paper-border);
|
||||
border-radius: 2px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
padding-top: 24px;
|
||||
padding-bottom: 24px;
|
||||
color: white;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
text-align: center;
|
||||
margin-left: 12px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.contentHighlight:hover {
|
||||
background-color: var(--paper-hover);
|
||||
border-color: var(--paper-border-hover);
|
||||
text-decoration: none;
|
||||
box-shadow: 0 4px 6px rgba(0,0,0,0.6);
|
||||
transform: translateY(-2px) scale(1.01);
|
||||
}
|
||||
|
||||
|
||||
.contentHighlightTitle {
|
||||
font-weight: 800;
|
||||
font-size: 1.3rem;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.contentHighlightImage {
|
||||
border: 1px solid rgba(0,0,0,0.5);
|
||||
box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
|
||||
height: 400px;
|
||||
width: 400px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.contentHighlightCallToAction {
|
||||
font-weight: 700;
|
||||
font-size: 1.1rem;
|
||||
margin: auto;
|
||||
padding: 16px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@code {
|
||||
|
||||
[Parameter]
|
||||
public string Href { get; set; } = default!;
|
||||
|
||||
[Parameter]
|
||||
public string Title { get; set; } = default!;
|
||||
|
||||
[Parameter]
|
||||
public string Description { get; set; } = default!;
|
||||
|
||||
[Parameter]
|
||||
public string ImageHref { get; set; } = default!;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user