Overhaul the job fair section. Add Kagi!
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
<!-- testimonials -->
|
||||
<!-- img_grid -->
|
||||
{{ if .img_grid }}
|
||||
{{ partial "components/img_grid.html" . }}
|
||||
{{ partial "components/improved-img-grid.html" .img_grid }}
|
||||
{{ end }}
|
||||
<!-- /img_grid -->
|
||||
<!-- card_grid -->
|
||||
|
||||
12
layouts/partials/components/improved-img-grid.html
Normal file
12
layouts/partials/components/improved-img-grid.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="company-grid grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-8 my-12">
|
||||
{{ range .imgs }}
|
||||
<a href="{{ .link }}" target="_blank" rel="noopener noreferrer" class="company-item flex items-center justify-center p-4 bg-white dark:bg-gray-800 rounded-lg transition-transform hover:scale-105">
|
||||
<img
|
||||
src="{{ .img }}"
|
||||
alt="{{ .name }}"
|
||||
class="max-h-16 w-auto object-contain"
|
||||
loading="lazy"
|
||||
/>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user