From d74c6350367412adc05b89225cba1dadc654dbb9 Mon Sep 17 00:00:00 2001 From: acon <101356372+acornitum@users.noreply.github.com> Date: Tue, 27 May 2025 15:46:34 -0400 Subject: [PATCH] update highlighted projects --- app/views/projects/index.html.erb | 3 ++- config/highlighted_projects.yml | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index a6db00f..0770665 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -5,6 +5,7 @@ <% if @projects.any? %>

Check out what others are building!

+

Highlighted projects with blue borders are handpicked cool projects with good journals.

<%= pluralize(@projects.count, "project") %> <%= @projects.count == 1 ? "has" : "have" %> been started:

<% else %> @@ -17,7 +18,7 @@
<% @projects.each do |project| %> -
hover:border-[#544FFF] rounded-lg text-white hover:bg-[#3A3A6D] transition duration-100 transition-transform hover:scale-102 p-8 h-full flex flex-col"> +
hover:border-[#544FFF] rounded-lg text-white hover:bg-[#3A3A6D] transition duration-100 transition-transform hover:scale-102 p-8 h-full flex flex-col"> <% if project.has_journal? %> <%= link_to project_path(user: project.user, project_name: project.project_name), class: "block mb-2" do %>

<%= project.name.truncate(25) %>

diff --git a/config/highlighted_projects.yml b/config/highlighted_projects.yml index 3ce0e45..abb4c2f 100644 --- a/config/highlighted_projects.yml +++ b/config/highlighted_projects.yml @@ -1 +1,3 @@ -- hackclub/awesome-project \ No newline at end of file +- hackclub/awesome-project +- AGB556/hydra +- programmerturtle/donotdelta \ No newline at end of file