Readjusting the file structuring, moved Pokemon-specific components into respective folder
This commit is contained in:
parent
f12217839b
commit
8f1dbebb30
|
@ -1,4 +1,7 @@
|
|||
<div id="load">
|
||||
<!--
|
||||
https://codepen.io/dissimulate/pen/nmJyyg
|
||||
-->
|
||||
<div id="load">
|
||||
<div>G</div>
|
||||
<div>N</div>
|
||||
<div>I</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using Microsoft.AspNetCore.Components;
|
||||
using Portfolio.Domain.Features.Pokemon;
|
||||
|
||||
namespace Portfolio.WebUI.Server.Components.Component
|
||||
namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
|
||||
{
|
||||
public partial class PokemonBackground
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
using Microsoft.AspNetCore.Components;
|
||||
using Portfolio.Domain.Features.Pokemon;
|
||||
|
||||
namespace Portfolio.WebUI.Server.Components.Component
|
||||
namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
|
||||
{
|
||||
public partial class PokemonCard
|
||||
{
|
||||
|
@ -36,7 +36,5 @@ namespace Portfolio.WebUI.Server.Components.Component
|
|||
|
||||
return $"https://www.serebii.net/pokemonsleep/pokemon/type/{pokemonType.ToLower()}.png";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -56,7 +56,6 @@
|
|||
padding-right: 0.5rem;
|
||||
margin-top: 3rem !important;
|
||||
transform: translateX(-50%) !important;
|
||||
|
||||
display: flex; /* Centers text inside */
|
||||
align-items: start;
|
||||
justify-content: center; /* Horizontally centers text */
|
|
@ -1,7 +1,7 @@
|
|||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Internal;
|
||||
|
||||
namespace Portfolio.WebUI.Server.Components.Component
|
||||
namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
|
||||
{
|
||||
public partial class PokemonEditButton
|
||||
{
|
|
@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Metadata.Internal;
|
|||
using Microsoft.JSInterop;
|
||||
using Portfolio.Domain.Features.Pokemon;
|
||||
|
||||
namespace Portfolio.WebUI.Server.Components.Component
|
||||
namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
|
||||
{
|
||||
public partial class PokemonTable
|
||||
{
|
|
@ -1,5 +1,6 @@
|
|||
@page "/pokemonsleep"
|
||||
|
||||
|
||||
@inject IPokemonService PokemonService
|
||||
|
||||
@attribute [StreamRendering]
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
@using Portfolio.WebUI.Server
|
||||
@using Portfolio.WebUI.Server.Components
|
||||
@using Portfolio.WebUI.Server.Components.Component
|
||||
@using Portfolio.WebUI.Server.Components.Component.Pokemon_Components
|
||||
@using Portfolio.Domain.Features.Articles
|
||||
@using Portfolio.Domain.Features.Pokemon
|
||||
@using Portfolio.Domain.Features.Pokemon_Natures
|
||||
|
|
Loading…
Reference in New Issue