Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
use opnform
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-smith committed Sep 23, 2023
1 parent 98c0172 commit ba6d8d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"preview": "wrangler pages dev ./dist",
"astro": "astro"
},
"dependencies": {
Expand Down
14 changes: 2 additions & 12 deletions src/pages/en/contact.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Contactform from "@components/contactform.astro";
<Sectionhead>
<Fragment slot="title">Contact</Fragment>
<Fragment slot="desc">
Gauranteed response within the next 2 business days
Gauranteed response!
</Fragment>
</Sectionhead>

Expand Down Expand Up @@ -41,17 +41,7 @@ import Contactform from "@components/contactform.astro";
</div>

<div class="p-4 lg:p-10">
<script
charset="utf-8"
type="text/javascript"
src="//js-eu1.hsforms.net/forms/embed/v2.js"></script>
<script>
hbspt.forms.create({
region: "eu1",
portalId: "25949168",
formId: "49e455d7-a570-4ca3-9259-d2932500f345",
});
</script>
<iframe style="border:none;width:100%;" height="600px" src="https://opnform.com/forms/contact-us-6clapb"></iframe>
</div>

</main>
Expand Down
14 changes: 2 additions & 12 deletions src/pages/fr/contact.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Contactform from "@components/contactform.astro";
<Container>
<Sectionhead>
<Fragment slot="title">Contact</Fragment>
<Fragment slot="desc">Réponse garantie sous 48h max</Fragment>
<Fragment slot="desc">Réponse garantie !</Fragment>
</Sectionhead>

<div class="grid md:grid-cols-2 gap-10 mx-auto max-w-4xl mt-16">
Expand All @@ -37,17 +37,7 @@ import Contactform from "@components/contactform.astro";
</div>
</div>
<div class="p-4 lg:p-10">
<script
charset="utf-8"
type="text/javascript"
src="//js-eu1.hsforms.net/forms/embed/v2.js"></script>
<script>
hbspt.forms.create({
region: "eu1",
portalId: "25949168",
formId: "2bb5a83b-29a0-4cdf-8192-6405fdc7d750",
});
</script>
<iframe style="border:none;width:100%;" height="600px" src="https://opnform.com/forms/contact-us-6clapb-1"></iframe>
</div>
</div>
</Container>
Expand Down

0 comments on commit ba6d8d6

Please sign in to comment.