diff --git a/GithubPractice/GithubPractice/Model/LearnerViews.swift b/GithubPractice/GithubPractice/Model/LearnerViews.swift index 11f591e..2c5320a 100644 --- a/GithubPractice/GithubPractice/Model/LearnerViews.swift +++ b/GithubPractice/GithubPractice/Model/LearnerViews.swift @@ -11,6 +11,7 @@ import Foundation let learnerViews: [any LearnerView] = [ LumiView(), FridayView(), + GabiView(), ElenaView(), JudyJView() ] diff --git a/GithubPractice/GithubPractice/View/LearnerViews/GabiView.swift b/GithubPractice/GithubPractice/View/LearnerViews/GabiView.swift new file mode 100644 index 0000000..b3eaeb6 --- /dev/null +++ b/GithubPractice/GithubPractice/View/LearnerViews/GabiView.swift @@ -0,0 +1,25 @@ +// +// GabiView.swift +// GithubPractice +// +// Created by gabi on 5/23/25. +// + +import SwiftUI + +struct GabiView: LearnerView { + var name: String = "gabi" + + var team: String = "Like Ginie" + + var body: some View { + Text("나는 \(name)다요🎸") + .font(.largeTitle) + Text("\(team) 화이팅! 공쥬들아 힘내자") + .font(.subheadline) + } +} + +#Preview { + GabiView() +}