-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFollowingView.swift
119 lines (109 loc) · 4.78 KB
/
FollowingView.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
//
// Following.swift
// accompliSHARE1
//
// Created by Gnapika Birlangi on 8/2/23.
//
import SwiftUI
struct FollowingView: View {
@Environment(\.dismiss) var dismiss
var body: some View {
ZStack {
Color(.init(genericCMYKCyan: 0.00, magenta: 0.00, yellow: 0.00, black: 0.41, alpha: 0.55))
.ignoresSafeArea()
ScrollView {
VStack(alignment: .leading, spacing: 20.0) {
HStack {
Text(" ")
Button("Done") {
dismiss()
}
}
Text("Following")
.font(.title)
.fontWeight(.bold)
.padding(.bottom, 20)
.padding(.top, -10)
HStack {
VStack (alignment: .leading, spacing: 6.0){
Image("dog")
.resizable()
.scaledToFill()
.frame(width: 30, height: 30)
.clipShape(Circle())
.padding([.trailing], 10.0)
Image("flowers-m")
.resizable()
.scaledToFill()
.frame(width: 30, height: 30)
.clipShape(Circle())
.padding([.top, .trailing], 10.0)
Image("cookie")
.resizable()
.scaledToFill()
.frame(width: 30, height: 30)
.clipShape(Circle())
.padding([.top, .trailing], 10.0)
Image("taylor")
.resizable()
.scaledToFill()
.frame(width: 30, height: 30)
.clipShape(Circle())
.padding([.top, .trailing], 10.0)
Image("rock")
.resizable()
.scaledToFill()
.frame(width: 30, height: 30)
.clipShape(Circle())
.padding([.top, .trailing], 10.0)
Image("alicia")
.resizable()
.scaledToFill()
.frame(width: 30, height: 30)
.clipShape(Circle())
.padding([.top, .trailing], 10.0)
Image("Aayushi")
.resizable()
.scaledToFill()
.frame(width: 30, height: 30)
.clipShape(Circle())
.padding([.top, .trailing], 10.0)
}
VStack (alignment: .leading, spacing: 20.0) {
Text("Gnapika Birlangi")
.font(.title2)
.fontWeight(.semibold)
Text("Michelle Han")
.font(.title2)
.fontWeight(.semibold)
Text("Rachel Yoon")
.font(.title2)
.fontWeight(.semibold)
Text("Taylor Swift")
.font(.title2)
.fontWeight(.semibold)
Text("The Rock")
.font(.title2)
.fontWeight(.semibold)
Text("Alicia Chiang")
.font(.title2)
.fontWeight(.semibold)
Text("Aayushi Garg")
.font(.title2)
.fontWeight(.semibold)
.padding(.bottom, -0.01)
}
}
}
}
.padding()
.background(Color(red: 156/255, green: 236/255, blue: 156/255))
.cornerRadius(35)
}
}
}
struct FollowingView_Previews: PreviewProvider {
static var previews: some View {
FollowingView()
}
}