Skip to content

Commit 7bd6717

Browse files
authored
Merge pull request #146 from DeveloperAcademy-POSTECH/#101-Yoshi
[Feat] 리스트에 Yoshi 뷰 추가
2 parents 1320e1c + 9fd9c55 commit 7bd6717

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

GithubPractice/GithubPractice/Model/LearnerViews.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ let learnerViews: [any LearnerView] = [
1515
FridayView(),
1616
ElenaView(),
1717
JudyJView(),
18+
YoshiView(),
1819
NathanView(),
1920
PresenceView()
2021
]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
//
2+
// LumiView.swift
3+
// GithubPractice
4+
//
5+
// Created by 정영진 on 5/22/25.
6+
//
7+
8+
import SwiftUI
9+
10+
struct YoshiView: LearnerView {
11+
// TODO: 1. 이름, 팀 수정하고 커밋하기
12+
var name: String = "Yoshi"
13+
14+
var team: String = "마리오 월드팀"
15+
16+
var body: some View {
17+
Text("저의 이름은 \(name)입니다.")
18+
.font(.largeTitle)
19+
Text("저의 팀은 \(team) 입니다.")
20+
.font(.subheadline)
21+
}
22+
}
23+
24+
#Preview {
25+
LumiView()
26+
}

0 commit comments

Comments
 (0)