Add fomantic and static files directory

This commit is contained in:
jvyden 2021-11-21 01:29:14 -05:00
commit b05ae76af5
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
5 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<file url="PROJECT" libraries="{sha256}" />
<file url="PROJECT" libraries="{fomantic-ui, sha256}" />
</component>
</project>

View file

@ -22,6 +22,8 @@
<html lang="en">
<head>
<title>Project Lighthouse</title>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/fomantic-ui@2.8.8/dist/semantic.min.css">
<link rel="stylesheet" type="text/css" href="~/css/styles.css">
</head>
<header>
<nav>
@ -41,7 +43,4 @@
<p>This page was generated using a modified version of Project Lighthouse. Please make sure you are properly disclosing the source code to any users who may be using this instance.</p>
}
</footer>
</html>
@* width: 100%; *@
@* bottom: 0; *@
@* position: fixed; *@
</html>

View file

@ -77,6 +77,7 @@ namespace LBPUnion.ProjectLighthouse
webBuilder =>
{
webBuilder.UseStartup<Startup>();
webBuilder.UseWebRoot("StaticFiles");
}
)
.ConfigureLogging

View file

@ -157,6 +157,8 @@ namespace LBPUnion.ProjectLighthouse
app.UseRouting();
app.UseStaticFiles();
app.UseEndpoints(endpoints => endpoints.MapControllers());
app.UseEndpoints(endpoints => endpoints.MapRazorPages());
}