diff --git a/GithubPractice/GithubPractice/Model/LearnerViews.swift b/GithubPractice/GithubPractice/Model/LearnerViews.swift index 9f43bbc..2acda96 100644 --- a/GithubPractice/GithubPractice/Model/LearnerViews.swift +++ b/GithubPractice/GithubPractice/Model/LearnerViews.swift @@ -13,5 +13,6 @@ let learnerViews: [any LearnerView] = [ JudyView(), FridayView(), ElenaView(), - JudyJView() + JudyJView(), + LibbyView() ] diff --git a/GithubPractice/GithubPractice/View/LearnerViews/LibbyView.swift b/GithubPractice/GithubPractice/View/LearnerViews/LibbyView.swift new file mode 100644 index 0000000..35d4888 --- /dev/null +++ b/GithubPractice/GithubPractice/View/LearnerViews/LibbyView.swift @@ -0,0 +1,25 @@ +// +// ElenaView.swift +// GithubPractice +// +// Created by 김지윤 on 5/23/25. +// + +import SwiftUI + +struct LibbyView: LearnerView { + // TODO: 1. 이름, 팀 수정하고 커밋하기 + var name: String = "Libby" + + var team: String = "222" + + var body: some View { + Text("저의 이름은 \(name)입니다.") + .font(.largeTitle) + Text("저의 팀은 \(team) 입니다.") + .font(.subheadline) + } +} +#Preview { + LibbyView() +}