Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

835 B
Raw Blame
import EnteFonts
import SwiftUI

struct EnteBranding: View {
    var body: some View {
        VStack(alignment: .leading, spacing: -4) {
            Text("ente")
                .font(EnteFont.montserrat(fixedSize: 40))
                .foregroundColor(.black)

            Text("photos")
                .font(EnteFont.montserrat(fixedSize: 20))
                .foregroundColor(.white)
                .padding(.horizontal, 10)
                .padding(.vertical, 4)
                .background(
                    RoundedRectangle(cornerRadius: 8)
                        .fill(Color(red: 0 / 255, green: 179 / 255, blue: 61 / 255)),
                )
                .rotationEffect(.degrees(-8))
                .offset(x: 20, y: -2)
        }
    }
}

#Preview {
    ZStack {
        Color.white
        EnteBranding()
    }
}