diff --git a/src/CraftSharp/Pages/Index.razor b/src/CraftSharp/Pages/Index.razor index 9e483fe..d2b0796 100644 --- a/src/CraftSharp/Pages/Index.razor +++ b/src/CraftSharp/Pages/Index.razor @@ -9,7 +9,7 @@

@Localizer["Opening"]

Hello, world!

- +
Welcome to your new app. diff --git a/src/CraftSharp/Resources/Shared.HeaderLayout.fr-FR.resx b/src/CraftSharp/Resources/Shared.HeaderLayout.fr-FR.resx new file mode 100644 index 0000000..238a0f5 --- /dev/null +++ b/src/CraftSharp/Resources/Shared.HeaderLayout.fr-FR.resx @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Inventaire + + + Se connecter + + + Ouverture + + + Créer un compte + + + Magasin + + + subtext_fr-FR + + \ No newline at end of file diff --git a/src/CraftSharp/Resources/Shared.HeaderLayout.resx b/src/CraftSharp/Resources/Shared.HeaderLayout.resx new file mode 100644 index 0000000..d975e18 --- /dev/null +++ b/src/CraftSharp/Resources/Shared.HeaderLayout.resx @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Inventory + + + Login + + + Opening + + + Register + + + Shop + + + subtext_en-EN + + \ No newline at end of file diff --git a/src/CraftSharp/Resources/Shared.HeaderLayout.tr-TR.resx b/src/CraftSharp/Resources/Shared.HeaderLayout.tr-TR.resx new file mode 100644 index 0000000..9468275 --- /dev/null +++ b/src/CraftSharp/Resources/Shared.HeaderLayout.tr-TR.resx @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Envanter + + + Giriş yapmak + + + Açılış + + + Kayıt ol + + + Mağaza + + + subtext_tr-TR + + \ No newline at end of file diff --git a/src/CraftSharp/Shared/CraftLayout.razor b/src/CraftSharp/Shared/CraftLayout.razor index eba1769..e85193d 100644 --- a/src/CraftSharp/Shared/CraftLayout.razor +++ b/src/CraftSharp/Shared/CraftLayout.razor @@ -2,9 +2,19 @@ CraftSharp -
+
@Body
-
\ No newline at end of file + + + +
+ + diff --git a/src/CraftSharp/Shared/CraftLayout.razor.css b/src/CraftSharp/Shared/CraftLayout.razor.css index 5f28270..62dcb13 100644 --- a/src/CraftSharp/Shared/CraftLayout.razor.css +++ b/src/CraftSharp/Shared/CraftLayout.razor.css @@ -1 +1,25 @@ - \ No newline at end of file +.bedrock_footer{ + width: 100%; + position: absolute; + bottom: 0 +} + +.bedrock_footer_img { + width: 100%; +} + +body { + background: url("../Images/blur_background.jpg") center center/cover no-repeat fixed; +} + +.main_div { + background: url("../Images/blur_background.jpg") center center/cover no-repeat fixed; + color: white; + min-height: 100vh; + position: relative +} + +.culture{ + position: absolute; + bottom: 0; +} \ No newline at end of file diff --git a/src/CraftSharp/Shared/HeaderLayout.razor b/src/CraftSharp/Shared/HeaderLayout.razor index 847a025..2a435f1 100644 --- a/src/CraftSharp/Shared/HeaderLayout.razor +++ b/src/CraftSharp/Shared/HeaderLayout.razor @@ -10,7 +10,7 @@ @@ -19,24 +19,25 @@ - + Logo Application + -
Se connecter
-
S'inscrire
+
@Localizer["Login"]
+
@Localizer["Register"]
diff --git a/src/CraftSharp/Shared/HeaderLayout.razor.cs b/src/CraftSharp/Shared/HeaderLayout.razor.cs index f861000..89832ef 100644 --- a/src/CraftSharp/Shared/HeaderLayout.razor.cs +++ b/src/CraftSharp/Shared/HeaderLayout.razor.cs @@ -7,6 +7,6 @@ namespace CraftSharp.Shared public partial class HeaderLayout { [Inject] - public IStringLocalizer Localizer { get; set; } + public IStringLocalizer Localizer { get; set; } } } diff --git a/src/CraftSharp/Shared/HeaderLayout.razor.css b/src/CraftSharp/Shared/HeaderLayout.razor.css index 46bc43c..69696fc 100644 --- a/src/CraftSharp/Shared/HeaderLayout.razor.css +++ b/src/CraftSharp/Shared/HeaderLayout.razor.css @@ -26,20 +26,31 @@ display: flex; flex-direction: column; justify-content: center; + transition: transform .2s; +} + +.nav-item:hover { + transform: scale(1.1); } .topbar_itemimg { - height: 3rem; + height: 4rem; } -.nav-image { - width: 18rem; - color: #ffffff; - margin-top: 100px; - width: 20%; +.img_wrap { + display: flex; + flex-direction: column; + width: 80%; + margin-top: 5%; position: absolute; - left: 50%; + left: 75%; transform: translate(-50%, 0); + user-select: none; + pointer-events: none; +} + +.nav-image { + width: 30%; } .topbar_item { @@ -57,7 +68,7 @@ } nav-link { - height: 100%; + height: 300%; } .topbar_content { @@ -118,7 +129,7 @@ nav-link { color: white; } -@media (min-width: 641px) { +@media (min-width: 800px) { .navbar-toggler { display: none; } diff --git a/src/CraftSharp/Shared/MainLayout.razor b/src/CraftSharp/Shared/MainLayout.razor index 7b20dca..c6f8f5a 100644 --- a/src/CraftSharp/Shared/MainLayout.razor +++ b/src/CraftSharp/Shared/MainLayout.razor @@ -18,7 +18,7 @@ -
+
@Body
diff --git a/src/CraftSharp/wwwroot/Images/bedrock_footer.png b/src/CraftSharp/wwwroot/Images/bedrock_footer.png new file mode 100644 index 0000000..23a4f14 Binary files /dev/null and b/src/CraftSharp/wwwroot/Images/bedrock_footer.png differ diff --git a/src/CraftSharp/wwwroot/Images/blur_background.jpg b/src/CraftSharp/wwwroot/Images/blur_background.jpg new file mode 100644 index 0000000..6304ecd Binary files /dev/null and b/src/CraftSharp/wwwroot/Images/blur_background.jpg differ