fix
This commit is contained in:
parent
2647f5836c
commit
a6a2354bc5
@ -0,0 +1,39 @@
|
|||||||
|
//
|
||||||
|
// SwiftUIView.swift
|
||||||
|
// UIKitComponents
|
||||||
|
//
|
||||||
|
// Created by User on 27.05.2025.
|
||||||
|
//
|
||||||
|
|
||||||
|
import SwiftUI
|
||||||
|
|
||||||
|
struct ButtonWKWEB: View {
|
||||||
|
let title: String
|
||||||
|
let vk: Bool
|
||||||
|
|
||||||
|
var body: some View {
|
||||||
|
Button {
|
||||||
|
//
|
||||||
|
} label: {
|
||||||
|
HStack(spacing: 0){
|
||||||
|
Image(vk ? "VK" : "Yandex", bundle: .module)
|
||||||
|
.padding(.trailing, 16)
|
||||||
|
Text("Войти с VK")
|
||||||
|
.tracking(0)
|
||||||
|
.lineSpacing(24)
|
||||||
|
.foregroundStyle(Color.black)
|
||||||
|
.robotoFlex(size: 17, font: .medium)
|
||||||
|
}.frame(maxWidth: .infinity)
|
||||||
|
.frame(height: 60)
|
||||||
|
.overlay {
|
||||||
|
RoundedRectangle(cornerRadius: 12)
|
||||||
|
.stroke(lineWidth: 1)
|
||||||
|
.foregroundStyle(Color("hex#EBEBEB", bundle: .module))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#Preview {
|
||||||
|
ButtonWKWEB(title: "Djnqb", vk: false)
|
||||||
|
}
|
12
Sources/UIKitComponents/Media.xcassets/VK.imageset/Contents.json
vendored
Normal file
12
Sources/UIKitComponents/Media.xcassets/VK.imageset/Contents.json
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "VKH4 logo.pdf",
|
||||||
|
"idiom" : "universal"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
BIN
Sources/UIKitComponents/Media.xcassets/VK.imageset/VKH4 logo.pdf
vendored
Normal file
BIN
Sources/UIKitComponents/Media.xcassets/VK.imageset/VKH4 logo.pdf
vendored
Normal file
Binary file not shown.
12
Sources/UIKitComponents/Media.xcassets/Yandex.imageset/Contents.json
vendored
Normal file
12
Sources/UIKitComponents/Media.xcassets/Yandex.imageset/Contents.json
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "Vector.pdf",
|
||||||
|
"idiom" : "universal"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
BIN
Sources/UIKitComponents/Media.xcassets/Yandex.imageset/Vector.pdf
vendored
Normal file
BIN
Sources/UIKitComponents/Media.xcassets/Yandex.imageset/Vector.pdf
vendored
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user