-
Notifications
You must be signed in to change notification settings - Fork 8
BER-26: [Resources Tab]: Create College Info View #318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
||
import SwiftUI | ||
|
||
import SwiftUI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove duplicate import SwiftUI
Please leave two lines from the import statement to the struct
Text("8:30 AM - 12:00 PM").font(Font.custom("BMFont", size:14)) | ||
Text("1:00 PM - 5:00 PM").font(Font.custom("BMFont", size:14)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For view modifiers, please put them on a new line, indented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just use ForEach and u can make an array
} | ||
|
||
private var graduateProgramsView: some View { | ||
VStack(alignment: .leading) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of manualling making bullet points you should use ForEach to make a list of the degrees in the program do for another other list.
.underline() | ||
Text("• Chemistry, Ph.D") | ||
Text("• Chemical Engineering, Ph.D") | ||
Text("• Chemical Biology Graduate Program") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing for here
|
||
private var graduateProgramsView: some View { | ||
VStack(alignment: .leading) { | ||
Text("Graduate Programs") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the degrees are listed below should those be title
[Resources Tab]: Create College Info View:
Linear Link: https://linear.app/moon-stone/issue/BER-26/[resources-tab]-create-college-info-view