Format with prettier

This commit is contained in:
prototypa
2022-11-06 14:22:40 -05:00
parent ef74d5dc53
commit 0571bd5eaf
14 changed files with 62 additions and 71 deletions

View File

@ -25,9 +25,7 @@ import { getPermalink, getBlogPermalink, getHomePermalink } from '~/utils/permal
class="items-center w-full md:w-auto hidden md:flex text-gray-600 dark:text-slate-200 h-screen md:h-auto"
aria-label="Main navigation"
>
<ul
class="flex flex-col pt-8 md:pt-0 md:flex-row md:self-center w-full md:w-auto text-xl md:text-base"
>
<ul class="flex flex-col pt-8 md:pt-0 md:flex-row md:self-center w-full md:w-auto text-xl md:text-base">
<li>
<a
class="font-medium hover:text-gray-900 dark:hover:text-white px-4 py-3 flex items-center transition duration-150 ease-in-out"

View File

@ -6,7 +6,7 @@ import Picture from '~/components/core/Picture.astro';
<section>
<div class="max-w-6xl mx-auto px-4 sm:px-6">
<div class="py-12 md:py-20">
<div class="text-center pb-10 md:pb-16">
<div class="text-center pb-10 md:pb-16 max-w-5xl mx-auto">
<h1 class="text-5xl md:text-[3.50rem] font-bold leading-tighter tracking-tighter mb-4 font-heading">
Your website with
<span class="bg-clip-text text-transparent bg-gradient-to-r from-primary-500 to-secondary-500">Astro</span> +
@ -49,9 +49,10 @@ import Picture from '~/components/core/Picture.astro';
src={import('~/assets/images/hero.jpg')}
class="mx-auto rounded-md shadow-lg bg-gray-400 dark:bg-slate-700 w-full"
widths={[400, 768]}
sizes=" (max-width: 767px) 400px, 768px"
sizes="(max-width: 767px) 400px, 768px"
alt="Hero Image"
aspectRatio="16:9"
loading="eager"
/>
</div>
</div>