feature/share-libs
erb 116 lines 6.03 KB
Raw
1 <% content_for :meta_head do %>
2 <title><%= @meta_title %></title>
3 <meta name="description" content="<%= @meta_description %>">
4 <meta property="og:title" content="<%= @meta_title %>" />
5 <meta property="og:description" content="<%= @meta_description %>" />
6 <meta property="og:url" content="<%= @meta_url %>" />
7 <% end %>
8 <main>
9 <div class="row g-5 mb-5">
10 <div class="col-md-12">
11 <h1>BACH Tokenomics</h1>
12 </div>
13 </div>
14 <div class="row g-5">
15 <div class="col-sm-4">
16 <div class="position-sticky" style="top: 1rem;">
17 <ul class="list-group list-group-flush">
18 <li class="list-group-item">
19 <span class="fst-italic fw-light"><%= t('bach_token_name') %></span><br/>
20 BACH Token</li>
21 <li class="list-group-item">
22 <span class="fst-italic fw-light"><%= t('bach_token_id') %></span><br/>
23 <div class="badge bg-primary text-wrap text-warning" style="word-break: break-all;">
24 CTQBjyrX8pYyqbNa8vAhQfnRXfu9cUxnvrxj5PvbzTmf
25 </div>
26 </li>
27 <li class="list-group-item"><%= t('bach_token_account') %></span><br/>
28 <div class="badge bg-primary text-wrap text-warning" style="word-break: break-all;">
29 A4Dj3tzEU2V8mkRYXxcu76tQzSVbmppXByWCTFwC8ApN
30 </div>
31 </li>
32 <li class="list-group-item">
33 <span class="fst-italic fw-light"><%= t('bach_token_address') %><br/>
34 <div class="badge bg-primary text-wrap text-warning" style="word-break: break-all;">
35 <%= link_to(
36 'Solscan',
37 'https://solscan.io/token/CTQBjyrX8pYyqbNa8vAhQfnRXfu9cUxnvrxj5PvbzTmf',
38 class: 'text-warning',
39 target: :__blank
40 ) %>
41 </div></li>
42 <li class="list-group-item"><span class="fst-italic fw-light"><%= t('bach_token_symbol') %></span><br/> €BACH</li>
43 <li class="list-group-item"><span class="fst-italic fw-light"><%= t('bach_token_decimal') %></span><br/> 12</li>
44 <li class="list-group-item">
45 <span class="fst-italic fw-light"><%= t('bach_token_fractional') %></span><br/>
46 st (<%= t('bach_token_semitone') %>)<br/>
47 1 €BACH = 1 <%= t('bach_token_trillion') %> st (1.000.000.000.000)
48 </li>
49 <li class="list-group-item"><span class="fst-italic fw-light"><%= t('bach_token_supply') %></span><br/> €BACH 10,000,000</li>
50 <li class="list-group-item"><span class="fst-italic fw-light"><%= t('bach_token_fix_supply') %></span><br/> €BACH 59,103,435</li>
51 </ul>
52 </div>
53 </div>
54 <div class="col-sm-8">
55 <%= @page&.page_content&.html_safe %>
56 <iframe class="rounded text-center mb-3" width="560" height="315" src="https://www.youtube.com/embed/Il5Lk3vyhlg?controls=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
57 <h2><%= t('bach_token_supply_cycles') %></h2>
58 <ul class="list-group mb-3">
59 <li class="list-group-item">
60 <span class="badge bg-warning rounded-pill fw-bold text-primary">Do</span> Air on the G String:
61 <%= link_to(
62 '€ 4,788',
63 'https://solscan.io/tx/2QZxMzxNzJjw8mLeruuMEqszF976K6t3SHXqRjofwJXqMdQhvVNqdW7nVghDBMP2GJgonRcyGWquTinJJyJ7VKxn',
64 class: 'text-light badge bg-primary rounded-pill fst-italic fw-light float-end',
65 target: :__blank
66 ) %>
67 </li>
68 <li class="list-group-item"><span class="badge bg-warning rounded-pill fw-bold text-primary">Re</span> Airdrop #1
69 <%= link_to(
70 '1',
71 'https://solscan.io/account/6JvMs2ZAWLeN4bvajvnmqUwZYpKJmhbmmMd5B1VoAdPn',
72 class: 'text-light badge bg-primary rounded-pill fst-italic fw-light float-end',
73 target: :__blank
74 ) %>
75 <%= link_to(
76 '2',
77 'https://solscan.io/account/nNoMukHL6abkiNDZjAB6qiBAdsCeXCW7uASRLJqLUAf',
78 class: 'text-light badge bg-primary rounded-pill fst-italic fw-light float-end',
79 target: :__blank
80 ) %>
81 <%= link_to(
82 '3',
83 'https://solscan.io/account/2mj6s55J2tQP5V8di82NPK33t6oZzWqMmzGVcBTLjGu7',
84 class: 'text-light badge bg-primary rounded-pill fst-italic fw-light float-end',
85 target: :__blank
86 ) %>
87 </li>
88 <li class="list-group-item"><span class="badge bg-warning rounded-pill fw-bold text-primary">Mi</span> Mint
89 <%= link_to(
90 '€ 990,000',
91 'https://solscan.io/account/2mj6s55J2tQP5V8di82NPK33t6oZzWqMmzGVcBTLjGu7',
92 class: 'text-light badge bg-primary rounded-pill fst-italic fw-light float-end',
93 target: :__blank
94 ) %>
95 </li>
96 <li class="list-group-item"><span class="badge bg-warning rounded-pill fw-bold text-primary">Fa</span> Airdrop #2 TBD</li>
97 <li class="list-group-item"><span class="badge bg-warning rounded-pill fw-bold text-primary">Sol</span> TBD</li>
98 <li class="list-group-item"><span class="badge bg-warning rounded-pill fw-bold text-primary">La</span> TBD</li>
99 <li class="list-group-item"><span class="badge bg-warning rounded-pill fw-bold text-primary">Ti</span> TBD</li>
100 </ul>
101 <% if @page.present? %>
102 <h2 class="mb-2 mt-2"><%= t('bach_token_discussion') %></h2>
103 <%= render "shared/flash_message", object: flash %>
104 <div class="mb-3">
105 <%= form_for [@page, Comment.new] do |f| %>
106 <%= f.text_area :body, placeholder: t('add_comment'), rows: "4" , cols: "50%" %><br/>
107 <%= f.hidden_field :user_id, value: current_user.id if user_signed_in? %>
108 <%= f.submit t('add_comment'), class: "btn btn-primary" %>
109 <% end %>
110 </div>
111 <%= render(partial: 'comments/comment', collection: @page&.comments) %>
112 <% end %>
113 </div>
114 </div>
115 <%= render('shared/partial_breadcrumbs') %>
116 </main>