generated from Game-as-a-Service/Gaas-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
61 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
|
||
<svg width="100%" height="100%" viewBox="0 0 @Data.TotalWidth @Data.TotalHeight" version="1.1" | ||
xmlns="http://www.w3.org/2000/svg"> | ||
@foreach (var (row, row_index) in Data.Blocks.Select((item, index) => (item, index))) | ||
{ | ||
@foreach (var (block, index) in row.Select((item, index) => (item, index))) | ||
@if (Data is not null) | ||
{ | ||
<svg width="@Width" height="@Height" viewBox="0 0 @Data.TotalWidth @Data.TotalHeight" version="1.1" | ||
xmlns="http://www.w3.org/2000/svg"> | ||
@foreach (var (row, row_index) in Data.Blocks.Select((item, index) => (item, index))) | ||
{ | ||
if (block is null) | ||
{ | ||
continue; | ||
} | ||
<SvgBlock Block="@block" Width="@Data.BlockWidth" Height="@Data.BlockHeight" /> | ||
@foreach (var (block, index) in row.Select((item, index) => (item, index))) | ||
{ | ||
if (block is null) | ||
{ | ||
continue; | ||
} | ||
<SvgBlock Block="@block" Width="@Data.BlockWidth" Height="@Data.BlockHeight" /> | ||
} | ||
} | ||
} | ||
</svg> | ||
</svg> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace Client.Options; | ||
|
||
public class BackendApiOptions | ||
{ | ||
public string BaseUrl { get; set; } = default!; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
@page "/{id}" | ||
@using Client.Components | ||
@if (blazorMap is not null) | ||
{ | ||
<Map Data="@blazorMap" /> | ||
} | ||
<svg width="100%" height="100vh" | ||
version="1.1" | ||
xmlns="http://www.w3.org/2000/svg"> | ||
|
||
<Map Data="@blazorMap" Height="80%" /> | ||
|
||
</svg> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"BackendApiOptions": { | ||
"BaseUrl": "https://localhost:3826/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |