-
Notifications
You must be signed in to change notification settings - Fork 250
/
Copy pathCompositorView.swift
52 lines (44 loc) · 1.28 KB
/
CompositorView.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// CompositorView.swift
// SwiftUIChristmasTree
//
// Created by amos @getstream.io on 23.12.2023.
//
import SwiftUI
struct CompositorView: View {
var body: some View {
VStack(spacing: -24) {
XmasSurpriseView()
.scaleEffect(0.12)
.frame(width: 48, height: 64)
.offset(x: -5)
VStack{
SwiftUIXmasTree()
Spacer()
HStack{
HStack{
HeartWithRibbonView()
.offset(y: -26)
GiftWithRibbonView()
.offset(y: -14)
}
.padding(.horizontal, 50)
HStack{
MrsClausView()
.offset(y: -14)
FatherChristmasView()
.offset(y: -26)
MxClausView()
.offset(y: -46)
}
.padding(.horizontal)
}
Spacer()
}
}
}
}
#Preview {
CompositorView()
.preferredColorScheme(.dark)
}