style: prettier

This commit is contained in:
Oliver Davies 2023-10-23 00:51:19 +01:00
parent fe032622fa
commit b217907768
2 changed files with 72 additions and 44 deletions

View file

@ -7,7 +7,10 @@ interface Props {
const { href, text } = Astro.props as Props;
---
<div class="mt-6 not-prose">
<div
class="mt-6 not-prose"
class:list={[position === "centre" ? "flex justify-center" : null]}
>
<a
class="inline-flex justify-center items-center py-3 px-6 w-full text-base font-medium text-white no-underline rounded-md duration-200 ease-in-out md:w-auto hover:bg-white focus:bg-white bg-blue-primary transition-color hover:text-blue-primary focus:text-blue-primary"
href={href}