logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

show.html.haml (1315B)


  1. - content_for :page_title do
  2. = "##{@tag.name}"
  3. - content_for :header_tags do
  4. %script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
  5. = javascript_pack_tag 'about', integrity: true, crossorigin: 'anonymous'
  6. = render 'og'
  7. .landing-page.tag-page.alternative
  8. .features
  9. .container
  10. .grid
  11. .column-1
  12. #mastodon-timeline{ data: { props: Oj.dump(default_props.merge(hashtag: @tag.name)) } }
  13. .column-2
  14. .about-mastodon
  15. .about-hashtag.landing-page__information
  16. .brand
  17. = link_to root_url do
  18. = image_tag asset_pack_path('logo_full.svg'), alt: 'Mastodon'
  19. %p= t 'about.about_hashtag_html', hashtag: @tag.name
  20. .cta
  21. - if user_signed_in?
  22. = link_to t('settings.back'), root_path, class: 'button button-secondary'
  23. - else
  24. = link_to t('auth.login'), new_user_session_path, class: 'button button-secondary'
  25. = link_to t('about.learn_more'), about_path, class: 'button button-alternative'
  26. .landing-page__features.landing-page__information
  27. %h3= t 'about.what_is_mastodon'
  28. %p= t 'about.about_mastodon_html'
  29. = render 'features'