   window.debug = env is 'development'
 
   $('.control').tooltip()
+
+  $.smartbanner
+    title: "Patiner Montréal"
+    authors: {'android': 'Android' , 'ios': 'iPhone'}
+    price: null
+    appStoreLanguage: t('locale')
+    icons: {'android': '/assets/app-icon-android.png', 'ios': '/assets/app-icon-ios.png'}
+    iOSUniversalApp: false
+    button: t('download')
+    appendToSelector: 'header'
 
   # Toggle social sidebar
   $(window).on 'load', (e) ->

    PPL: 'free-skating'
    PP: 'landscaped'
    C: 'landscaped'
  fr:
    locale: 'fr'
    other_locale: 'en'

    PPL: 'patin-libre'
    PP: 'paysagee'
    C: 'paysagee'
    # smartbanner
    download: 'Télécharger'

window.t = (string, args = {}) ->
  current_locale = args.locale or locale
