about summary refs log tree commit diff
path: root/app/views/tags/show.html.haml
blob: 6266d3c0c536e4b6f2f2a1e5641a41ee0387314a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
- content_for :page_title do
  = "##{@tag.name}"

- content_for :header_tags do
  %script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
  = javascript_pack_tag 'about', integrity: true, crossorigin: 'anonymous'
  = render 'og'

.landing-page.tag-page
  .stripe
  .features
    .container
      #mastodon-timeline{ data: { props: Oj.dump(default_props.merge(hashtag: @tag.name)) } }

      .about-mastodon
        .brand
          = link_to root_url do
            = image_tag asset_pack_path('logo_full.svg'), alt: 'Mastodon'

        %p= t 'about.about_hashtag_html', hashtag: @tag.name

        .cta
          = link_to t('auth.login'), new_user_session_path, class: 'button button-secondary'
          = link_to t('about.learn_more'), root_url, class: 'button button-alternative'

        .features-list
          .features-list__row
            .text
              %h6= t 'about.features.not_a_product_title'
              = t 'about.features.not_a_product_body'
            .visual
              = fa_icon 'fw users'
          .features-list__row
            .text
              %h6= t 'about.features.humane_approach_title'
              = t 'about.features.humane_approach_body'
            .visual
              = fa_icon 'fw leaf'