BM change title

This commit is contained in:
cheykrym 2025-08-14 03:16:33 +03:00
parent 1fdc8dbf45
commit d8b683d570

View File

@ -18,9 +18,9 @@ struct SideMenuView: View {
.frame(width: 60, height: 60) .frame(width: 60, height: 60)
.foregroundColor(.gray) .foregroundColor(.gray)
Text("Your Name") Text("Your Name")
.font(.title2).bold() .font(.title3).bold()
Text("@yourusername") Text("@yourusername")
.font(.subheadline) .font(.footnote)
.foregroundColor(.secondary) .foregroundColor(.secondary)
} }
.padding(.horizontal, 20) .padding(.horizontal, 20)
@ -28,10 +28,11 @@ struct SideMenuView: View {
.padding(.bottom, 20) .padding(.bottom, 20)
// Menu Items // Menu Items
VStack(alignment: .leading, spacing: 20) { VStack(alignment: .leading, spacing: 20) {
// Section 1 // Section 1
VStack(alignment: .leading, spacing: 15) { VStack(alignment: .leading, spacing: 7) {
SideMenuButton(icon: "person.2.fill", title: "People You May Like", action: {}) SideMenuButton(icon: "person.2.fill", title: "People You May Like", action: {})
SideMenuButton(icon: "star.fill", title: "Fun Fest", action: {}) SideMenuButton(icon: "star.fill", title: "Fun Fest", action: {})
SideMenuButton(icon: "lightbulb.fill", title: "Creator Center", action: {}) SideMenuButton(icon: "lightbulb.fill", title: "Creator Center", action: {})
@ -40,8 +41,8 @@ struct SideMenuView: View {
Divider() Divider()
// Section 2 // Section 2
VStack(alignment: .leading, spacing: 15) { VStack(alignment: .leading, spacing: 7) {
Text("CATEGORY").font(.caption).foregroundColor(.secondary) Text("CATEGORY").font(.caption2).foregroundColor(.secondary)
SideMenuButton(icon: "doc.text", title: "Drafts", action: {}) SideMenuButton(icon: "doc.text", title: "Drafts", action: {})
SideMenuButton(icon: "bubble.left", title: "My Comments", action: {}) SideMenuButton(icon: "bubble.left", title: "My Comments", action: {})
SideMenuButton(icon: "clock", title: "History", action: {}) SideMenuButton(icon: "clock", title: "History", action: {})
@ -51,8 +52,8 @@ struct SideMenuView: View {
Divider() Divider()
// Section 3 // Section 3
VStack(alignment: .leading, spacing: 15) { VStack(alignment: .leading, spacing: 7) {
Text("SERVICES").font(.caption).foregroundColor(.secondary) Text("SERVICES").font(.caption2).foregroundColor(.secondary)
SideMenuButton(icon: "shippingbox", title: "Orders", action: {}) SideMenuButton(icon: "shippingbox", title: "Orders", action: {})
SideMenuButton(icon: "cart", title: "Cart", action: {}) SideMenuButton(icon: "cart", title: "Cart", action: {})
SideMenuButton(icon: "wallet.pass", title: "Wallet", action: {}) SideMenuButton(icon: "wallet.pass", title: "Wallet", action: {})
@ -100,7 +101,7 @@ struct SideMenuButton: View {
.font(.title3) .font(.title3)
.frame(width: 30) .frame(width: 30)
Text(title) Text(title)
.font(.headline) .font(.subheadline)
} }
.foregroundColor(.primary) .foregroundColor(.primary)
.padding(.vertical, 8) .padding(.vertical, 8)
@ -119,7 +120,7 @@ struct SideMenuFooterButton: View {
Image(systemName: icon) Image(systemName: icon)
.font(.title2) .font(.title2)
Text(title) Text(title)
.font(.caption) .font(.caption2)
} }
.foregroundColor(.primary) .foregroundColor(.primary)
} }