remove old jobs code
This commit is contained in:
parent
14e802da96
commit
908abfb1eb
1 changed files with 1 additions and 34 deletions
|
@ -1,38 +1,5 @@
|
|||
<!-- Get Data maybe from strapi -->
|
||||
<div id="jobsContainer" class="flex flex-col">
|
||||
<!-- Check if open jobs are available
|
||||
{{ if le (index (.Site.Data.jobs) 0) 0 }}
|
||||
<div class="flex-auto">
|
||||
<h2>There are currently no open jobs to apply for</h2>
|
||||
<p class="small">Please again to a different time</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
Range through all available job offerings
|
||||
{{ range .Site.Data.jobs }}
|
||||
<div class="flex-auto">
|
||||
<h2>{{.title}}</h2>
|
||||
{{ if gt (len .sub) 0 }}
|
||||
<div class="flex flex-row text-2xl">
|
||||
{{ range .sub }}
|
||||
{{ if (eq .source "mdi" ) }}
|
||||
<span class="iconify" data-icon="mdi-{{.icon}}"></span>
|
||||
{{ else }}
|
||||
<span class="icon">
|
||||
<img height="20" width="20" src="https://cdn.jsdelivr.net/npm/simple-icons@v10/icons/{{.icon}}.svg" />
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<p>{{.description}}</p>
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
class="text-white bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 font-medium rounded-full text-sm px-5 py-2.5 text-center me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 max-w-2xs"
|
||||
onclick="openApplyForm('{{.title}}')">Apply</button>
|
||||
{{ end }} -->
|
||||
</div>
|
||||
<div id="jobsContainer" class="flex flex-col"></div>
|
||||
<script src="/js/jobs.js"></script>
|
||||
|
||||
<form action="/" id="apply-form" class="invisible">
|
||||
|
|
Loading…
Reference in a new issue