diff --git a/GithubPractice/GithubPractice/Model/LearnerViews.swift b/GithubPractice/GithubPractice/Model/LearnerViews.swift index 11f591e..959df80 100644 --- a/GithubPractice/GithubPractice/Model/LearnerViews.swift +++ b/GithubPractice/GithubPractice/Model/LearnerViews.swift @@ -11,6 +11,8 @@ import Foundation let learnerViews: [any LearnerView] = [ LumiView(), FridayView(), + + ZhenView(), ElenaView(), JudyJView() ] diff --git a/GithubPractice/GithubPractice/View/LearnerViews/ZhenView.swift b/GithubPractice/GithubPractice/View/LearnerViews/ZhenView.swift new file mode 100644 index 0000000..ef48303 --- /dev/null +++ b/GithubPractice/GithubPractice/View/LearnerViews/ZhenView.swift @@ -0,0 +1,25 @@ +// +// ZhenView.swift +// GithubPractice +// +// Created by Zhen on 5/23/25. +// + +import SwiftUI + +struct ZhenView: LearnerView { + var name: String = "zhen" + + var team: String = "송건" + + var body: some View { + Text("저의 이름은 \(name)입니다.") + .font(.largeTitle) + Text("저의 팀은 \(team) 입니다.") + .font(.subheadline) + } +} + +#Preview { + ZhenView() +}