update highlighted projects

This commit is contained in:
acon 2025-05-27 15:46:34 -04:00
parent 539e2cd6a5
commit d74c635036
2 changed files with 5 additions and 2 deletions

View file

@ -5,6 +5,7 @@
<% if @projects.any? %>
<div class="flex flex-col justify-center text-center">
<p class="opacity-70">Check out what others are building!</p>
<p class="opacity-70">Highlighted projects with blue borders are handpicked cool projects with good journals.</p>
<p class="opacity-70"><i><%= pluralize(@projects.count, "project") %> <%= @projects.count == 1 ? "has" : "have" %> been started:</i></p>
</div>
<% else %>
@ -17,7 +18,7 @@
<div class="grid xl:grid-cols-3 gap-4 mt-4 md:grid-cols-2 grid-cols-1">
<% @projects.each do |project| %>
<div class="bg-[#2E2A54] border-2 <%= project.is_highlighted? ? "border-yellow-800" : "border-[#403A88]" %> 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">
<div class="bg-[#2E2A54] border-2 <%= project.is_highlighted? ? "border-blue-600 shadow-[0_0_20px_5px_rgba(84,83,255,0.7)]" : "border-[#403A88]" %> 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 %>
<h1 class="text-2xl font-bold"><%= project.name.truncate(25) %></h1>

View file

@ -1 +1,3 @@
- hackclub/awesome-project
- hackclub/awesome-project
- AGB556/hydra
- programmerturtle/donotdelta