refactor: notifications and settings view models; enhance login and registration UI

This commit is contained in:
2026-03-15 21:40:20 +07:00
parent 0947c048c1
commit 37b87ececd
45 changed files with 985 additions and 680 deletions
+22
View File
@@ -0,0 +1,22 @@
import SwiftUI
struct CardContainerModifier: ViewModifier {
func body(content: Content) -> some View {
content
.padding(.horizontal, 20)
.padding(.vertical, 24)
.background(Color(.systemBackground).opacity(0.8))
.clipShape(RoundedRectangle(cornerRadius: 28, style: .continuous))
.overlay(
RoundedRectangle(cornerRadius: 28, style: .continuous)
.stroke(Color.primary.opacity(0.06), lineWidth: 1)
)
.padding(16)
}
}
extension View {
func cardContainer() -> some View {
modifier(CardContainerModifier())
}
}