Files
ladill-mini/apps/ios/LadillMini/Features/Landing/LandingView.swift
T
isaaccladandCursor ea6afb80a4
Deploy Ladill Mini / deploy (push) Successful in 35s
Add Ladill Mini native Android and iOS apps.
Ship full-featured mobile clients with auth, payments, QRs, push notifications, and iOS polish including Figtree typography, app icons, and QR previews.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 22:30:35 +00:00

57 lines
2.0 KiB
Swift

import SwiftUI
struct LandingView: View {
let onSignIn: () -> Void
let onCreateAccount: () -> Void
var body: some View {
VStack(alignment: .leading, spacing: 0) {
HStack(spacing: 8) {
Image(systemName: "qrcode")
.font(.system(size: 22, weight: .semibold))
.foregroundStyle(LadillColors.indigo)
Text("Ladill Mini")
.font(.ladill(size: 22, weight: .semibold))
.foregroundStyle(LadillColors.ink)
}
.padding(.horizontal, 20)
.padding(.top, 36)
VStack(alignment: .leading, spacing: 10) {
Text("Collect payments,\neffortlessly.")
.font(.ladill(size: 34, weight: .semibold))
.foregroundStyle(LadillColors.ink)
Text("Create pay links and QR codes, share them anywhere, and track every payment — no storefront needed.")
.font(.ladill(size: 15))
.foregroundStyle(LadillColors.muted)
}
.padding(.horizontal, 20)
.padding(.top, 24)
Spacer()
ZStack {
RoundedRectangle(cornerRadius: 24)
.fill(LadillColors.indigoSoft)
.frame(height: 220)
Image(systemName: "creditcard.and.qrcode")
.font(.system(size: 72, weight: .light))
.foregroundStyle(LadillColors.indigo.opacity(0.5))
}
.padding(.horizontal, 20)
Spacer()
VStack(spacing: 10) {
LadillButton(title: "Get started", action: onCreateAccount)
LadillSecondaryButton(title: "Sign in", action: onSignIn)
}
.padding(.horizontal, 24)
.padding(.bottom, 12)
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
.background(LadillColors.page)
.navigationBarHidden(true)
}
}