From 113cd4ceb451dc654591bcb277a55ad0995695d3 Mon Sep 17 00:00:00 2001 From: Yoon Date: Tue, 26 May 2026 17:16:20 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EB=85=B8=EC=9D=B4=20=EB=B7=B0=20=EB=A7=8C?= =?UTF-8?q?=EB=93=A4=EA=B3=A0=20=EB=9F=AC=EB=84=88=EC=8A=A4=EB=B7=B0?= =?UTF-8?q?=EC=8A=A4=EC=97=90=20=EC=B6=94=EA=B0=80=EB=8F=84=20=ED=96=88?= =?UTF-8?q?=EC=96=B4=EC=97=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GithubPractice/ContentView.swift | 4 ++- .../GithubPractice/Model/LearnerViews.swift | 3 +- .../View/LearnerViews/nooyView.swift | 30 +++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 GithubPractice/GithubPractice/View/LearnerViews/nooyView.swift 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..b9e7ec2 --- /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.yellow) + } + +} + +#Preview { + nooyView() +} From e4dff06a6a46d9c4e0f8a3a66121f7ae5e228930 Mon Sep 17 00:00:00 2001 From: Yoon Date: Tue, 26 May 2026 17:16:51 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EB=85=B8=EC=9D=B4=EB=B7=B0=20=EC=83=89?= =?UTF-8?q?=EC=83=81=20=EC=88=98=EC=A0=95=ED=96=88=EC=96=B4=EC=97=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubPractice/GithubPractice/View/LearnerViews/nooyView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GithubPractice/GithubPractice/View/LearnerViews/nooyView.swift b/GithubPractice/GithubPractice/View/LearnerViews/nooyView.swift index b9e7ec2..648b84e 100644 --- a/GithubPractice/GithubPractice/View/LearnerViews/nooyView.swift +++ b/GithubPractice/GithubPractice/View/LearnerViews/nooyView.swift @@ -20,7 +20,7 @@ struct nooyView: LearnerView { .font(.subheadline) .bold() .padding() - .background(Color.yellow) + .background(Color.orange) } }