From 3c1a7629c3c49f9df21c7bfcfd7819adb3d87e63 Mon Sep 17 00:00:00 2001 From: Juncheoltree Date: Fri, 23 May 2025 12:15:46 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[Feat]LeoView=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../View/LearnerViews/LeoView.swift | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 GithubPractice/GithubPractice/View/LearnerViews/LeoView.swift diff --git a/GithubPractice/GithubPractice/View/LearnerViews/LeoView.swift b/GithubPractice/GithubPractice/View/LearnerViews/LeoView.swift new file mode 100644 index 0000000..9875584 --- /dev/null +++ b/GithubPractice/GithubPractice/View/LearnerViews/LeoView.swift @@ -0,0 +1,27 @@ +// +// LeoView.swift +// GithubPractice +// +// Created by Leo on 5/23/25. +// + +import SwiftUI + +struct LeoView: LearnerView { + // TODO: 1. 이름, 팀 수정하고 커밋하기 + var name: String = "Leo" + + var team: String = "샤브샤브" + + var body: some View { + Text("저의 이름은 \(name)입니다.") + .font(.largeTitle) + Text("저의 팀은 \(team) 입니다.") + .font(.subheadline) + } +} + +#Preview { + LeoView() +} + From 8f0b5f87c059d98a7406d6d4467f079f48a11506 Mon Sep 17 00:00:00 2001 From: Juncheoltree Date: Fri, 23 May 2025 12:19:13 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[Feat]List=EC=97=90=20LeoView=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubPractice/GithubPractice/Model/LearnerViews.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GithubPractice/GithubPractice/Model/LearnerViews.swift b/GithubPractice/GithubPractice/Model/LearnerViews.swift index 58e7960..f582784 100644 --- a/GithubPractice/GithubPractice/Model/LearnerViews.swift +++ b/GithubPractice/GithubPractice/Model/LearnerViews.swift @@ -10,5 +10,6 @@ import Foundation // TODO: 2. learnerViews에 자신의 View 추가하고 커밋! let learnerViews: [any LearnerView] = [ LumiView(), - FridayView() + FridayView(), + LeoView() ]