Skip to content

Commit 3d27388

Browse files
committed
Make Contact page’s Calendly async
As the Calendly widget on my contact page is above-the-fold, `defer`ring it is a little too aggressive, especially as it being in-`body` means that it’s queued behind SpeedCurve etc. Switching to `async` keeps it off the Critical Path but it’ll hopefully run a little sooner. Body (72 chars)
1 parent 4afdfaf commit 3d27388

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

contact.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ Or book a free call:
1515

1616
<noscript><a href="https://calendly.com/csswizardry/30min" class="btn btn--full">Book a Free Call</a></noscript>
1717

18-
<!-- Calendly inline widget begin -->
1918
<div class="calendly-inline-widget" data-url="https://calendly.com/csswizardry/30min?background_color=f9f9f9&text_color=333333&primary_color=f43059" style="min-width:320px;height:700px;margin-bottom:1.5rem;"></div>
20-
<script type="text/javascript" src="https://assets.calendly.com/assets/external/widget.js" defer fetchpriority=high></script>
21-
<!-- Calendly inline widget end -->
19+
<script src="https://assets.calendly.com/assets/external/widget.js" async fetchpriority=high></script>
2220

2321
- - -
2422

0 commit comments

Comments
 (0)