april fools announcement

This commit is contained in:
drusepth 2022-03-29 14:19:21 -07:00
parent ffe3b45baf
commit 34de351866
2 changed files with 64 additions and 2 deletions

View File

@ -35,9 +35,65 @@
</div>
<%= render 'layouts/ganalytics' %>
</main>
<div style="position: absolute; bottom: 0; left: 20%; z-index: 100; padding: 10px;" class="thredded--currently-online">
<h3 style="font-size: 14px; margin: 0; text-align: center">
<a class="waves-effect waves-light modal-trigger" href="#gremlins">
<strong>Important Notebook.ai News</strong>
</a>
</h3>
</div>
<!-- Modal Structure -->
<div id="gremlins" class="modal">
<div class="modal-content">
<h4>
<i class="material-icons left medium green-text">help</i>
Notebook.ai + Gremlins partnership
</h4>
<div class="grey-text">Posted April 1, 2022</div>
<!-- 2 hours in: hype -->
<p>
<strong>It's official!</strong>
I'm very pleased to announce that Notebook.ai has partnered with Gremlin Services! After
very strong communication (<em>mostly gestures</em>) over the past several years, Gremlin
Services has agreed to integrate their spectacular wordsmithery into Notebook.ai.
</p>
<p>
As of today, you can now enjoy the full gremlin experience we've all come to love directly from the forums.
Whether you're
<%= link_to 'discussing unexpected plot points', 'https://www.notebook.ai/forum/plot-factory' %>
with other authors or trying to roleplay as a
<%= link_to 'sad cowboy in love with a turtle', 'https://www.notebook.ai/forum/roleplaying' %>,
the gremlins are now here to help inject a little joy into everything you do.
</p>
<p>
Starting tomorrow (<em>April 2<sup>nd</sup></em>), the gremlin experience will also expand to all of your
worldbuilding pages, timelines, and documents. You'll be able to enjoy the wonderful experience you're having
now no matter where you go. Integrations for your email, messenger, and augmented reality goggles are also
coming soon.
</p>
<p>
Of course, Andrew's still here&mdash;I mean <em>I'm</em> still here and listening to all of your feedback,
always trying to make the site a little better. If you want to vote to turn off these amazing features before
they integrate with the rest of your notebook tomorrow, you can do so with one easy click on
<%= link_to 'this page that exists', 'https://www.notebook.ai/announcements/gremlins/are/my/favorite' %>.
You can also voice your feedback
<%= link_to 'on our Discord', 'https://discord.gg/7WCuGxY3AW' %>.
</p>
<p>
As I always say, happy worldbuilding!
</p>
<p>
&mdash; Andrew <span style="color: #eeeeee">or someone acting in his interests</span>
</p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-close waves-effect waves-green btn-flat">Agree</a>
</div>
</div>
<%= react_component("Footer") unless defined?(@show_footer) && !@show_footer %>
<%= render 'layouts/quick_add_fab' unless defined?(@show_footer) && !@show_footer %>
<%= render partial: 'content/keyboard_controls_help_modal' %>

View File

@ -19,7 +19,13 @@
<%= content_tag :article, id: dom_id(post), class: "thredded--post thredded--#{post.read_state}--post #{muted_post ? muted_post_classes : 'card'}" do %>
<%= render 'thredded/posts_common/actions', post: post, actions: local_assigns[:actions] %>
<%= render 'thredded/posts_common/header', post: post %>
<%= ForumReplacementService.replace(content) || render('thredded/posts/content', post: post) %>
<%=
if user_signed_in && current_user.enabled_april_fools != false
ForumReplacementService.replace(content) || render('thredded/posts/content', post: post)
else
render('thredded/posts/content', post: post)
end
%>
<% if post.pending_moderation? && !Thredded.content_visible_while_pending_moderation %>
<p class="thredded--alert thredded--alert-warning"><%= t 'thredded.posts.pending_moderation_notice' %></p>
<% elsif post.blocked? && post.can_moderate? %>