otwa-aggie/app/views/home/_intro_module.html.erb

33 lines
2.2 KiB
Text
Raw Permalink Normal View History

2026-08-13 04:44:25 +00:00
<div class="intro module">
<center> <h2 style="background: linear-gradient(90deg, rgba(255, 128, 179, 1) 0%, rgba(201, 255, 226, 1) 50%, rgba(255, 135, 197, 1) 100%);border:5px outset hotpink;text-decoration: underline;text-decoration-style:wavy;padding:3px;"><%= ts("Agnes's Personal Site") %></h2>
</center> <p class="stats"><%= ts("more than %{fandom_count} categories | %{work_count} pages", fandom_count: content_tag(:span, number_with_delimiter(@fandom_count), class: "count"), user_count: content_tag(:span, number_with_delimiter(@user_count), class: "count"), work_count: content_tag(:span, number_with_delimiter(@work_count), class: "count")).html_safe %></p>
<p class="parent">Hi! I'm Agnes the Alien or Agnes J. Holiday. It/its. This is my personal website! You can read more about me on my <a href="/about">about page</a> or on my blog.<p>
<script src="https://status.lol/agnes.js?time&link&fluent&pretty"></script>
<div class="account module">
<h4 class="heading">Me, in short:</h4>
<ul>
<li>Writer</li>
<li>Artist</li>
<li>Computerlover</li>
<li>Dyke</li>
<li>Actually insane</li>
<li>A real life alien</li>
<li>The only Starfleet Academy fan that has ever existed</li>
</ul>
<br>
Check out each category for the different pages of my site. <br>
<% if AdminSetting.current.invite_from_queue_enabled? && AdminSetting.current.creation_requires_invite? && AdminSetting.current.request_invite_enabled? %>
<p><%= ts("You can join by getting an invitation from another user or from our automated invite queue. All fans and fanworks are welcome!") %></p>
<p class="actions"><%= link_to ts("Get Invited!"), invite_requests_path %></p>
<% elsif AdminSetting.current.invite_from_queue_enabled? && AdminSetting.current.creation_requires_invite? %>
<p><%= ts("You can join by getting an invitation from our automated invite queue. All fans and fanworks are welcome!") %></p>
<p class="actions"><%= link_to ts("Get Invited!"), invite_requests_path %></p>
<% elsif AdminSetting.current.account_creation_enabled? && !AdminSetting.current.creation_requires_invite? %>
<p class="actions"><%= link_to ts("Create an Account!"), signup_path %></p>
<% end %>
</div>
</div>