Files
AlloVoisinsSwiftUI/AlloVoisinsSwiftUI/Features/Booster/Views/Components/BoosterActiveHeaderView.swift
Victor Bodinaud e305b1697a New views
2025-12-10 16:31:08 +01:00

44 lines
1.0 KiB
Swift
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// BoosterActiveHeaderView.swift
//
//
// Created by Victor on 19/06/2024.
//
import SwiftUI
struct BoosterActiveHeaderView: View {
var body: some View {
VStack {
Image("booster_logo")
.resizable()
.frame(width: 93, height: 80)
VStack {
SQText("Booster en cours")
.sqSize(18)
.sqFont(.bold)
.foregroundColor(.sqRoyal())
SQText("Aujourdhui")
.sqSize(14)
}
}
.padding()
.frame(maxWidth: .infinity)
.overlay(
ZStack(alignment: .topLeading) {
Image("booster_corner")
.resizable()
.frame(width: 50, height: 50)
.cornerRadius(8, corners: [.topLeft])
RoundedRectangle(cornerRadius: 8)
.stroke(Color.sqRoyal(), lineWidth: 2.0)
}
)
}
}
#Preview {
BoosterActiveHeaderView()
}