Module: Glib::JsonUi::StylingHelper

Defined in:
app/helpers/glib/json_ui/styling_helper.rb

Instance Method Summary collapse

Instance Method Details

#glib_json_image_avatar_urlObject



16
17
18
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 16

def glib_json_image_avatar_url
  'https://www.wpjournalist.nl/wp-content/uploads/2019/03/avatar-jongen-voorbeeld-1.jpg'
end

#glib_json_image_standard_urlObject



12
13
14
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 12

def glib_json_image_standard_url
  'https://cdn-images-1.medium.com/max/1200/1*Qc0XxYm-qAZL-7tjjlNfrg.png'
end

#glib_json_padding_bodyObject



4
5
6
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 4

def glib_json_padding_body
  { top: 12, left: 20, right: 20, bottom: 12 }
end

#glib_json_padding_listObject



8
9
10
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 8

def glib_json_padding_list
  { top: 12, bottom: 12, left: 16, right: 16 }
end