fix positions
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
<?= $this->extend('layout/main_layout') ?>
|
||||
<?= $this->extend('layout/careers_layout') ?>
|
||||
<?= $this->section('styles') ?>
|
||||
<style>
|
||||
body {
|
||||
background-color: var(--sage);
|
||||
}
|
||||
|
||||
.job-posting-copy,
|
||||
.job-posting-copy p,
|
||||
.job-posting-copy li {
|
||||
@@ -89,6 +93,7 @@ $renderPostingText = static function (?string $text): string {
|
||||
<?= esc($position['department'] ?? '') ?>
|
||||
<?php if (!empty($position['location'])): ?> · <?= esc($position['location']) ?><?php endif; ?>
|
||||
<?php if (!empty($position['employment_type'])): ?> · <?= esc($position['employment_type']) ?><?php endif; ?>
|
||||
<?php if (!empty($position['posted_at'])): ?><br><?= esc(date('M j, Y', strtotime((string) $position['posted_at']))) ?><?php endif; ?>
|
||||
</p>
|
||||
<h2 class="h4 mt-4">Description</h2>
|
||||
<div><?= $renderPostingText($position['description'] ?? '') ?></div>
|
||||
|
||||
Reference in New Issue
Block a user