Merge branch 'develop' into main
This commit is contained in:
@@ -0,0 +1,77 @@
|
|||||||
|
@inject IVariableService VariableService
|
||||||
|
|
||||||
|
<div class="footerContainer" xmlns="http://www.w3.org/1999/html">
|
||||||
|
<div class="footerSocials">
|
||||||
|
|
||||||
|
<a class="footerIcon" href="https://github.com/JonathanMcCaffrey/IGP-Fan-Reference/discussions" target="_blank">
|
||||||
|
<i class="fa-brands fa-github"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="footerIcon" href="mailto:igpfanreference@jonathanmccaffrey.com" target="_blank">
|
||||||
|
<i class="fa-solid fa-envelope"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="footerIcon" href="https://discord.gg/uMq8bMGeeN" target="_blank">
|
||||||
|
<i class="fa-brands fa-discord"></i>
|
||||||
|
</a>
|
||||||
|
<a class="footerIcon" href="https://www.youtube.com/channel/UCQx88d5C12yp4l7uszNYrdQ" target="_blank">
|
||||||
|
<i class="fa-brands fa-youtube"></i>
|
||||||
|
</a>
|
||||||
|
<a class="footerIcon" href="https://www.twitch.tv/jonathanmccaffrey" target="_blank">
|
||||||
|
<i class="fa-brands fa-twitch"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="footerLastUpdated">Website updated <a href="https://github.com/JonathanMcCaffrey/IGP-Fan-Reference/commits/main"><b>@VariableService.Variables["LastUpdated"]</b></a></div>
|
||||||
|
<div class="footerDisclaimer">
|
||||||
|
This website is fan-made and not affiliated with SunSpear Games in any way.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.footerIcon {
|
||||||
|
font-size: 24px;
|
||||||
|
padding: 8px;
|
||||||
|
background-color: rgba(255,255,255,0.05);
|
||||||
|
border: 2px solid rgba(255,255,255,0.1);
|
||||||
|
border-radius: 6px;
|
||||||
|
line-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerIcon:hover {
|
||||||
|
color: #8fc5ff;
|
||||||
|
background-color: rgba(200,200,255,0.1);
|
||||||
|
border: 2px solid rgba(140,140,255,0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.footerContainer {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
padding-top: 8px;
|
||||||
|
padding-bottom: 102px;
|
||||||
|
gap: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerSocials {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
gap: 16px;
|
||||||
|
justify-content: center;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerLastUpdated {
|
||||||
|
text-align: center;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footerDisclaimer {
|
||||||
|
text-align: center;
|
||||||
|
margin: auto;
|
||||||
|
margin-top: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
Binary file not shown.
@@ -1,6 +1,4 @@
|
|||||||
@inherits LayoutComponentBase
|
@inherits LayoutComponentBase
|
||||||
@inject IJSRuntime JsRuntime
|
|
||||||
|
|
||||||
@inject ISearchService SearchService
|
@inject ISearchService SearchService
|
||||||
@inject IWebsiteService WebService
|
@inject IWebsiteService WebService
|
||||||
@inject IDataCollectionService DataCollectionService
|
@inject IDataCollectionService DataCollectionService
|
||||||
@@ -27,11 +25,16 @@
|
|||||||
WebPages=WebService.WebPageModels/>
|
WebPages=WebService.WebPageModels/>
|
||||||
<MobileNavComponent WebSections=WebService.WebSectionModels
|
<MobileNavComponent WebSections=WebService.WebSectionModels
|
||||||
WebPages=WebService.WebPageModels/>
|
WebPages=WebService.WebPageModels/>
|
||||||
|
|
||||||
|
|
||||||
|
<FooterComponent/>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
|
|
||||||
protected override void OnInitialized()
|
protected override void OnInitialized()
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
[{"Key":"GamePatch","Value":"v0.0.6.9553a"}]
|
[{"Key":"GamePatch","Value":"v0.0.6.9553a"},{"Key":"LastUpdated","Value":"May 02, 2022"}]
|
||||||
@@ -28,5 +28,7 @@ using (var db = new DatabaseContext(options.Options))
|
|||||||
File.WriteAllTextAsync($"{webPath}/NoteConnectionModels.json", JsonSerializer.Serialize(db.NoteConnectionModels));
|
File.WriteAllTextAsync($"{webPath}/NoteConnectionModels.json", JsonSerializer.Serialize(db.NoteConnectionModels));
|
||||||
File.WriteAllTextAsync($"{webPath}/NoteSectionModels.json", JsonSerializer.Serialize(db.NoteSectionModels));
|
File.WriteAllTextAsync($"{webPath}/NoteSectionModels.json", JsonSerializer.Serialize(db.NoteSectionModels));
|
||||||
|
|
||||||
|
// Set date variable
|
||||||
|
db.Variables.Find("LastUpdated")!.Value = $"{DateTime.Now:MMMM dd, yyyy}";
|
||||||
File.WriteAllTextAsync($"{webPath}/Variables.json", JsonSerializer.Serialize(db.Variables));
|
File.WriteAllTextAsync($"{webPath}/Variables.json", JsonSerializer.Serialize(db.Variables));
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user