diff --git a/GithubPractice/GithubPractice/Model/LearnerViews.swift b/GithubPractice/GithubPractice/Model/LearnerViews.swift index bd5b6bb..37c0e49 100644 --- a/GithubPractice/GithubPractice/Model/LearnerViews.swift +++ b/GithubPractice/GithubPractice/Model/LearnerViews.swift @@ -15,6 +15,7 @@ let learnerViews: [any LearnerView] = [ FridayView(), ElenaView(), JudyJView(), + EmmaView(), JungView(), EnochView(), YoshiView(), diff --git a/GithubPractice/GithubPractice/View/LearnerViews/EmmaView.swift b/GithubPractice/GithubPractice/View/LearnerViews/EmmaView.swift new file mode 100644 index 0000000..cb6df22 --- /dev/null +++ b/GithubPractice/GithubPractice/View/LearnerViews/EmmaView.swift @@ -0,0 +1,26 @@ +// +// LumiView.swift +// GithubPractice +// +// Created by 이혜빈 on 5/23/25. +// + +import SwiftUI + +struct EmmaView: LearnerView { + // TODO: 1. 이름, 팀 수정하고 커밋하기 + var name: String = "Emma" + + var team: String = "러너팀" + + var body: some View { + Text("저의 이름은 \(name)입니다.") + .font(.largeTitle) + Text("저의 팀은 \(team) 입니다.") + .font(.subheadline) + } +} + +#Preview { + EmmaView() +}