Skip to content

Commit

Permalink
Add missing files from git
Browse files Browse the repository at this point in the history
  • Loading branch information
adisve committed Jan 27, 2023
1 parent be8bb15 commit 42ff54d
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pbxproj merge=union
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "A9383E38-2E26-4828-99C8-45C03575E718"
type = "1"
version = "2.0">
</Bucket>
45 changes: 45 additions & 0 deletions tumble-ios/Core/Views/Schedule/List/CardInformationView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
//
// CardInformationView.swift
// tumble-ios
//
// Created by Adis Veletanlic on 2023-01-26.
//

import SwiftUI

struct CardInformationView: View {
let title: String
let courseName: String
let location: String

var body: some View {
VStack (alignment: .leading) {
Text(title)
.font(.title2)
.foregroundColor(Color("OnSurface"))
.padding(.leading, 25)
.padding(.trailing, 25)
.padding(.bottom, 2.5)
VStack {
Text(courseName)
.font(.title3)
.foregroundColor(Color("OnSurface"))
.padding(.leading, 25)
.padding(.bottom, 10)
Spacer()
}
HStack {
Spacer()
Text(location)
.font(.title3)
.foregroundColor(Color("OnSurface"))
Image(systemName: "location")
.font(.title3)
.foregroundColor(Color("OnSurface"))
.padding(.trailing, 5)
}
.padding(.trailing, 10)
Spacer()
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
//
// PreviewCardInformationView.swift
// tumble-ios
//
// Created by Adis Veletanlic on 2023-01-27.
//

import SwiftUI

struct PreviewCardInformationView: View {
let title: String
let courseName: String
let location: String
var body: some View {
VStack (alignment: .leading) {
Text(title)
.font(.title2)
.foregroundColor(Color("OnSurface"))
.padding(.leading, 25)
.padding(.trailing, 25)
.padding(.bottom, 2.5)
VStack {
Text(courseName)
.font(.title3)
.foregroundColor(Color("OnSurface"))
.padding(.leading, 25)
.padding(.bottom, 10)
Spacer()
}
HStack {
Spacer()
Text(location)
.font(.title3)
.foregroundColor(Color("OnSurface"))
Image(systemName: "location")
.font(.title3)
.foregroundColor(Color("OnSurface"))
.padding(.trailing, 5)
}
.padding(.trailing, 10)
Spacer()
}
}
}

0 comments on commit 42ff54d

Please sign in to comment.