Reorganize duplicated tailwind code and formatting

This commit is contained in:
prototypa
2022-08-27 01:52:23 -04:00
parent ca01eecc24
commit 212331215b
28 changed files with 424 additions and 950 deletions

View File

@ -1,18 +1,13 @@
---
const {} = Astro.props;
const { } = Astro.props;
---
<section class="relative">
<div class="max-w-6xl mx-auto px-4 sm:px-6">
<div class="py-12 md:py-20">
<div
class="max-w-3xl mx-auto text-center p-6 rounded-md shadow-xl dark:shadow-none"
>
<h2
class="text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-4"
>
<span>Astro</span> + <span class="whitespace-nowrap"
>Tailwind CSS
<div class="max-w-3xl mx-auto text-center p-6 rounded-md shadow-xl dark:shadow-none">
<h2 class="text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-4">
<span>Astro</span> + <span class="whitespace-nowrap">Tailwind CSS
</span>
</h2>
<p class="text-xl text-gray-600 dark:text-slate-400">
@ -21,15 +16,11 @@ const {} = Astro.props;
</p>
<div class="mt-6">
<a
class="btn text-white bg-blue-600 hover:bg-blue-800 sm:mb-0 font-bold"
href="https://github.com/onwidget/astrowind"
target="_blank"
rel="noopener"
>Get template
<a class="btn text-white bg-blue-600 hover:bg-blue-800 sm:mb-0 font-bold"
href="https://github.com/onwidget/astrowind" target="_blank" rel="noopener">Get template
</a>
</div>
</div>
</div>
</div>
</section>
</section>