import SwiftUI
import Bedrock

struct CardPageView: View {
    let card: BusinessCard

    var body: some View {
        ScrollView {
            VStack(spacing: Design.Spacing.large) {
                BusinessCardView(card: card)
                    .frame(maxWidth: Design.CardSize.maxCardWidth)
            }
            .frame(maxWidth: .infinity)
            .padding(.horizontal, Design.Spacing.large)
            .padding(.vertical, Design.Spacing.xLarge)
        }
        .scrollIndicators(.hidden)
    }
}
