Skip to content

Commit 432b339

Browse files
committed
cleaning up and adding sln
1 parent 7646677 commit 432b339

11 files changed

+30
-323
lines changed

Components/Layout/MainLayout.razor

+5-13
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
@inherits LayoutComponentBase
2-
<div class="page">
3-
<div class="sidebar">
4-
<NavMenu />
5-
</div>
62

7-
<main>
8-
<div class="top-row px-4">
9-
<a href="https://learn.microsoft.com/aspnet/core/" target="_blank">About</a>
10-
</div>
3+
<main>
4+
<article>
5+
@Body
6+
</article>
7+
</main>
118

12-
<article class="content px-4">
13-
@Body
14-
</article>
15-
</main>
16-
</div>
-77
Original file line numberDiff line numberDiff line change
@@ -1,77 +0,0 @@
1-
.page {
2-
position: relative;
3-
display: flex;
4-
flex-direction: column;
5-
}
6-
7-
main {
8-
flex: 1;
9-
}
10-
11-
.sidebar {
12-
background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
13-
}
14-
15-
.top-row {
16-
background-color: #f7f7f7;
17-
border-bottom: 1px solid #d6d5d5;
18-
justify-content: flex-end;
19-
height: 3.5rem;
20-
display: flex;
21-
align-items: center;
22-
}
23-
24-
.top-row ::deep a, .top-row ::deep .btn-link {
25-
white-space: nowrap;
26-
margin-left: 1.5rem;
27-
text-decoration: none;
28-
}
29-
30-
.top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
31-
text-decoration: underline;
32-
}
33-
34-
.top-row ::deep a:first-child {
35-
overflow: hidden;
36-
text-overflow: ellipsis;
37-
}
38-
39-
@media (max-width: 640.98px) {
40-
.top-row {
41-
justify-content: space-between;
42-
}
43-
44-
.top-row ::deep a, .top-row ::deep .btn-link {
45-
margin-left: 0;
46-
}
47-
}
48-
49-
@media (min-width: 641px) {
50-
.page {
51-
flex-direction: row;
52-
}
53-
54-
.sidebar {
55-
width: 250px;
56-
height: 100vh;
57-
position: sticky;
58-
top: 0;
59-
}
60-
61-
.top-row {
62-
position: sticky;
63-
top: 0;
64-
z-index: 1;
65-
}
66-
67-
.top-row.auth ::deep a:first-child {
68-
flex: 1;
69-
text-align: right;
70-
width: 0;
71-
}
72-
73-
.top-row, article {
74-
padding-left: 2rem !important;
75-
padding-right: 1.5rem !important;
76-
}
77-
}

Components/Layout/NavMenu.razor

-39
This file was deleted.

Components/Layout/NavMenu.razor.css

-83
This file was deleted.

Components/Pages/Counter.razor

-18
This file was deleted.

Components/Pages/Weather.razor

-57
This file was deleted.

FightingFantasyCompanion.sln

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.7.34221.43
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FightingFantasyCompanion", "FightingFantasyCompanion.csproj", "{42D28C44-5392-40FF-9F43-21EECAE4F792}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{42D28C44-5392-40FF-9F43-21EECAE4F792}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{42D28C44-5392-40FF-9F43-21EECAE4F792}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{42D28C44-5392-40FF-9F43-21EECAE4F792}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{42D28C44-5392-40FF-9F43-21EECAE4F792}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {E34F8071-6E13-4D3D-92F1-234F475C3BD5}
24+
EndGlobalSection
25+
EndGlobal

wwwroot/css/bootstrap/bootstrap.min.css

-7
This file was deleted.

wwwroot/css/bootstrap/bootstrap.min.css.map

-1
This file was deleted.

wwwroot/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>FightingFantasyCompanion</title>
88
<base href="/" />
9-
<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
109
<link rel="stylesheet" href="css/app.css" />
1110
<link rel="icon" type="image/png" href="favicon.png" />
1211
<link href="FightingFantasyCompanion.styles.css" rel="stylesheet" />

wwwroot/sample-data/weather.json

-27
This file was deleted.

0 commit comments

Comments
 (0)