fix(theme): career post template fix

This commit is contained in:
Dimitrie Stefanescu
2021-06-13 14:32:49 +01:00
parent e6c37ce6ef
commit 2e10b811db
+37 -54
View File
@@ -2,75 +2,58 @@
{{#post}}
<article class="relative">
<article class="relative max-w-2xl mx-auto px-4 md:px-0">
{{!-- Header --}}
{{!-- {{> extras/patterns}} --}}
<header class="relative px-4 sm:px-6 lg:px-8 mt-10">
<header class="mt-10 prose prose-lg dark:prose-dark max-w-none">
<div class="max-w-prose mx-auto object-center">
{{#if feature_image}}
<img class="gh-feature-image mx-auto" srcset="{{img_url feature_image size="s"}} 300w,
{{#if feature_image}}
<img class="gh-feature-image mx-auto" srcset="{{img_url feature_image size="s"}} 300w,
{{img_url feature_image size="m"}} 600w,
{{img_url feature_image size="l"}} 1000w,
{{img_url feature_image size="xl"}} 2000w"
sizes="(max-width: 1000px) 1000px, 2000px"
loading="lazy" src="{{img_url feature_image size="xl"}}"
alt="{{title}}" />
{{/if}}
<h1 class="mt-10">
<span class="mt-2 block text-4xl leading-8 font-bold tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl">
Position: <span class="inline-block xl:inline text-gradient text-gradient bg-gradient-to-r from-blue-500 to-blue-700">{{title}}</span>
</span>
</h1>
{{#if custom_excerpt}}
<p class="mt-8 text-2xl text-gray-500 dark:text-gray-300 leading-8">
{{custom_excerpt}}
</p>
{{/if}}
sizes="(max-width: 1000px) 1000px, 2000px"
loading="lazy" src="{{img_url feature_image size="xl"}}"
alt="{{title}}" />
{{/if}}
<h1>
Position: <span class="inline-block xl:inline text-gradient text-gradient bg-gradient-to-r from-blue-500 to-blue-700">{{title}}</span>
</h1>
{{#if custom_excerpt}}
<p>
{{custom_excerpt}}
</p>
{{/if}}
</div>
</header>
<div class="post-body mt-10 max-w-prose mx-auto text-gray-700 dark:text-gray-300">
<div class="prose prose-blue dark:prose-dark max-w-none mt-10">
{{content}}
</div>
<aside class="prose prose-blue dark:prose-dark mt-10">
<div class="mb-10">
<h1>
Apply now!
</h1>
<p>
Send us (hello [at] speckle [dot] systems) an
up-to-date CV & a quick intro
explaining your motivation for joining and
what you think your contribution to the team
can be. Any supporting links or documents are
welcome.
</p>
</div>
<div class="pb-10">
{{> cardTag}}
</div>
</aside>
</article>
<aside class="my-20 max-w-prose mx-auto text-gray-700 dark:text-gray-300">
<div class="relative col-span-2 md:col-span-1 mb-10">
<div class="text-3xl font-semibold text-gray-800 dark:text-gray-200">
How to apply
</div>
<blockquote class="mt-4">
<div class="relative text-lg text-gray-800 dark:text-gray-200 md:flex-grow">
<p class="relative">
Send us (hello [at] speckle [dot] systems) an
up-to-date CV & a quick intro
explaining your motivation for joining and
what you think your contribution to the team
can be. Any supporting links or documents are
welcome.
</p>
</div>
</blockquote>
</div>
<div class="w-full grid gap-5 md:grid-cols-2 lg:grid-cols-2">
{{> cardTag}}
</div>
</aside>
{{/post}}