-
-
Save sturdysturge/51fb72891b38b29e41d7b24a4b5d274d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct AquaAlertContentView: View { | |
var body: some View { | |
HStack { | |
Text("⚠️") | |
.font(.largeTitle) | |
.padding() | |
.frame(maxHeight: .infinity, alignment: .top) | |
VStack { | |
Text("\n\"One of the design goals was when you saw it you wanted to lick it. So we call it Aqua, and this is the architecture for Mac OS X.\"\n") | |
.fontWeight(.heavy) | |
Text("- Steve Jobs") | |
.fontWeight(.regular) | |
.frame(maxWidth: .infinity, alignment: .leading) | |
} | |
.frame(maxHeight: .infinity, alignment: .topLeading) | |
.foregroundColor(.black) | |
.padding(.trailing, 25) | |
.font(.caption2) | |
} | |
.padding(.top, 10) | |
.background(Rectangle().stroke(Color.gray, lineWidth: 1.5)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment