diff --git a/GithubPractice/GithubPractice/Model/LearnerViews.swift b/GithubPractice/GithubPractice/Model/LearnerViews.swift index a129090..5edaeb0 100644 --- a/GithubPractice/GithubPractice/Model/LearnerViews.swift +++ b/GithubPractice/GithubPractice/Model/LearnerViews.swift @@ -11,5 +11,6 @@ import Foundation let learnerViews: [any LearnerView] = [ LumiView(), FridayView(), + EvanView(), JudyJView() ] diff --git a/GithubPractice/GithubPractice/View/LearnerViews/EvanView.swift b/GithubPractice/GithubPractice/View/LearnerViews/EvanView.swift new file mode 100644 index 0000000..069a0ab --- /dev/null +++ b/GithubPractice/GithubPractice/View/LearnerViews/EvanView.swift @@ -0,0 +1,26 @@ +// +// LumiView.swift +// GithubPractice +// +// Created by 정영진 on 5/22/25. +// + +import SwiftUI + +struct EvanView: LearnerView { + // TODO: 1. 이름, 팀 수정하고 커밋하기 + var name: String = "Evan" + + var team: String = "I can speak" + + var body: some View { + Text("저의 이름은 \(name)입니다.") + .font(.largeTitle) + Text("저의 팀은 \(team) 입니다.") + .font(.subheadline) + } +} + +#Preview { + EvanView() +}