-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshow.html.erb
More file actions
30 lines (30 loc) · 1.18 KB
/
show.html.erb
File metadata and controls
30 lines (30 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<div class="container mx-auto px-6 py-8 lg:px-8">
<%= render 'actions', startup: @startup %>
<div class="bg-white border border-black p-6 rounded-xs">
<div class="flex justify-between items-center mb-6">
<div>
<h1 class="text-2xl font-bold text-black"><%= @startup.name %></h1>
<p class="mt-1 text-sm text-black max-w-xl"><%= @startup.description %></p>
<div class="mt-2 flex gap-2">
<% @startup.tags.each do |tag| %>
<span class="bg-black text-white text-xs font-bold px-3 py-1 rounded-sm"><%= tag %></span>
<% end %>
</div>
</div>
<%= render 'social_links', startup: @startup %>
</div>
<div class="space-y-4">
<% @startup.roles.each do |role| %>
<div class="flex justify-between items-center border p-4 rounded-sm ">
<div class="flex items-center gap-4">
<div>
<h2 class="text-lg font-bold "><%= role[:title] %></h2>
<p class="text-base font-medium text-black"><%= role[:desc] %></p>
</div>
</div>
<%= render 'apply_button', startup: @startup, role: role %>
</div>
<% end %>
</div>
</div>
</div>