|
@@ -5,10 +5,6 @@ struct MainContentView: View {
|
|
|
|
|
|
|
|
var body: some View {
|
|
var body: some View {
|
|
|
VStack(spacing: 0) {
|
|
VStack(spacing: 0) {
|
|
|
- profileHeader
|
|
|
|
|
- .padding(.horizontal, 32)
|
|
|
|
|
- .padding(.top, 8)
|
|
|
|
|
-
|
|
|
|
|
Spacer(minLength: 20)
|
|
Spacer(minLength: 20)
|
|
|
|
|
|
|
|
welcomeSection
|
|
welcomeSection
|
|
@@ -28,21 +24,6 @@ struct MainContentView: View {
|
|
|
.background(AppTheme.pageBackground)
|
|
.background(AppTheme.pageBackground)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- private var profileHeader: some View {
|
|
|
|
|
- HStack {
|
|
|
|
|
- Spacer()
|
|
|
|
|
- Circle()
|
|
|
|
|
- .fill(AppTheme.avatarBackground)
|
|
|
|
|
- .frame(width: 40, height: 40)
|
|
|
|
|
- .overlay {
|
|
|
|
|
- Text("JD")
|
|
|
|
|
- .font(.system(size: 14, weight: .semibold))
|
|
|
|
|
- .foregroundStyle(AppTheme.textPrimary)
|
|
|
|
|
- }
|
|
|
|
|
- .accessibilityLabel("User profile")
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
private var welcomeSection: some View {
|
|
private var welcomeSection: some View {
|
|
|
VStack(spacing: 10) {
|
|
VStack(spacing: 10) {
|
|
|
Image(systemName: "sparkles")
|
|
Image(systemName: "sparkles")
|