Colapse fix

This commit is contained in:
Daniel Arantes Loverde
2026-02-09 14:41:18 -03:00
parent 54686397b9
commit 3176b67914
8 changed files with 683 additions and 127 deletions

View File

@@ -58,14 +58,11 @@ struct SecondaryButton: View {
image
}
}
.foregroundStyle(AppColors.primary)
.foregroundStyle(AppColors.textInverse)
.frame(maxWidth: fullWidth ? .infinity : nil)
.frame(height: 56)
.background(AppColors.primary)
.overlay(
RoundedRectangle(cornerRadius: AppLayout.radiusLG, style: .continuous)
.stroke(AppColors.primary.opacity(0.3), lineWidth: 1)
)
.background(AppColors.secondary)
.clipShape(RoundedRectangle(cornerRadius: AppLayout.radiusLG, style: .continuous))
}
.buttonStyle(.plain)
}

View File

@@ -79,7 +79,7 @@ struct FeaturedStoreCard: View {
}
struct FeaturedStoreCardModel: Identifiable {
let id = UUID()
let id: String
let name: String
let rating: Double
let reviews: String
@@ -124,7 +124,7 @@ struct SpecialOfferCard: View {
}
struct SpecialOfferCardModel: Identifiable {
let id = UUID()
let id: String
let title: String
let subtitle: String
let colors: [Color]