Just needed to update url extensions. Back to responsive styling

This commit is contained in:
Kira Jiroux 2025-09-30 17:57:01 -04:00
parent f10e2941ab
commit e45d80143c
15 changed files with 27 additions and 27 deletions

View File

@ -9,7 +9,7 @@ namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
private void EditPokemon(int PokemonId) private void EditPokemon(int PokemonId)
{ {
Navigation.NavigateTo($"/pokemonsleep/edit-pokemon/{PokemonId}"); Navigation.NavigateTo($"/pokemon-sleep/edit-pokemon/{PokemonId}");
} }
} }
} }

View File

@ -3,7 +3,7 @@
<div class="row btn-group d-flex justify-content-end" > <div class="row btn-group d-flex justify-content-end" >
<!-- Home --> <!-- Home -->
<button class="btn btn-primary mx-1 align-content-center" style="border-radius: 50px 15px; max-width: 60px;"> <button class="btn btn-primary mx-1 align-content-center" style="border-radius: 50px 15px; max-width: 60px;">
<NavLink href="/pokemonsleep"> <NavLink href="/pokemon-sleep">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-house-fill mb-1 text-white" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-house-fill mb-1 text-white" viewBox="0 0 16 16">
<path d="M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L8 2.207l6.646 6.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293z" /> <path d="M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L8 2.207l6.646 6.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293z" />
<path d="m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293z" /> <path d="m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293z" />
@ -13,7 +13,7 @@
<!-- Pokemon Table--> <!-- Pokemon Table-->
<button class="btn btn-info mx-1" style="border-radius: 50px 15px; max-width: 60px;"> <button class="btn btn-info mx-1" style="border-radius: 50px 15px; max-width: 60px;">
<NavLink href="/pokemonsleep/pokemon"> <NavLink href="/pokemon-sleep/pokemon">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-table mb-1 text-white" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-table mb-1 text-white" viewBox="0 0 16 16">
<path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm15 2h-4v3h4zm0 4h-4v3h4zm0 4h-4v3h3a1 1 0 0 0 1-1zm-5 3v-3H6v3zm-5 0v-3H1v2a1 1 0 0 0 1 1zm-4-4h4V8H1zm0-4h4V4H1zm5-3v3h4V4zm4 4H6v3h4z" /> <path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm15 2h-4v3h4zm0 4h-4v3h4zm0 4h-4v3h3a1 1 0 0 0 1-1zm-5 3v-3H6v3zm-5 0v-3H1v2a1 1 0 0 0 1 1zm-4-4h4V8H1zm0-4h4V4H1zm5-3v3h4V4zm4 4H6v3h4z" />
</svg> </svg>
@ -22,7 +22,7 @@
<!-- Rate Pokemon --> <!-- Rate Pokemon -->
<button class="btn btn-success mx-1" style="border-radius: 50px 15px; max-width: 60px;"> <button class="btn btn-success mx-1" style="border-radius: 50px 15px; max-width: 60px;">
<NavLink href="/pokemonsleep/rate-pokemon"> <NavLink href="/pokemon-sleep/rate-pokemon">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-award-fill mb-1 text-white" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-award-fill mb-1 text-white" viewBox="0 0 16 16">
<path d="m8 0 1.669.864 1.858.282.842 1.68 1.337 1.32L13.4 6l.306 1.854-1.337 1.32-.842 1.68-1.858.282L8 12l-1.669-.864-1.858-.282-.842-1.68-1.337-1.32L2.6 6l-.306-1.854 1.337-1.32.842-1.68L6.331.864z" /> <path d="m8 0 1.669.864 1.858.282.842 1.68 1.337 1.32L13.4 6l.306 1.854-1.337 1.32-.842 1.68-1.858.282L8 12l-1.669-.864-1.858-.282-.842-1.68-1.337-1.32L2.6 6l-.306-1.854 1.337-1.32.842-1.68L6.331.864z" />
<path d="M4 11.794V16l4-1 4 1v-4.206l-2.018.306L8 13.126 6.018 12.1z" /> <path d="M4 11.794V16l4-1 4 1v-4.206l-2.018.306L8 13.126 6.018 12.1z" />
@ -32,7 +32,7 @@
<!-- Add Pokemon (Wrap in Auth) --> <!-- Add Pokemon (Wrap in Auth) -->
<button class="btn btn-warning mx-1 " style="border-radius: 50px 15px; max-width: 60px;"> <button class="btn btn-warning mx-1 " style="border-radius: 50px 15px; max-width: 60px;">
<NavLink href="/pokemonsleep/add-new-pokemon"> <NavLink href="/pokemon-sleep/add-new-pokemon">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus-circle-fill text-white" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus-circle-fill text-white" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3z" /> <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3z" />
</svg> </svg>

View File

@ -66,12 +66,12 @@ namespace Portfolio.WebUI.Server.Components.Component.Pokemon_Components
private void EditPokemon(int id) private void EditPokemon(int id)
{ {
Navigation.NavigateTo($"/pokemonsleep/edit/{id}"); Navigation.NavigateTo($"/pokemon-sleep/edit/{id}");
} }
private void ViewPokemon(int id) private void ViewPokemon(int id)
{ {
Navigation.NavigateTo($"/pokemonsleep/pokemon/{id}"); Navigation.NavigateTo($"/pokemon-sleep/pokemon/{id}");
} }
private string GetTypeImageUrl(string pokemonType) private string GetTypeImageUrl(string pokemonType)

View File

@ -22,7 +22,7 @@
<path d="M0 1.5A1.5 1.5 0 0 1 1.5 0h13A1.5 1.5 0 0 1 16 1.5v13a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 14.5zM1.5 1a.5.5 0 0 0-.5.5V5h4V1zM5 6H1v4h4zm1 4h4V6H6zm-1 1H1v3.5a.5.5 0 0 0 .5.5H5zm1 0v4h4v-4zm5 0v4h3.5a.5.5 0 0 0 .5-.5V11zm0-1h4V6h-4zm0-5h4V1.5a.5.5 0 0 0-.5-.5H11zm-1 0V1H6v4z" /> <path d="M0 1.5A1.5 1.5 0 0 1 1.5 0h13A1.5 1.5 0 0 1 16 1.5v13a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 14.5zM1.5 1a.5.5 0 0 0-.5.5V5h4V1zM5 6H1v4h4zm1 4h4V6H6zm-1 1H1v3.5a.5.5 0 0 0 .5.5H5zm1 0v4h4v-4zm5 0v4h3.5a.5.5 0 0 0 .5-.5V11zm0-1h4V6h-4zm0-5h4V1.5a.5.5 0 0 0-.5-.5H11zm-1 0V1H6v4z" />
</svg><span class="mx-2 mt-0 text-primary">Crochet</span> </svg><span class="mx-2 mt-0 text-primary">Crochet</span>
</NavLink> </NavLink>
<NavLink class="nav-link d-flex align-items-center rounded rounded-5" href="pokemonsleep" ActiveClass="nav-active"> <NavLink class="nav-link d-flex align-items-center rounded rounded-5" href="pokemon-sleep" ActiveClass="nav-active">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="@_primaryColor" class="bi bi-p-circle-fill" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="@_primaryColor" class="bi bi-p-circle-fill" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M5.5 4.002V12h1.283V9.164h1.668C10.033 9.164 11 8.08 11 6.586c0-1.482-.955-2.584-2.538-2.584zm2.77 4.072c.893 0 1.419-.545 1.419-1.488s-.526-1.482-1.42-1.482H6.778v2.97z" /> <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M5.5 4.002V12h1.283V9.164h1.668C10.033 9.164 11 8.08 11 6.586c0-1.482-.955-2.584-2.538-2.584zm2.77 4.072c.893 0 1.419-.545 1.419-1.488s-.526-1.482-1.42-1.482H6.778v2.97z" />
</svg> <span class="mx-2 mt-0 text-primary">Pokémon Sleep</span> </svg> <span class="mx-2 mt-0 text-primary">Pokémon Sleep</span>

View File

@ -29,7 +29,7 @@
<div class="row"> <div class="row">
<!-- School Experience --> <!-- School Experience -->
<div class="col-auto ps-0"> <div class="col ps-0">
<div class="card rounded p-2 ps-3 pe-3 border border-1 border-primary"> <div class="card rounded p-2 ps-3 pe-3 border border-1 border-primary">
<p class="fs-6 fw-lighter card-subtitle p-0">September 2018 March 2022</p> <p class="fs-6 fw-lighter card-subtitle p-0">September 2018 March 2022</p>
<p class="fs-5 card-title m-0">B.S. in Computer Science</p> <p class="fs-5 card-title m-0">B.S. in Computer Science</p>
@ -73,7 +73,7 @@
</div> </div>
<!--Skills \ Languages--> <!--Skills \ Languages-->
<div class="col p-0 "> <div class="col-auto p-0 ">
<div class="bg-white rounded p-2 border border-1 border-primary" > <div class="bg-white rounded p-2 border border-1 border-primary" >
<div class="card-header"> <div class="card-header">
<label class="text-decoration-underline fw-semibold">Skills \ Languages</label> <label class="text-decoration-underline fw-semibold">Skills \ Languages</label>
@ -98,7 +98,7 @@
</div> </div>
<!-- Tools --> <!-- Tools -->
<div class="col pe-0"> <div class="col-auto pe-0">
<div class="bg-white rounded p-2 border border-1 border-primary"> <div class="bg-white rounded p-2 border border-1 border-primary">
<div class="card-header"> <div class="card-header">

View File

@ -1,4 +1,4 @@
@page "/pokemonsleep/admincontrol" @page "/pokemon-sleep/admincontrol"
@ -12,7 +12,7 @@
<!-- Add Pokemon (Wrap in Auth) --> <!-- Add Pokemon (Wrap in Auth) -->
<button class="btn btn-warning mx-1" style="border-radius: 50px 15px; max-width: 60px;"> <button class="btn btn-warning mx-1" style="border-radius: 50px 15px; max-width: 60px;">
<NavLink href="/pokemonsleep/addmincontrol/add-new-pokemon"> <NavLink href="/pokemon-sleep/addmincontrol/add-new-pokemon">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#FFF" class="bi bi-plus-circle-fill mb-1" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#FFF" class="bi bi-plus-circle-fill mb-1" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3z" /> <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3z" />
</svg> </svg>

View File

@ -1,4 +1,4 @@
@page "/pokemonsleep/add-new-pokemon" @page "/pokemon-sleep/add-new-pokemon"
@inject IPokemonService PokemonService @inject IPokemonService PokemonService
@inject NavigationManager Navigation @inject NavigationManager Navigation

View File

@ -117,7 +117,7 @@ namespace Portfolio.WebUI.Server.Components.Pages.Pokemon_Pages
//if(IsComplete(pokemon1)) //if(IsComplete(pokemon1))
//{ //{
await HandleSubmit(pokemon1); await HandleSubmit(pokemon1);
Navigation.NavigateTo("/pokemonsleep/pokemon"); Navigation.NavigateTo("/pokemon-sleep/pokemon");
//} //}
} }
else if (pokemon2FormView) else if (pokemon2FormView)
@ -126,7 +126,7 @@ namespace Portfolio.WebUI.Server.Components.Pages.Pokemon_Pages
//{ //{
await HandleSubmit(pokemon1); await HandleSubmit(pokemon1);
await HandleSubmit(pokemon2); await HandleSubmit(pokemon2);
Navigation.NavigateTo("/pokemonsleep/pokemon"); Navigation.NavigateTo("/pokemon-sleep/pokemon");
// } // }
} }
@ -137,7 +137,7 @@ namespace Portfolio.WebUI.Server.Components.Pages.Pokemon_Pages
await HandleSubmit(pokemon1); await HandleSubmit(pokemon1);
await HandleSubmit(pokemon2); await HandleSubmit(pokemon2);
await HandleSubmit(pokemon3); await HandleSubmit(pokemon3);
Navigation.NavigateTo("/pokemonsleep/pokemon"); Navigation.NavigateTo("/pokemon-sleep/pokemon");
//} //}
} }
@ -156,7 +156,7 @@ namespace Portfolio.WebUI.Server.Components.Pages.Pokemon_Pages
protected void Cancel(MouseEventArgs e) protected void Cancel(MouseEventArgs e)
{ {
Console.WriteLine("Testing in Cancel"); Console.WriteLine("Testing in Cancel");
Navigation.NavigateTo("/pokemonsleep/pokemon"); Navigation.NavigateTo("/pokemon-sleep/pokemon");
} }
} }
} }

View File

@ -1,4 +1,4 @@
@page "/pokemonsleep/edit-pokemon/{id:int}" @page "/pokemon-sleep/edit-pokemon/{id:int}"
@inject IPokemonService PokemonService @inject IPokemonService PokemonService
@inject NavigationManager Navigation @inject NavigationManager Navigation
@inject IJSRuntime JS @inject IJSRuntime JS

View File

@ -1,4 +1,4 @@
@page "/pokemonsleep/pokemon/{id:int}" @page "/pokemon-sleep/pokemon/{id:int}"
@inject IPokemonService PokemonService @inject IPokemonService PokemonService
@inject NavigationManager Navigation @inject NavigationManager Navigation

View File

@ -39,13 +39,13 @@ namespace Portfolio.WebUI.Server.Components.Pages.Pokemon_Pages
private void NavigateToNext() private void NavigateToNext()
{ {
if (_nextPokemonId.HasValue) if (_nextPokemonId.HasValue)
Navigation.NavigateTo($"/pokemon/{_nextPokemonId.Value}"); Navigation.NavigateTo($"/pokemon-sleep/pokemon/{_nextPokemonId.Value}");
} }
private void NavigateToPrevious() private void NavigateToPrevious()
{ {
if (_previousPokemonId.HasValue) if (_previousPokemonId.HasValue)
Navigation.NavigateTo($"/pokemon/{_previousPokemonId.Value}"); Navigation.NavigateTo($"/pokemon-sleep/pokemon/{_previousPokemonId.Value}");
} }
} }

View File

@ -1,4 +1,4 @@
@page "/pokemonsleep/rate-pokemon" @page "/pokemon-sleep/rate-pokemon"
@inject IPokemonService PokemonService @inject IPokemonService PokemonService
@inject IPokemonNatureService PokemonNatureService @inject IPokemonNatureService PokemonNatureService

View File

@ -1,4 +1,4 @@
@page "/pokemonsleep" @page "/pokemon-sleep"
@attribute [StreamRendering] @attribute [StreamRendering]

View File

@ -1,4 +1,4 @@
@page "/pokemonsleep/pokemon" @page "/pokemon-sleep/pokemon"
@inject IPokemonService PokemonService @inject IPokemonService PokemonService

View File

@ -8,7 +8,7 @@
"links": [ "links": [
{ {
"type": "internal", "type": "internal",
"url": "/pokemonsleep", "url": "/temperature-blanket",
"icon": "code" "icon": "code"
} }
] ]
@ -22,7 +22,7 @@
"links": [ "links": [
{ {
"type": "internal", "type": "internal",
"url": "/pokemonsleep", "url": "/pokemon-sleep",
"icon": "code" "icon": "code"
} }
] ]