Skip to content

Commit

Permalink
integrate subtle-ads via api instead of submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
Per-Starke committed Feb 5, 2024
1 parent 811b90d commit b79c6fa
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions _includes/subtle-ads/subtle-ads.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<script src="https://unpkg.com/[email protected]"
integrity="sha384-FhXw7b6AlE/jyjlZH5iHa/tTe9EpJ1Y55RjcgPbjeWMskSxZt1v9qkxLJWNJaGni"
crossorigin="anonymous"></script>

<div hx-get="https://arc42-subtle-ads-backend.vercel.app/api"
hx-trigger="load delay"
hx-swap="outerHTML"
hx-target="#subtle-ads">
</div>

<div id="subtle-ads">
<h4>arc42 offers architecture training.</h4>
<p>
The data is currently loaded from the backend and should display here shortly.
If not, you can see the next dates at
<a rel="noopener noreferrer nofollow" target="_blank" href="https://dates.arc42.org">
dates.arc42.org
</a>.
</p>
</div>

0 comments on commit b79c6fa

Please sign in to comment.