diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 96731ff6..f7f9e892 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -35,8 +35,8 @@
// "postCreateCommand": "bundle install && rake db:setup",
"postCreateCommand": ".devcontainer/post-create.sh",
"forwardPorts": [
- 3000, // rails development
- 3001, // rails staging
+ 3000, // rails
+ 3001, // thrust
9394, // prometheus exporter
"pgadmin:8080", // pgadmin
"grafana:3100", // grafana
diff --git a/Gemfile b/Gemfile
index 0c4e840b..0ae19754 100644
--- a/Gemfile
+++ b/Gemfile
@@ -144,11 +144,11 @@ gem "attr_json"
group :production, :staging do
gem "rails_semantic_logger", "~> 4.17"
+ gem "cloudflare-rails"
end
group :production do
gem "sd_notify"
- gem "cloudflare-rails"
end
gem "rack", "~> 2.2"
diff --git a/Procfile.staging b/Procfile.staging
index ae880d88..37d10b8f 100644
--- a/Procfile.staging
+++ b/Procfile.staging
@@ -1,4 +1,4 @@
-rails: RAILS_ENV=staging HTTP_PORT=3001 TARGET_PORT=3002 bundle exec thrust ./bin/rails server -p 3002
+rails: RAILS_ENV=staging HTTP_PORT=3001 bundle exec thrust ./bin/rails server
wp-client: RAILS_ENV=development HMR=true ./bin/webpacker-dev-server
wp-server: RAILS_ENV=development HMR=true SERVER_BUNDLE_ONLY=yes ./bin/webpacker --watch
css: RAILS_ENV=development yarn "build:css[debug]" --watch
diff --git a/app/views/domain/posts/index.html.erb b/app/views/domain/posts/index.html.erb
index 45dbaa30..b7f9531a 100644
--- a/app/views/domain/posts/index.html.erb
+++ b/app/views/domain/posts/index.html.erb
@@ -20,20 +20,6 @@
<% index_type_header_partial = "domain/posts/index_type_headers/#{@posts_index_view_config.index_type_header}" %>
<%= render partial: index_type_header_partial, locals: { user: @user, params: params, posts: @posts } %>
-
- <% if params[:view] == "table" %>
- <%= link_to domain_posts_path(view: "gallery"), class: "text-blue-600 hover:text-blue-800" do %>
- Gallery View
- <% end %>
- <% else %>
- <%= link_to domain_posts_path(view: "table"), class: "text-blue-600 hover:text-blue-800" do %>
- Table View
- <% end %>
- <% end %>
- <%= link_to visual_search_domain_posts_path, class: "text-blue-600 hover:text-blue-800" do %>
- Visual Search
- <% end %>
-
<% if @posts_index_view_config.show_domain_filters %>
<%= render partial: "domain_filter_controls" %>
diff --git a/app/views/pages/root.html.erb b/app/views/pages/root.html.erb
index f7a01937..6eff4f30 100644
--- a/app/views/pages/root.html.erb
+++ b/app/views/pages/root.html.erb
@@ -1,32 +1,57 @@
-<% content_for :head do %>
- <%# <%= javascript_pack_tag "application-bundle" %>
-<% end %>
- <%= react_component("UserSearchBar", props: {}, prerender: true, strict_mode: true) %>
-
-
-
-
Questions? Comments? Suggestions?
-
- Contact @DeltaNoises on:
-
- <%= link_to "https://t.me/DeltaNoises", target: "_blank", class: "blue-link inline-flex items-center gap-1" do %>
-
Telegram
- <% end %>
- <%= link_to "https://bsky.app/profile/delta.refurrer.com", target: "_blank", class: "blue-link inline-flex items-center gap-1" do %>
-
BlueSky
- <% end %>
+
+
+ <%= react_component("UserSearchBar", props: {}, prerender: true, strict_mode: true) %>
+
+
+
+
+
+ <%= link_to domain_posts_path, class: "group flex items-center justify-center gap-3 rounded-lg bg-slate-50 border border-slate-200 p-4 hover:bg-blue-50 hover:border-blue-200 transition-all" do %>
+
+
-
+
View All Posts
+
+ <% end %>
+ <%= link_to visual_search_domain_posts_path, class: "group flex items-center justify-center gap-3 rounded-lg bg-slate-50 border border-slate-200 p-4 hover:bg-emerald-50 hover:border-emerald-200 transition-all" do %>
+
+
+
+
Search by Image
+
+ <% end %>
-
-
New
-
- Try the <%= link_to "FurAffinity User Recommender",
- furecs_user_script_path,
- class: "blue-link" %> user script to discover similar artists and users!
+
+
+
+
+
+
New
+
+ Try the <%= link_to "FurAffinity User Recommender",
+ furecs_user_script_path,
+ class: "text-blue-700 underline decoration-blue-300 underline-offset-2 hover:decoration-blue-500 font-medium" %> user script to discover similar artists and users!
+
+
+
+
+
+
+
+
+
Have questions, suggestions, or found a bug?
+
Get in touch with @DeltaNoises
+
+
+ <%= link_to "https://t.me/DeltaNoises", target: "_blank", class: "group inline-flex items-center justify-center gap-2 px-4 py-2 text-sm font-medium text-slate-600 bg-slate-50 border border-slate-200 rounded-lg hover:bg-slate-100 hover:text-slate-700 transition-all" do %>
+
+ Message on Telegram
+ <% end %>
+ <%= link_to "https://bsky.app/profile/delta.refurrer.com", target: "_blank", class: "group inline-flex items-center justify-center gap-2 px-4 py-2 text-sm font-medium text-slate-600 bg-slate-50 border border-slate-200 rounded-lg hover:bg-slate-100 hover:text-slate-700 transition-all" do %>
+
+ Follow on BlueSky
+ <% end %>