Skip to content

Commit

Permalink
Apply several changes
Browse files Browse the repository at this point in the history
  • Loading branch information
monambike committed Mar 14, 2024
1 parent 120a257 commit a67c51e
Show file tree
Hide file tree
Showing 37 changed files with 271 additions and 250 deletions.
12 changes: 12 additions & 0 deletions src/Monambike.Links/App.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<p role="alert">Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
</Router>
3 changes: 3 additions & 0 deletions src/Monambike.Links/Layout/MainLayout.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@inherits LayoutComponentBase

@Body

This file was deleted.

5 changes: 0 additions & 5 deletions src/Monambike.Links/Monambike.Links.Client/Program.cs

This file was deleted.

20 changes: 20 additions & 0 deletions src/Monambike.Links/Monambike.Links.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.2" PrivateAssets="all" />
<PackageReference Include="Monambike.Core" Version="1.4.1" />
</ItemGroup>

<ItemGroup>
<ServiceWorker Include="wwwroot\service-worker.js" PublishedContent="wwwroot\service-worker.published.js" />
</ItemGroup>

</Project>
27 changes: 0 additions & 27 deletions src/Monambike.Links/Monambike.Links/Components/App.razor

This file was deleted.

This file was deleted.

This file was deleted.

36 changes: 0 additions & 36 deletions src/Monambike.Links/Monambike.Links/Components/Pages/Error.razor

This file was deleted.

6 changes: 0 additions & 6 deletions src/Monambike.Links/Monambike.Links/Components/Routes.razor

This file was deleted.

11 changes: 0 additions & 11 deletions src/Monambike.Links/Monambike.Links/Components/_Imports.razor

This file was deleted.

19 changes: 0 additions & 19 deletions src/Monambike.Links/Monambike.Links/Monambike.Links.csproj

This file was deleted.

32 changes: 0 additions & 32 deletions src/Monambike.Links/Monambike.Links/Program.cs

This file was deleted.

41 changes: 0 additions & 41 deletions src/Monambike.Links/Monambike.Links/Properties/launchSettings.json

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions src/Monambike.Links/Monambike.Links/appsettings.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
<img class="profile-picture" src="images/profile-picture.jpg" alt="Photo from Vinicius Gabriel." />
<h1>Vinícius Gabriel</h1>
<h2>@@monambike</h2>
<span class="description">Hello :) I'm a Software Developer now willing to be a Game Designer and 3D model animator.</span>
<p class="description">Hello :) I'm a Software Developer now willing to be a Game Designer and 3D model animator.</p>
<span><a href="@Emails.Contact.Link">@Emails.Contact</a></span>
</header>
<hr/>
<hr />
<section class="acrylic shadow">
<h3 class="solid shadow">Links Gamers</h3>
<ul>
Expand All @@ -31,7 +32,7 @@
<span>Canal de Lives e Shorts</span>
</div>
</div>
</a>
</a>
</li>
<li>
<a target="_blank" rel="nofollow" href="@Links.InstagramMonambike">
Expand Down
11 changes: 11 additions & 0 deletions src/Monambike.Links/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Monambike.Links;

var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");

builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });

await builder.Build().RunAsync();
41 changes: 41 additions & 0 deletions src/Monambike.Links/Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:26278",
"sslPort": 44309
}
},
"profiles": {
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "http://localhost:5270",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:7046;http://localhost:5270",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.AspNetCore.Components.WebAssembly.Http
@using Microsoft.JSInterop
@using Monambike.Links.Client
@using Monambike.Links
@using Monambike.Links.Layout
Loading

0 comments on commit a67c51e

Please sign in to comment.