Improve icons, add homepage links to courses
Build and Publish Docker Container / build (push) Successful in 5m28s

This commit is contained in:
2023-10-08 16:38:40 +01:00
parent b2d8ee0dd9
commit f712837f91
6 changed files with 29 additions and 5 deletions
+11 -1
View File
@@ -6,7 +6,17 @@
<div class="-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
<div class="inline-block py-2 align-middle px-6 lg:px-8">
<div class="overflow-hidden shadow ring-1 ring-black ring-opacity-5 rounded-lg">
<h2 class="text-2xl p-2 px-4"><%= course.title %></h2>
<div class="flex flex-row justify-between items-center px-4 p-2">
<h2 class="text-2xl">
<%= course.title %>
</h2>
<% if course.homepage.present? %>
<a class="align-middle" href="<%= course.homepage %>">
<i class="fa fa-link text-blue-600"></i>
</a>
<% end %>
</div>
<table class="border-t-2 divide-y divide-gray-300 w-full">
<thead class="bg-gray-50">