From 394d53df91ee1454d7e78af080b4721c4e33c448 Mon Sep 17 00:00:00 2001 From: Daniel Arantes Loverde Date: Mon, 24 Aug 2026 13:35:32 -0300 Subject: [PATCH 1/2] [home-header-spacing] Remove redundant top padding above Categorias contentTopSpacing (18pt) was stacked on top of the content VStack's own 24pt inter-section spacing, giving header-to-Categorias a wider gap (42pt) than every other section-to-section gap in Home (24pt). Dropping it to 0 makes the gap consistent with the rest of the screen. --- PediFoods/Views/Main/HomeView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PediFoods/Views/Main/HomeView.swift b/PediFoods/Views/Main/HomeView.swift index 093e102..7dc9b63 100644 --- a/PediFoods/Views/Main/HomeView.swift +++ b/PediFoods/Views/Main/HomeView.swift @@ -28,7 +28,7 @@ struct HomeView: View { private let headerExpandedHeight: CGFloat = 240 private let headerCollapsedHeight: CGFloat = 120 - private let contentTopSpacing: CGFloat = 18 + private let contentTopSpacing: CGFloat = 0 private let contentBottomSpacing: CGFloat = 120 var body: some View { From dae3b6f9d53b8a56d785e1ac184b59df1b0a3086 Mon Sep 17 00:00:00 2001 From: Daniel Arantes Loverde Date: Mon, 24 Aug 2026 14:03:36 -0300 Subject: [PATCH 2/2] Fix header space --- PediFoods/Resources/Localizable.xcstrings | 9 +++++++++ PediFoods/Views/Main/HomeView.swift | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/PediFoods/Resources/Localizable.xcstrings b/PediFoods/Resources/Localizable.xcstrings index 962a0b6..cf44a64 100644 --- a/PediFoods/Resources/Localizable.xcstrings +++ b/PediFoods/Resources/Localizable.xcstrings @@ -460,6 +460,12 @@ "Entrar" : { "comment" : "A link that directs the user to the login screen.", "isCommentAutoGenerated" : true + }, + "Entrar ou Cadastrar" : { + + }, + "Entre na sua conta" : { + }, "Entrega" : { "comment" : "A text describing delivery mode.", @@ -512,6 +518,9 @@ }, "Excluir sua conta?" : { + }, + "Faça login ou cadastre-se para ver seu perfil, pedidos e endereços." : { + }, "Favorite" : { "comment" : "Item editor title label for marking the item as a favorite", diff --git a/PediFoods/Views/Main/HomeView.swift b/PediFoods/Views/Main/HomeView.swift index 7dc9b63..8ea6ddc 100644 --- a/PediFoods/Views/Main/HomeView.swift +++ b/PediFoods/Views/Main/HomeView.swift @@ -28,7 +28,7 @@ struct HomeView: View { private let headerExpandedHeight: CGFloat = 240 private let headerCollapsedHeight: CGFloat = 120 - private let contentTopSpacing: CGFloat = 0 + private let contentTopSpacing: CGFloat = -40 private let contentBottomSpacing: CGFloat = 120 var body: some View {