diff --git a/GithubPractice/GithubPractice/ContentView.swift b/GithubPractice/GithubPractice/ContentView.swift index 87ac4f2..b74920e 100644 --- a/GithubPractice/GithubPractice/ContentView.swift +++ b/GithubPractice/GithubPractice/ContentView.swift @@ -25,5 +25,7 @@ struct ContentView: View { } #Preview { - ContentView() + NavigationStack { + ContentView() + } } diff --git a/GithubPractice/GithubPractice/Model/LearnerViews.swift b/GithubPractice/GithubPractice/Model/LearnerViews.swift index fc3f6d4..e9ad049 100644 --- a/GithubPractice/GithubPractice/Model/LearnerViews.swift +++ b/GithubPractice/GithubPractice/Model/LearnerViews.swift @@ -11,5 +11,6 @@ import SwiftUI let learnerViews: [any LearnerView] = [ LumiView(), JudyView(), - IrisView() + IrisView(), + nooyView(), ] diff --git a/GithubPractice/GithubPractice/View/LearnerViews/nooyView.swift b/GithubPractice/GithubPractice/View/LearnerViews/nooyView.swift new file mode 100644 index 0000000..648b84e --- /dev/null +++ b/GithubPractice/GithubPractice/View/LearnerViews/nooyView.swift @@ -0,0 +1,30 @@ +// +// nooyView.swift +// GithubPractice +// +// Created by nooy on 5/26/26. +// + +import SwiftUI + +struct nooyView: LearnerView { + // TODO: 1. 이름, 팀 수정하고 커밋하기 + var name: String = "nooy" + + var team: String = "🎶Team10 이어폰줄꼬임🎶" + + var body: some View { + Text("저\n의\n이름은\n\(name)💤💤 입니\n다.") + .font(.largeTitle) + Text("저의 팀은 \(team) 이에염.") + .font(.subheadline) + .bold() + .padding() + .background(Color.orange) + } + +} + +#Preview { + nooyView() +}