//
//  PageView.swift
//  Tweaks for Reddit
//
//  Created by Michael Rippe on 4/19/21.
//  Copyright © 2021 Michael Rippe. All rights reserved.
//

import SwiftUI

struct SafariPopoverView: View {
    
    var body: some View {
        VStack(spacing: 20) {
            VStack(spacing: 10) {
                Image(systemName: "bubble.middle.top")
                    .font(.system(size: 68))
                    .foregroundColor(.accentColor)
                Text("The Popover")
                    .font(.system(size: 32, weight: .bold))
            }
            .padding(.horizontal)

            VStack(spacing: 12) {
                Text("The extension can be accessed in Safari via the toolbar.")
                Text("From there, you can enable individual features via their checkboxes.")
                Text("Keep in mind you must be using \"Old Reddit\" in order for the extension to work.")
                    .bold()
            }

            ArtSafariToolbarView()
                .padding(.vertical)

            NextTabButton()
        }
    }
}

struct PageView_Previews: PreviewProvider {
    static var previews: some View {
        SafariPopoverView()
    }
}
