The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

51 lines
1.9 KiB

  1. - content_for :header_tags do
  2. = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
  3. - content_for :content do
  4. .public-layout
  5. .container
  6. %nav.header
  7. .nav-left
  8. = link_to root_url, class: 'brand' do
  9. = image_tag asset_pack_path('logo_full.svg'), alt: 'Mastodon'
  10. .nav-center
  11. .nav-right
  12. - if user_signed_in?
  13. = link_to t('settings.back'), root_url, class: 'nav-link nav-button webapp-btn'
  14. - else
  15. = link_to t('auth.login'), new_user_session_path, class: 'webapp-btn nav-link nav-button'
  16. = link_to t('auth.register'), new_user_registration_path, class: 'webapp-btn nav-link nav-button'
  17. .container= yield
  18. .container
  19. .footer
  20. .grid
  21. .column-0
  22. %h4= t 'footer.resources'
  23. %ul
  24. %li= link_to t('about.terms'), terms_path
  25. %li= link_to t('about.privacy_policy'), terms_path
  26. .column-1
  27. %h4= t 'footer.developers'
  28. %ul
  29. %li= link_to t('about.documentation'), 'https://github.com/tootsuite/documentation'
  30. %li= link_to t('about.api'), 'https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md'
  31. .column-2
  32. %h4= link_to t('about.what_is_mastodon'), 'https://joinmastodon.org/'
  33. = link_to root_url, class: 'brand' do
  34. = render file: Rails.root.join('app', 'javascript', 'images', 'logo_transparent.svg')
  35. .column-3
  36. %h4= site_hostname
  37. %ul
  38. %li= link_to t('about.about_this'), about_more_path
  39. %li= "v#{Mastodon::Version.to_s}"
  40. .column-4
  41. %h4= t 'footer.more'
  42. %ul
  43. %li= link_to t('about.source_code'), Mastodon::Version.source_url
  44. %li= link_to 'joinmastodon.org', 'https://joinmastodon.org'
  45. = render template: 'layouts/application'