mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-25 18:59:07 +00:00
Add fomantic and static files directory
This commit is contained in:
parent
f7cea5bec2
commit
b05ae76af5
5 changed files with 7 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="JavaScriptLibraryMappings">
|
<component name="JavaScriptLibraryMappings">
|
||||||
<file url="PROJECT" libraries="{sha256}" />
|
<file url="PROJECT" libraries="{fomantic-ui, sha256}" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
|
@ -22,6 +22,8 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>Project Lighthouse</title>
|
<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>
|
</head>
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<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>
|
<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>
|
</footer>
|
||||||
</html>
|
</html>
|
||||||
@* width: 100%; *@
|
|
||||||
@* bottom: 0; *@
|
|
||||||
@* position: fixed; *@
|
|
|
@ -77,6 +77,7 @@ namespace LBPUnion.ProjectLighthouse
|
||||||
webBuilder =>
|
webBuilder =>
|
||||||
{
|
{
|
||||||
webBuilder.UseStartup<Startup>();
|
webBuilder.UseStartup<Startup>();
|
||||||
|
webBuilder.UseWebRoot("StaticFiles");
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.ConfigureLogging
|
.ConfigureLogging
|
||||||
|
|
|
@ -157,6 +157,8 @@ namespace LBPUnion.ProjectLighthouse
|
||||||
|
|
||||||
app.UseRouting();
|
app.UseRouting();
|
||||||
|
|
||||||
|
app.UseStaticFiles();
|
||||||
|
|
||||||
app.UseEndpoints(endpoints => endpoints.MapControllers());
|
app.UseEndpoints(endpoints => endpoints.MapControllers());
|
||||||
app.UseEndpoints(endpoints => endpoints.MapRazorPages());
|
app.UseEndpoints(endpoints => endpoints.MapRazorPages());
|
||||||
}
|
}
|
||||||
|
|
0
ProjectLighthouse/StaticFiles/css/styles.css
Normal file
0
ProjectLighthouse/StaticFiles/css/styles.css
Normal file
Loading…
Add table
Add a link
Reference in a new issue