From fc72b779df35b03813a0fe708a7581d4ab0631f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Gabriel?= Date: Tue, 5 Mar 2024 20:21:37 -0300 Subject: [PATCH] Refactor code --- .../{Pages => Components}/Home/AboutMe.razor | 0 .../{Pages => Components}/Home/Contact.razor | 0 .../Home/Instagram.razor | 0 .../Home/MyProjects.razor | 0 .../Home/Presentation.razor | 0 .../Home/SocialMedia.razor | 0 .../{Pages => Components}/Home/Tour.razor | 0 .../{Pages => Components}/Home/Warning.razor | 0 .../Media/MyAnimations.razor | 0 .../Media/MyAnimes.razor | 0 .../{Pages => Components}/Media/MyBooks.razor | 0 .../{Pages => Components}/Media/MyGames.razor | 0 .../Media/MyMovies.razor | 0 .../Media/MySeries.razor | 0 .../{Pages => Components}/Media/MySongs.razor | 0 src/Monambike.Web/Monambike.Web.csproj | 21 +++++++++++++------ .../Pages/{About => }/About.razor | 0 .../Pages/{Gallery => }/Gallery.razor | 0 src/Monambike.Web/Pages/{Home => }/Home.razor | 6 +++--- .../Pages/{MyInnerMe => }/MyInnerMe.razor | 0 .../Pages/{Portfolio => }/MyProjects.razor | 5 +---- .../Translation/{Home => }/Home.pt-BR.resx | 3 --- 22 files changed, 19 insertions(+), 16 deletions(-) rename src/Monambike.Web/{Pages => Components}/Home/AboutMe.razor (100%) rename src/Monambike.Web/{Pages => Components}/Home/Contact.razor (100%) rename src/Monambike.Web/{Pages => Components}/Home/Instagram.razor (100%) rename src/Monambike.Web/{Pages => Components}/Home/MyProjects.razor (100%) rename src/Monambike.Web/{Pages => Components}/Home/Presentation.razor (100%) rename src/Monambike.Web/{Pages => Components}/Home/SocialMedia.razor (100%) rename src/Monambike.Web/{Pages => Components}/Home/Tour.razor (100%) rename src/Monambike.Web/{Pages => Components}/Home/Warning.razor (100%) rename src/Monambike.Web/{Pages => Components}/Media/MyAnimations.razor (100%) rename src/Monambike.Web/{Pages => Components}/Media/MyAnimes.razor (100%) rename src/Monambike.Web/{Pages => Components}/Media/MyBooks.razor (100%) rename src/Monambike.Web/{Pages => Components}/Media/MyGames.razor (100%) rename src/Monambike.Web/{Pages => Components}/Media/MyMovies.razor (100%) rename src/Monambike.Web/{Pages => Components}/Media/MySeries.razor (100%) rename src/Monambike.Web/{Pages => Components}/Media/MySongs.razor (100%) rename src/Monambike.Web/Pages/{About => }/About.razor (100%) rename src/Monambike.Web/Pages/{Gallery => }/Gallery.razor (100%) rename src/Monambike.Web/Pages/{Home => }/Home.razor (65%) rename src/Monambike.Web/Pages/{MyInnerMe => }/MyInnerMe.razor (100%) rename src/Monambike.Web/Pages/{Portfolio => }/MyProjects.razor (95%) rename src/Monambike.Web/Resources/Translation/{Home => }/Home.pt-BR.resx (98%) diff --git a/src/Monambike.Web/Pages/Home/AboutMe.razor b/src/Monambike.Web/Components/Home/AboutMe.razor similarity index 100% rename from src/Monambike.Web/Pages/Home/AboutMe.razor rename to src/Monambike.Web/Components/Home/AboutMe.razor diff --git a/src/Monambike.Web/Pages/Home/Contact.razor b/src/Monambike.Web/Components/Home/Contact.razor similarity index 100% rename from src/Monambike.Web/Pages/Home/Contact.razor rename to src/Monambike.Web/Components/Home/Contact.razor diff --git a/src/Monambike.Web/Pages/Home/Instagram.razor b/src/Monambike.Web/Components/Home/Instagram.razor similarity index 100% rename from src/Monambike.Web/Pages/Home/Instagram.razor rename to src/Monambike.Web/Components/Home/Instagram.razor diff --git a/src/Monambike.Web/Pages/Home/MyProjects.razor b/src/Monambike.Web/Components/Home/MyProjects.razor similarity index 100% rename from src/Monambike.Web/Pages/Home/MyProjects.razor rename to src/Monambike.Web/Components/Home/MyProjects.razor diff --git a/src/Monambike.Web/Pages/Home/Presentation.razor b/src/Monambike.Web/Components/Home/Presentation.razor similarity index 100% rename from src/Monambike.Web/Pages/Home/Presentation.razor rename to src/Monambike.Web/Components/Home/Presentation.razor diff --git a/src/Monambike.Web/Pages/Home/SocialMedia.razor b/src/Monambike.Web/Components/Home/SocialMedia.razor similarity index 100% rename from src/Monambike.Web/Pages/Home/SocialMedia.razor rename to src/Monambike.Web/Components/Home/SocialMedia.razor diff --git a/src/Monambike.Web/Pages/Home/Tour.razor b/src/Monambike.Web/Components/Home/Tour.razor similarity index 100% rename from src/Monambike.Web/Pages/Home/Tour.razor rename to src/Monambike.Web/Components/Home/Tour.razor diff --git a/src/Monambike.Web/Pages/Home/Warning.razor b/src/Monambike.Web/Components/Home/Warning.razor similarity index 100% rename from src/Monambike.Web/Pages/Home/Warning.razor rename to src/Monambike.Web/Components/Home/Warning.razor diff --git a/src/Monambike.Web/Pages/Media/MyAnimations.razor b/src/Monambike.Web/Components/Media/MyAnimations.razor similarity index 100% rename from src/Monambike.Web/Pages/Media/MyAnimations.razor rename to src/Monambike.Web/Components/Media/MyAnimations.razor diff --git a/src/Monambike.Web/Pages/Media/MyAnimes.razor b/src/Monambike.Web/Components/Media/MyAnimes.razor similarity index 100% rename from src/Monambike.Web/Pages/Media/MyAnimes.razor rename to src/Monambike.Web/Components/Media/MyAnimes.razor diff --git a/src/Monambike.Web/Pages/Media/MyBooks.razor b/src/Monambike.Web/Components/Media/MyBooks.razor similarity index 100% rename from src/Monambike.Web/Pages/Media/MyBooks.razor rename to src/Monambike.Web/Components/Media/MyBooks.razor diff --git a/src/Monambike.Web/Pages/Media/MyGames.razor b/src/Monambike.Web/Components/Media/MyGames.razor similarity index 100% rename from src/Monambike.Web/Pages/Media/MyGames.razor rename to src/Monambike.Web/Components/Media/MyGames.razor diff --git a/src/Monambike.Web/Pages/Media/MyMovies.razor b/src/Monambike.Web/Components/Media/MyMovies.razor similarity index 100% rename from src/Monambike.Web/Pages/Media/MyMovies.razor rename to src/Monambike.Web/Components/Media/MyMovies.razor diff --git a/src/Monambike.Web/Pages/Media/MySeries.razor b/src/Monambike.Web/Components/Media/MySeries.razor similarity index 100% rename from src/Monambike.Web/Pages/Media/MySeries.razor rename to src/Monambike.Web/Components/Media/MySeries.razor diff --git a/src/Monambike.Web/Pages/Media/MySongs.razor b/src/Monambike.Web/Components/Media/MySongs.razor similarity index 100% rename from src/Monambike.Web/Pages/Media/MySongs.razor rename to src/Monambike.Web/Components/Media/MySongs.razor diff --git a/src/Monambike.Web/Monambike.Web.csproj b/src/Monambike.Web/Monambike.Web.csproj index 6ffbc5bb..357173d9 100644 --- a/src/Monambike.Web/Monambike.Web.csproj +++ b/src/Monambike.Web/Monambike.Web.csproj @@ -15,6 +15,21 @@ 9999 + + + + + + + + + + + + + + + @@ -56,10 +71,4 @@ - - - - - - diff --git a/src/Monambike.Web/Pages/About/About.razor b/src/Monambike.Web/Pages/About.razor similarity index 100% rename from src/Monambike.Web/Pages/About/About.razor rename to src/Monambike.Web/Pages/About.razor diff --git a/src/Monambike.Web/Pages/Gallery/Gallery.razor b/src/Monambike.Web/Pages/Gallery.razor similarity index 100% rename from src/Monambike.Web/Pages/Gallery/Gallery.razor rename to src/Monambike.Web/Pages/Gallery.razor diff --git a/src/Monambike.Web/Pages/Home/Home.razor b/src/Monambike.Web/Pages/Home.razor similarity index 65% rename from src/Monambike.Web/Pages/Home/Home.razor rename to src/Monambike.Web/Pages/Home.razor index 9f6e4e1a..46314f46 100644 --- a/src/Monambike.Web/Pages/Home/Home.razor +++ b/src/Monambike.Web/Pages/Home.razor @@ -1,6 +1,6 @@ -@inherits LayoutComponentBase - -@page "/" +@page "/" +@inherits LayoutComponentBase +@using Monambike.Web.Components.Home
diff --git a/src/Monambike.Web/Pages/MyInnerMe/MyInnerMe.razor b/src/Monambike.Web/Pages/MyInnerMe.razor similarity index 100% rename from src/Monambike.Web/Pages/MyInnerMe/MyInnerMe.razor rename to src/Monambike.Web/Pages/MyInnerMe.razor diff --git a/src/Monambike.Web/Pages/Portfolio/MyProjects.razor b/src/Monambike.Web/Pages/MyProjects.razor similarity index 95% rename from src/Monambike.Web/Pages/Portfolio/MyProjects.razor rename to src/Monambike.Web/Pages/MyProjects.razor index eb9563a1..cfe2aa50 100644 --- a/src/Monambike.Web/Pages/Portfolio/MyProjects.razor +++ b/src/Monambike.Web/Pages/MyProjects.razor @@ -1,7 +1,4 @@ -@* @using Monambike.Web.Models -@using Monambike.Web.Utilities - -@page "/projects" +@* @page "/projects"
diff --git a/src/Monambike.Web/Resources/Translation/Home/Home.pt-BR.resx b/src/Monambike.Web/Resources/Translation/Home.pt-BR.resx similarity index 98% rename from src/Monambike.Web/Resources/Translation/Home/Home.pt-BR.resx rename to src/Monambike.Web/Resources/Translation/Home.pt-BR.resx index a9990611..1af7de15 100644 --- a/src/Monambike.Web/Resources/Translation/Home/Home.pt-BR.resx +++ b/src/Monambike.Web/Resources/Translation/Home.pt-BR.resx @@ -117,7 +117,4 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Vinícius\u00A0Gabriel - \ No newline at end of file