export: branding en los tres estilos (logo, wordmark degradado, tagline)
- Logo real de la app en el header de los 3 estilos (antes solo en el default, y pequeno) y en el footer junto a un wordmark MealMood en degradado coral->verde con tagline localizada en cursiva - "Powered by MealMood" y "Scan me" estaban hardcodeados en ingles; ahora share_footer_tagline y share_footer_scan en 6 idiomas - Titulo del header default con el mismo degradado; QR con borde coral Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013H6bXqGX1ygwib1Dm3n3UG
This commit is contained in:
@@ -185,12 +185,17 @@ struct WeekPlanShareView: View {
|
||||
|
||||
private var defaultHeader: some View {
|
||||
HStack(alignment: .center, spacing: 24) {
|
||||
AppIconPlaceholder(size: 84)
|
||||
AppIconPlaceholder(size: 104)
|
||||
|
||||
VStack(alignment: .leading, spacing: 6) {
|
||||
Text(exportHeaderTitle)
|
||||
.font(.system(size: 52, weight: .bold, design: .rounded))
|
||||
.foregroundColor(.mealMoodTextPrimary)
|
||||
.foregroundStyle(
|
||||
LinearGradient(
|
||||
colors: [Color.mealMoodCoral, Color(hex: "#3F7A64")],
|
||||
startPoint: .leading, endPoint: .trailing
|
||||
)
|
||||
)
|
||||
Text(plan.weekStartDate.formattedWeekRange())
|
||||
.font(.system(size: 28, weight: .semibold, design: .rounded))
|
||||
.foregroundColor(Color(hex: "#5D645F"))
|
||||
@@ -213,7 +218,9 @@ struct WeekPlanShareView: View {
|
||||
}
|
||||
|
||||
private var elegantHeader: some View {
|
||||
VStack(spacing: 8) {
|
||||
VStack(spacing: 10) {
|
||||
MealMoodLogoMark(size: 96)
|
||||
|
||||
Text(plan.weekStartDate.formattedWeekRange())
|
||||
.font(.custom("Didot", size: exportStyle == .vertical ? 126 : 108))
|
||||
.foregroundColor(Color(hex: "#30473F"))
|
||||
@@ -430,13 +437,24 @@ struct WeekPlanShareView: View {
|
||||
}
|
||||
|
||||
private var footerBlock: some View {
|
||||
HStack(alignment: .center, spacing: 20) {
|
||||
VStack(alignment: .leading, spacing: 6) {
|
||||
Text("Powered by MealMood")
|
||||
.font(.system(size: 30, weight: .bold, design: .rounded))
|
||||
.foregroundColor(Color(hex: "#3A3A3A"))
|
||||
HStack(alignment: .center, spacing: 24) {
|
||||
MealMoodLogoMark(size: 118)
|
||||
|
||||
VStack(alignment: .leading, spacing: 5) {
|
||||
Text(verbatim: "MealMood")
|
||||
.font(.system(size: 44, weight: .heavy, design: .rounded))
|
||||
.foregroundStyle(
|
||||
LinearGradient(
|
||||
colors: [Color.mealMoodCoral, Color(hex: "#3F7A64")],
|
||||
startPoint: .leading, endPoint: .trailing
|
||||
)
|
||||
)
|
||||
Text(String(localized: "share_footer_tagline"))
|
||||
.font(.system(size: 26, weight: .semibold, design: .rounded))
|
||||
.italic()
|
||||
.foregroundColor(Color(hex: "#5D645F"))
|
||||
Text(shareURL)
|
||||
.font(.system(size: 24, weight: .semibold, design: .rounded))
|
||||
.font(.system(size: 22, weight: .semibold, design: .rounded))
|
||||
.foregroundColor(Color(hex: "#588A77"))
|
||||
}
|
||||
|
||||
@@ -452,7 +470,11 @@ struct WeekPlanShareView: View {
|
||||
.padding(10)
|
||||
.background(Color.white)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 18))
|
||||
Text("Scan me")
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 18)
|
||||
.stroke(Color.mealMoodCoral.opacity(0.35), lineWidth: 1)
|
||||
)
|
||||
Text(String(localized: "share_footer_scan"))
|
||||
.font(.system(size: 18, weight: .semibold, design: .rounded))
|
||||
.foregroundColor(.mealMoodTextSecondary)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user