Skip to content

Commit

Permalink
Update project packages, warning levels and links
Browse files Browse the repository at this point in the history
  • Loading branch information
monambike committed Feb 24, 2024
1 parent 3751df0 commit 358a53e
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 26 deletions.
12 changes: 8 additions & 4 deletions src/Monambike.Web/Monambike.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
<ApplicationIcon>wwwroot\images\favicon.ico</ApplicationIcon>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<WarningLevel>9999</WarningLevel>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<WarningLevel>9999</WarningLevel>
</PropertyGroup>

<ItemGroup>
<Compile Remove="Utilities\Project.cs" />
</ItemGroup>
Expand Down Expand Up @@ -76,8 +84,4 @@
</None>
</ItemGroup>

<ItemGroup>
<Folder Include="Redirects\" />
</ItemGroup>

</Project>
9 changes: 0 additions & 9 deletions src/Monambike.Web/Pages/Discord.razor

This file was deleted.

2 changes: 1 addition & 1 deletion src/Monambike.Web/Pages/Home/Contact.razor
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
você pode ver no meu <a target="_blank" rel="nofollow" href="@Links.GitHub">GitHub</a>.
</p>
<p>
Você também pode me contatar através do meu e-mail <a href="mailto:contact@monambike.com">vinicius_gabriel258@hotmail.com</a>.
Você também pode me contatar através do meu e-mail <a href="@Emails.MonambikeContact">@Emails.MonambikeContact</a>.

Check failure on line 12 in src/Monambike.Web/Pages/Home/Contact.razor

View workflow job for this annotation

GitHub Actions / build

The name 'Emails' does not exist in the current context

Check failure on line 12 in src/Monambike.Web/Pages/Home/Contact.razor

View workflow job for this annotation

GitHub Actions / build

The name 'Emails' does not exist in the current context
</p>
</div>
</section>
8 changes: 5 additions & 3 deletions src/Monambike.Web/Pages/Home/Tour.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<section class="site-section site-section--tour">
@using Monambike.Core.Data;

<section class="site-section site-section--tour">
<h2 class="site-section--title">POR ONDE COMEÇAR?</h2>
<div class="site-section--body">
<!-- Left Column -->
Expand All @@ -14,7 +16,7 @@
</a>

<!-- Center Column -->
<a href="https://blog.monambike.com" target="_blank">
<a href="@Links.WebsiteBlog" target="_blank">
<div class="three-columns three-columns--intern-column site-section--tour--intern-column">
<h3 class="column-title">Blog</h3>
<p>Dar uma passadinha do meu blog.</p>
Expand All @@ -25,7 +27,7 @@
</a>

<!-- Right Column -->
<a href="https://studies.monambike.com" target="_blank">
<a href="@Links.WebsiteLearn" target="_blank">
<div class="three-columns three-columns site-section--tour--extern-column">
<h3 class="column-title">Notas e Estudos</h3>
<p>Consultar minhas anotações e guias de referência que eu uso pra estudo.</p>
Expand Down
9 changes: 0 additions & 9 deletions src/Monambike.Web/Pages/Patreon.razor

This file was deleted.

7 changes: 7 additions & 0 deletions src/Monambike.Web/Redirects/Discord.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@page "/discord"
@using Monambike.Core.Data;
@inject NavigationManager NavManager

@code {
protected override void OnInitialized() => NavManager.NavigateTo($"{Links.DiscordServer}");

Check failure on line 6 in src/Monambike.Web/Redirects/Discord.razor

View workflow job for this annotation

GitHub Actions / build

'Links' does not contain a definition for 'DiscordServer'
}
7 changes: 7 additions & 0 deletions src/Monambike.Web/Redirects/Patreon.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@page "/patreon"
@using Monambike.Core.Data;
@inject NavigationManager NavManager

@code {
protected override void OnInitialized() => NavManager.NavigateTo($"{Links.Patreon}");

Check failure on line 6 in src/Monambike.Web/Redirects/Patreon.razor

View workflow job for this annotation

GitHub Actions / build

'Links' does not contain a definition for 'Patreon'
}

0 comments on commit 358a53e

Please sign in to comment.