You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.7 KiB
56 lines
1.7 KiB
//
|
|
// PodcastDetailView.swift
|
|
// PodcastsClone
|
|
//
|
|
// Created by etudiant on 2023-05-12.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct PodcastDetailView: View {
|
|
|
|
var body: some View {
|
|
ScrollView {
|
|
VStack(alignment: .leading) {
|
|
// TODO image goes here
|
|
|
|
// TODO center this text
|
|
Text("Podcast Title goes here")
|
|
.font(.largeTitle)
|
|
.padding()
|
|
|
|
// TODO center this text
|
|
Text("Author Name goes here")
|
|
.font(.title)
|
|
.foregroundColor(.secondary)
|
|
|
|
// TODO add centered 'play' button that says "|> Latest Episode"
|
|
|
|
Text("Latest Episode Description goes here")
|
|
// TODO make this just 3 lines, with a "MORE" touchable string that makes a full "about" page pop up? Or maybe the "MORE" string won't become clickable at all
|
|
|
|
// TODO add star, rating /5, (nb review), mid-line '.', category, '.', frequency
|
|
|
|
Divider()
|
|
|
|
Text("Episodes")
|
|
.font(.title2)
|
|
.padding()
|
|
|
|
VStack(alignment: .leading) {
|
|
Text("Episode View Cell goes here")
|
|
Text("Episode View Cell goes here")
|
|
Text("Episode View Cell goes here")
|
|
}
|
|
}
|
|
.padding()
|
|
}
|
|
}
|
|
}
|
|
|
|
struct PodcastDetailView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
PodcastDetailView()
|
|
}
|
|
}
|