ADD(CollectionPlayer): itemCollection

pull/1/head
Louis DUFOUR 11 months ago
parent aebd576af8
commit c2230d4e62

@ -0,0 +1,35 @@
import SwiftUI
struct PlayerProfileView: View {
var body: some View {
HStack(spacing: 15) {
Text("1")
.font(.largeTitle)
.fontWeight(.bold)
.foregroundColor(.purple)
Image("iga_swiatek") // Assurez-vous d'ajouter l'image dans Assets.xcassets
.resizable()
.aspectRatio(contentMode: .fill)
.frame(width: 50, height: 50)
.clipShape(Circle())
Text("IGA SWIATEK")
.font(.title2)
.fontWeight(.semibold)
Spacer()
Label("POL", systemImage: "flag.fill")
.labelStyle(.titleAndIcon)
.foregroundColor(.red)
}
.padding(.horizontal)
}
}
struct PlayerProfileView_Previews: PreviewProvider {
static var previews: some View {
PlayerProfileView()
}
}
Loading…
Cancel
Save