17 lines
482 B
Swift
17 lines
482 B
Swift
import SwiftUI
|
|
|
|
struct MealMoodLogoMark: View {
|
|
var size: CGFloat = 120
|
|
|
|
var body: some View {
|
|
Image("AppLogo")
|
|
.resizable()
|
|
.interpolation(.high)
|
|
.scaledToFill()
|
|
.frame(width: size, height: size)
|
|
.clipShape(RoundedRectangle(cornerRadius: size * 0.22, style: .continuous))
|
|
.shadow(color: .black.opacity(0.12), radius: size * 0.08, y: size * 0.04)
|
|
.accessibilityHidden(true)
|
|
}
|
|
}
|