Skip to content

Commit f1809b8

Browse files
authored
Refactor project structure and enhance UI styling (#5)
* Moved and cleaned up project structure (removed `AStar.Web.Web`, migrated contents to `AStar.Web`). * Add initial styling and configuration for `AStar.Dev.Web` project * Add basic CSS styles and favicon for `AStar.Dev.Web` project
1 parent 48b6365 commit f1809b8

File tree

64 files changed

+755
-26
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+755
-26
lines changed

AStar.Web.slnx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
<Solution>
2-
<Folder Name="/Solution Items/"/>
2+
<Folder Name="/Solution Items/" />
33
<Folder Name="/Solution Items/.github/">
4-
<File Path=".github\codeql.yml"/>
5-
<File Path=".github\copilot-instructions.md"/>
6-
<File Path=".github\dependabot.yml"/>
4+
<File Path=".github\codeql.yml" />
5+
<File Path=".github\copilot-instructions.md" />
6+
<File Path=".github\dependabot.yml" />
77
</Folder>
88
<Folder Name="/Solution Items/.github/instructions/">
9-
<File Path=".github\instructions\blazor.instructions.md"/>
9+
<File Path=".github\instructions\blazor.instructions.md" />
1010
</Folder>
1111
<Folder Name="/Solution Items/.github/prompts/">
12-
<File Path=".github\prompts\astar.prompt.md"/>
13-
<File Path=".github\prompts\xunit.prompt.md"/>
12+
<File Path=".github\prompts\astar.prompt.md" />
13+
<File Path=".github\prompts\xunit.prompt.md" />
1414
</Folder>
1515
<Folder Name="/Solution Items/.github/workflows/">
16-
<File Path=".github\workflows\main_astar-dev.yml"/>
16+
<File Path=".github\workflows\main_astar-dev.yml" />
1717
</Folder>
18-
<Folder Name="/src/"/>
18+
<Folder Name="/src/" />
1919
<Folder Name="/src/aspire/">
20-
<Project Path="src/aspire/AStar.Web.AppHost/AStar.Web.AppHost.csproj"/>
21-
<Project Path="src/aspire/AStar.Web.ServiceDefaults/AStar.Web.ServiceDefaults.csproj"/>
20+
<Project Path="src/aspire/AStar.Web.AppHost/AStar.Web.AppHost.csproj" />
21+
<Project Path="src/aspire/AStar.Web.ServiceDefaults/AStar.Web.ServiceDefaults.csproj" />
2222
</Folder>
23-
<Folder Name="/src/modules/"/>
23+
<Folder Name="/src/modules/" />
2424
<Folder Name="/src/modules/apis/">
25-
<Project Path="src/modules/apis/AStar.Web.ApiService/AStar.Web.ApiService.csproj"/>
25+
<Project Path="src/modules/apis/AStar.Web.ApiService/AStar.Web.ApiService.csproj" />
2626
</Folder>
2727
<Folder Name="/src/uis/">
28-
<Project Path="src\uis\AStar.Web\AStar.Web.csproj"/>
28+
<Project Path="src\uis\AStar.Dev.Web\AStar.Dev.Web.csproj" />
2929
</Folder>
30-
<Folder Name="/test/"/>
30+
<Folder Name="/test/" />
3131
<Folder Name="/test/aspire/">
32-
<Project Path="test/aspire/AStar.Web.Tests/AStar.Web.Tests.csproj"/>
32+
<Project Path="test/aspire/AStar.Web.Tests/AStar.Web.Tests.csproj" />
3333
</Folder>
3434
</Solution>

src/aspire/AStar.Web.AppHost/AStar.Web.AppHost.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<ItemGroup>
1212
<ProjectReference Include="..\..\modules\apis\AStar.Web.ApiService\AStar.Web.ApiService.csproj"/>
13-
<ProjectReference Include="..\..\uis\AStar.Web\AStar.Web.csproj"/>
13+
<ProjectReference Include="..\..\uis\AStar.Dev.Web\AStar.Dev.Web.csproj" />
1414
</ItemGroup>
1515

1616
</Project>

src/aspire/AStar.Web.AppHost/AppHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
var apiService = builder.AddProject<AStar_Web_ApiService>("apiservice")
66
.WithHttpHealthCheck("/health");
77

8-
builder.AddProject<AStar_Web>("webfrontend")
8+
builder.AddProject<AStar_Dev_Web>("webfrontend")
99
.WithExternalHttpEndpoints()
1010
.WithHttpHealthCheck("/health")
1111
.WithReference(apiService)
File renamed without changes.

src/uis/AStar.Web/Components/App.razor renamed to src/uis/AStar.Dev.Web/Components/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<base href="/"/>
88
<link rel="stylesheet" href="@Assets["lib/bootstrap/dist/css/bootstrap.min.css"]"/>
99
<link rel="stylesheet" href="@Assets["app.css"]"/>
10-
<link rel="stylesheet" href="@Assets["AStar.Web.styles.css"]"/>
10+
<link rel="stylesheet" href="@Assets["AStar.Dev.Web.styles.css"]"/>
1111
<ImportMap/>
1212
<link rel="icon" type="image/png" href="favicon.png"/>
1313
<HeadOutlet/>

src/uis/AStar.Web/Components/Layout/NavMenu.razor renamed to src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="top-row ps-3 navbar navbar-dark">
22
<div class="container-fluid">
3-
<a class="navbar-brand" href="">AStar.Web</a>
3+
<a class="navbar-brand" href="">AStar.Dev.Web</a>
44
</div>
55
</div>
66

0 commit comments

Comments
 (0)