refactor: use the Button component

This commit is contained in:
Oliver Davies 2023-04-25 01:08:01 +01:00
parent d7a46a3e50
commit f4c19b9972

View file

@ -5,18 +5,15 @@ link: https://savvycal.com/opdavies/consulting-call
price: 199
---
import Button from "~/components/Button.astro";
## How it works
- You book a 60 minute consulting call with me.
- Once payment is received, youll obtain a link to schedule a meeting in my calendar.
- The meeting will take place over Zoom.
<a
class="inline-block py-2 px-5 my-4 text-lg text-white no-underline rounded-lg border-2 transition-colors duration-200 hover:bg-white border-blue-primary bg-blue-primary hover:text-blue-primary"
href={frontmatter.link}
>
Book your call now &rarr;
</a>
<Button href={frontmatter.link} text="Book your call now" />
If you dont find the call valuable, Ill refund 100% of the cost.
@ -30,7 +27,7 @@ If you dont find the call valuable, Ill refund 100% of the cost.
- Reviewing your code and providing advice and suggestions.
<aside class="p-6 my-8 border border-gray-300 dark:bg-gray-800 dark:border-gray-700" markdown="1">
<h2 class="mt-0">Ready to book your call?</h2>
<h2 class="mt-0">Ready to book your call?</h2>
<a class="inline-block py-2 px-5 mt-4 text-lg text-white no-underline rounded-lg border-2 transition-colors duration-200 hover:bg-white border-blue-primary bg-blue-primary hover:text-blue-primary" href={frontmatter.link}>Book now for £{frontmatter.price} &rarr;</a>
<Button href={frontmatter.link} text={`Book now for £${frontmatter.price}`} />
</aside>