//
//  ContactViewController.swift
//  Nova
//
//  Created by Andrej Jurkin on 26/09/17.
//  Copyright © 2017 Andrej Jurkin. All rights reserved.
//

import Cocoa

class ContactViewController: NSViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do view setup here.
       
    }
    
    override func viewDidAppear() {
        super.viewDidAppear()
        self.setTransparentTitle()
        AppDelegate.shared().menuBarView?.hidePopover()
    }
}

//
//  ContactViewController.swift
//  Nova
//
//  Created by Andrej Jurkin on 26/09/17.
//  Copyright © 2017 Andrej Jurkin. All rights reserved.
//

import Cocoa

class ContactViewController: NSViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do view setup here.
       
    }
    
    override func viewDidAppear() {
        super.viewDidAppear()
        self.setTransparentTitle()
        AppDelegate.shared().menuBarView?.hidePopover()
    }
   
    @IBAction func onLinkedinClick(_ sender: Any) {
        if let url = URL(string: "https://www.linkedin.com/in/andrej-jurkin-9691379a/") {
            NSWorkspace.shared().open(url)
        }
    }

    @IBAction func onGithubClick(_ sender: Any) {
        if let url = URL(string: "https://github.com/andrejjurkin") {
            NSWorkspace.shared().open(url)
        }
    }

}

Add actions to contact buttons
Add actions to contact buttons
