parent
b1d2460298
commit
ece9804034
Binary file not shown.
Binary file not shown.
@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "Vector.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 269 KiB |
@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "Group 2-2.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 27 KiB |
@ -1,19 +0,0 @@
|
||||
//
|
||||
// TopBarView.swift
|
||||
// AllIn
|
||||
//
|
||||
// Created by Emre KARTAL on 19/09/2023.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct GradientRectangle: View {
|
||||
var body: some View {
|
||||
GeometryReader { geometry in
|
||||
Rectangle()
|
||||
.fill(LinearGradient(gradient: Gradient(colors: [Color.blue, Color.red]), startPoint: .leading, endPoint: .trailing))
|
||||
.frame(width: geometry.size.width, height: geometry.size.height * 0.1)
|
||||
.clipped()
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
//
|
||||
// CoinCounter.swift
|
||||
// AllIn
|
||||
//
|
||||
// Created by Emre KARTAL on 20/09/2023.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct CoinCounterView: View {
|
||||
var body: some View {
|
||||
HStack() {
|
||||
Image("AllCoinsIcon")
|
||||
.resizable()
|
||||
.frame(width: 25, height: 25, alignment: .leading)
|
||||
Text("541")
|
||||
}
|
||||
.frame(width: 50, height: 120)
|
||||
.background(Color.white)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,27 @@
|
||||
//
|
||||
// TopBarView.swift
|
||||
// AllIn
|
||||
//
|
||||
// Created by Emre KARTAL on 19/09/2023.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct TopBarView: View {
|
||||
var body: some View {
|
||||
let TopBarColorPink = Color(red: 249/255, green: 81/255, blue: 168/255)
|
||||
let TopBarColorBlue = Color(red: 25/255, green: 159/255, blue: 238/255)
|
||||
let TopBarColorPurple = Color(red: 170/255, green: 126/255, blue: 243/255)
|
||||
GeometryReader { geometry in
|
||||
HStack() {
|
||||
Image("Icon")
|
||||
.resizable()
|
||||
.frame(width: 45, height: 45, alignment: .bottom)
|
||||
}
|
||||
.frame(width: geometry.size.width, height: 120)
|
||||
.background(LinearGradient(gradient:
|
||||
Gradient(colors:[TopBarColorPink,TopBarColorPurple,TopBarColorBlue]),
|
||||
startPoint: .bottomLeading, endPoint: .topTrailing))
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue