Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ public struct CategoryRow: View {
public struct CategoryItem: View {
public var landmark: Landmark
public var body: some View {
VStack(alignment: .leading) {
VStack {
landmark.image
.renderingMode(.original)
.resizable()
.frame(width: 155, height: 155)
.cornerRadius(5)
.cornerRadius(155 / 2)
Text(landmark.name)
.foregroundColor(.primary)
.font(.caption)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public struct CategoryHome: View {
Text("See All")
}
}
.navigationBarTitle(Text("Featured"))
.navigationBarTitle(Text("Home"))
.navigationBarItems(trailing: profileButton)
.sheet(isPresented: $showingProfile) {
ProfileHost()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public struct LandmarkDetail: View {
VStack {
MapView(coordinate: landmark.locationCoordinate, didFinishRendering: didFinishRendering)
.edgesIgnoringSafeArea(.top)
.frame(height: 300)
.frame(height: 320)

CircleImage(image: landmark.image)
.offset(x: 0, y: -130)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public struct Profile {
Profile(
username: "g_kumar",
prefersNotifications: true,
seasonalPhoto: .winter,
seasonalPhoto: .summer,
goalDate: goalDate
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public struct HikeBadge: View {
Badge()
.frame(width: 300, height: 300)
.scaleEffect(1.0 / 3.0)
.frame(width: 120, height: 120)
.frame(width: 130, height: 130)
Text(name)
.font(.caption)
.accessibility(label: Text("Badge for \(name)."))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public struct LandmarkRow: View {
if landmark.isFavorite {
Image(systemName: "star.fill")
.imageScale(.medium)
.foregroundColor(.yellow)
.foregroundColor(.red)
}
}
}
Expand Down