message: Cookie the dismissal
diff: { truncate } = require 'underscore.string'
  { CURRENT_USER, USER, CURRENT_ACTION, CHANNEL } = require('sharify').data
  { isPhoneLike } = require '../util/device.coffee'
  +Dismisser = require '../has_seen/dismisser.coffee'
  template = -> require('./index.jade') arguments...
  module.exports = ->
  @@ -8,6 +9,13 @@ module.exports = ->
  return if CURRENT_USER?
  return if CURRENT_ACTION not in ['channel', 'profile', 'block']
  + dismisser = new Dismisser
  + key: 'logged_out_cta'
  + limit: 1
  + expires: 2628000 # 1 month
  +
  + return if dismisser.dismissed()
  +
  call = switch CURRENT_ACTION
  when 'channel'
  "Join Are.na to #{if CHANNEL.visibility is 'public' then 'add to' else 'follow'} #{truncate(CHANNEL.title, 35)}"
  @@ -21,3 +29,4 @@ module.exports = ->
  $el.one 'click', '.js-close', (e) ->
  e.preventDefault()
  $el.remove()
  + dismisser.dismiss()
  