mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2024-11-01 00:43:58 +00:00
💄 Added frame for Information of user
This commit is contained in:
parent
2211abd100
commit
3323dcac5a
|
@ -7,6 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"hey" = "Hey 👋🏻";
|
"hey" = "Hey 👋🏻";
|
||||||
|
"information" = "Deine Informationen";
|
||||||
"today" = "Heute";
|
"today" = "Heute";
|
||||||
"tomorrow" = "Morgen";
|
"tomorrow" = "Morgen";
|
||||||
"upcomingExams" = "Nächste Klausuren";
|
"upcomingExams" = "Nächste Klausuren";
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"hey" = "Hey 👋🏻";
|
"hey" = "Hey 👋🏻";
|
||||||
|
"information" = "Your Information";
|
||||||
"today" = "Today";
|
"today" = "Today";
|
||||||
"tomorrow" = "Tomorrow";
|
"tomorrow" = "Tomorrow";
|
||||||
"upcomingExams" = "Upcoming exams";
|
"upcomingExams" = "Upcoming exams";
|
||||||
|
|
|
@ -37,6 +37,32 @@ struct HomeView: View {
|
||||||
)
|
)
|
||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
|
HStack {
|
||||||
|
Spacer()
|
||||||
|
VStack {
|
||||||
|
Text("information".localized(tableName: "HomeView", plural: false))
|
||||||
|
.font(.title3)
|
||||||
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
|
HStack {
|
||||||
|
VStack(alignment: .leading) {
|
||||||
|
Text("course".localized(tableName: "General", plural: false) + ": ")
|
||||||
|
Text("director".localized(tableName: "General", plural: false) + ": ")
|
||||||
|
}
|
||||||
|
VStack(alignment: .leading) {
|
||||||
|
Text(self.course)
|
||||||
|
.bold()
|
||||||
|
Text(self.director)
|
||||||
|
.bold()
|
||||||
|
}.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.padding()
|
||||||
|
.background(
|
||||||
|
RoundedRectangle(cornerRadius: 10)
|
||||||
|
.fill(Color.gray)
|
||||||
|
)
|
||||||
|
Spacer()
|
||||||
|
}
|
||||||
Spacer()
|
Spacer()
|
||||||
HStack {
|
HStack {
|
||||||
Text("course".localized(tableName: "General", plural: false) + ": ")
|
Text("course".localized(tableName: "General", plural: false) + ": ")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user