This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ProfileView: View { | |
var body: some View { | |
GeometryReader { geometry in | |
VStack(alignment: .leading){ | |
HStack{ | |
Text("username") | |
.foregroundColor(lightBlueColor) | |
.fontWeight(.semibold) | |
.padding(.leading, 10) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ProfileView: View { | |
var body: some View { | |
GeometryReader { geometry in | |
VStack(alignment: .leading){ | |
HStack{ | |
Text("username") | |
.foregroundColor(lightBlueColor) | |
.fontWeight(.semibold) | |
.padding(.leading, 10) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HStack{ | |
VStack{ | |
Image("logo-social") | |
.resizable() | |
.frame(width: 90, height: 90) | |
.clipShape(Circle()) | |
.shadow(radius: 3) | |
.overlay(Circle().stroke(Color.pink, lineWidth: 1)) | |
Text("Your Name") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ProfileView: View { | |
var body: some View { | |
GeometryReader { geometry in | |
VStack(alignment: .leading){ | |
HStack{ | |
Text("username") | |
.foregroundColor(lightBlueColor) | |
.fontWeight(.semibold) | |
.padding(.leading, 10) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ProfileView: View { | |
var body: some View { | |
GeometryReader { geometry in | |
VStack(alignment: .leading){ | |
HStack{ | |
Text("username") | |
.foregroundColor(lightBlueColor) | |
.fontWeight(.semibold) | |
.padding(.leading, 10) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct TimelineView: View { | |
let previews:[Preview] = [ | |
Preview(id: 0, imageUrl: "1"), | |
Preview(id: 1, imageUrl: "2"), | |
Preview(id: 2, imageUrl: "3"), | |
Preview(id: 3, imageUrl: "4"), | |
Preview(id: 4, imageUrl: "5"), | |
Preview(id: 5, imageUrl: "6"), | |
Preview(id: 6, imageUrl: "7"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct BottomView: View { | |
var body: some View { | |
HStack{ | |
Button(action: {}){ | |
Image("home") | |
.resizable() | |
.frame(width: 30, height: 30) | |
}.padding() | |
Spacer() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
struct ProfileView: View { | |
var body: some View { | |
GeometryReader { geometry in | |
VStack(alignment: .leading){ | |
HStack{ | |
Text("username") | |
.foregroundColor(lightBlueColor) | |
.fontWeight(.semibold) |