Readjusting the file structuring, moved Pokemon-specific components into respective folder

This commit is contained in:
Kira Jiroux 2025-04-07 13:39:03 -04:00
parent f12217839b
commit 8f1dbebb30
15 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,7 @@
<div id="load"> <!--
https://codepen.io/dissimulate/pen/nmJyyg
-->
<div id="load">
<div>G</div> <div>G</div>
<div>N</div> <div>N</div>
<div>I</div> <div>I</div>

View File

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Portfolio.Domain.Features.Pokemon; using Portfolio.Domain.Features.Pokemon;
namespace Portfolio.WebUI.Server.Components.Component namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
{ {
public partial class PokemonBackground public partial class PokemonBackground
{ {

View File

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Portfolio.Domain.Features.Pokemon; using Portfolio.Domain.Features.Pokemon;
namespace Portfolio.WebUI.Server.Components.Component namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
{ {
public partial class PokemonCard 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"; return $"https://www.serebii.net/pokemonsleep/pokemon/type/{pokemonType.ToLower()}.png";
} }
} }
} }

View File

@ -56,7 +56,6 @@
padding-right: 0.5rem; padding-right: 0.5rem;
margin-top: 3rem !important; margin-top: 3rem !important;
transform: translateX(-50%) !important; transform: translateX(-50%) !important;
display: flex; /* Centers text inside */ display: flex; /* Centers text inside */
align-items: start; align-items: start;
justify-content: center; /* Horizontally centers text */ justify-content: center; /* Horizontally centers text */

View File

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Microsoft.EntityFrameworkCore.Metadata.Internal; using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace Portfolio.WebUI.Server.Components.Component namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
{ {
public partial class PokemonEditButton public partial class PokemonEditButton
{ {

View File

@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.JSInterop; using Microsoft.JSInterop;
using Portfolio.Domain.Features.Pokemon; using Portfolio.Domain.Features.Pokemon;
namespace Portfolio.WebUI.Server.Components.Component namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
{ {
public partial class PokemonTable public partial class PokemonTable
{ {

View File

@ -1,5 +1,6 @@
@page "/pokemonsleep" @page "/pokemonsleep"
@inject IPokemonService PokemonService @inject IPokemonService PokemonService
@attribute [StreamRendering] @attribute [StreamRendering]

View File

@ -9,6 +9,7 @@
@using Portfolio.WebUI.Server @using Portfolio.WebUI.Server
@using Portfolio.WebUI.Server.Components @using Portfolio.WebUI.Server.Components
@using Portfolio.WebUI.Server.Components.Component @using Portfolio.WebUI.Server.Components.Component
@using Portfolio.WebUI.Server.Components.Component.Pokemon_Components
@using Portfolio.Domain.Features.Articles @using Portfolio.Domain.Features.Articles
@using Portfolio.Domain.Features.Pokemon @using Portfolio.Domain.Features.Pokemon
@using Portfolio.Domain.Features.Pokemon_Natures @using Portfolio.Domain.Features.Pokemon_Natures