elli-website/themes/elli/layouts/partials/intro.html

9 lines
510 B
HTML
Raw Permalink Normal View History

2023-08-16 13:32:12 +02:00
<section class="{{ .Site.Params.ascentColor | default "bg-pink-50" }} dark:bg-gray-900">
<div class="container max-w-screen-lg mx-auto px-6 py-12 grid md:grid-cols-2 gap-4 lg:gap-16 items-center">
<div>
<h1 class="text-4xl font-bold mb-4">{{ .Site.Params.introTitle | safeHTML}}</h1>
<p class="font-light text-lg">{{ .Site.Params.introSubtitle | safeHTML}}</p>
</div>
<img class="rounded-lg shadow-sm" src="{{ .Site.Params.introPhoto }}" alt="{{ .Site.Title }}" />
</div>
</section>