mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-25 10:49:01 +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"?>
|
||||
<project version="4">
|
||||
<component name="JavaScriptLibraryMappings">
|
||||
<file url="PROJECT" libraries="{sha256}" />
|
||||
<file url="PROJECT" libraries="{fomantic-ui, sha256}" />
|
||||
</component>
|
||||
</project>
|
|
@ -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>
|
||||
|
@ -42,6 +44,3 @@
|
|||
}
|
||||
</footer>
|
||||
</html>
|
||||
@* width: 100%; *@
|
||||
@* bottom: 0; *@
|
||||
@* position: fixed; *@
|
|
@ -77,6 +77,7 @@ namespace LBPUnion.ProjectLighthouse
|
|||
webBuilder =>
|
||||
{
|
||||
webBuilder.UseStartup<Startup>();
|
||||
webBuilder.UseWebRoot("StaticFiles");
|
||||
}
|
||||
)
|
||||
.ConfigureLogging
|
||||
|
|
|
@ -157,6 +157,8 @@ namespace LBPUnion.ProjectLighthouse
|
|||
|
||||
app.UseRouting();
|
||||
|
||||
app.UseStaticFiles();
|
||||
|
||||
app.UseEndpoints(endpoints => endpoints.MapControllers());
|
||||
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