Move Alt Styles into /rainbow-pool URLs, say "Pet Styles" more in text

This commit is contained in:
Emi Matchu 2024-10-11 15:37:37 -07:00
parent 7fad6abfed
commit 1626f0706c
3 changed files with 13 additions and 5 deletions

View file

@ -777,8 +777,13 @@ function StyleExplanation() {
opacity="0.7"
marginTop="2"
>
<Box as="a" href="/alt-styles" target="_blank" textDecoration="underline">
Alt Styles
<Box
as="a"
href="/rainbow-pool/styles"
target="_blank"
textDecoration="underline"
>
Pet Styles
</Box>{" "}
are NC items that override the pet's appearance via the{" "}
<Box
@ -789,7 +794,7 @@ function StyleExplanation() {
>
Styling Chamber
</Box>
. Not all items fit Alt Style pets. The pet's color doesn't have to match.
. Not all items fit all Pet Styles. The pet's color doesn't have to match.
</Box>
);
}

View file

@ -6,7 +6,7 @@
by opening the emotion picker and clicking the "Styles" tab.
%p
If you have an Alt Style we don't, please model it by entering your pet's
If you have an Pet Style we don't, please model it by entering your pet's
name on the homepage! Thank you! 💖
%p

View file

@ -35,8 +35,11 @@ OpenneoImpressItems::Application.routes.draw do
end
resources :alt_styles, path: 'alt-styles', only: [:index]
end
resources :alt_styles, path: 'alt-styles', only: [:index, :edit, :update]
resources :swf_assets, path: 'swf-assets', only: [:show]
scope "rainbow-pool" do
resources :alt_styles, path: 'alt-styles', only: [:index, :edit, :update],
path: 'styles'
end
resources :pet_types, path: 'rainbow-pool', param: "name",
only: [:index, :show] do
resources :pet_states, only: [:show, :edit, :update], path: "appearances"