Skip to content

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sahanabhar
Copy link
Collaborator

@sahanabhar sahanabhar commented Nov 19, 2024

[Resources Tab]: Create College Info View:
Linear Link: https://linear.app/moon-stone/issue/BER-26/[resources-tab]-create-college-info-view

  • Created a view for more information about colleges
  • Hard-coded for Gilman Hall
Screenshot 2024-11-20 at 1 02 14 PM


import SwiftUI

import SwiftUI
Copy link
Collaborator

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

Comment on lines 43 to 44
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))
Copy link
Collaborator

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.

@Chhumbucket Chhumbucket self-requested a review February 28, 2025 04:15
Copy link
Collaborator

@Chhumbucket Chhumbucket left a 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) {
Copy link
Collaborator

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")
Copy link
Collaborator

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")
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants