Skip to content

Instantly share code, notes, and snippets.

@sturdysturge
Created January 24, 2021 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sturdysturge/51fb72891b38b29e41d7b24a4b5d274d to your computer and use it in GitHub Desktop.
Save sturdysturge/51fb72891b38b29e41d7b24a4b5d274d to your computer and use it in GitHub Desktop.
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