Skip to content

Commit

Permalink
[WEAV-125] 기본 프로필 이미지 레이어링 (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
jisu15-kim authored Nov 18, 2024
1 parent 9d575d3 commit 58a0296
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "profile_border.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "profile_border@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "profile_border@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "profile_default.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "profile_default@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "profile_default@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ public struct ProfilePannelView: View {
VStack(spacing: 6) {
HStack {
Spacer()
RoundedRectangle(cornerRadius: 24)
.frame(width: 102, height: 102)
ZStack {
DesignCore.Images.profileDefault.image
.cornerRadius(20, corners: .allCorners)
DesignCore.Images.profileBorder.image
}
.frame(width: 102, height: 102)
Spacer()
}
.shadow(.default)
Expand Down

0 comments on commit 58a0296

Please sign in to comment.