Skip to content

Commit

Permalink
chore: enable macros to sync with theme
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkrzyskow committed Sep 25, 2024
1 parent 73ad329 commit efda513
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 90 deletions.
47 changes: 2 additions & 45 deletions docs/free-offer.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,49 +10,6 @@ nype_config:

Get our product for free by allowing us to feature your company name as a Fiori Tracker customer.

Contact us on <span class="nype-code-button nype-show-email">`Show e-mail`</span> or fill out the form below.
Contact us on {% include 'hidden_email.md' %} or fill out the form below.

<div class="nype-form-wrapper">
<form class="nype-form" method="POST">
<label for="fullname">Full Name:</label>
<input
class="md-input"
id="fullname"
name="fullname"
placeholder="Input your name"
required
type="text"
>
<label for="companyname">Company Name:</label>
<input
class="md-input"
id="companyname"
name="companyname"
placeholder="Input your company name"
required
type="text"
>
<label for="email">E-mail:</label>
<input
autocomplete="email"
class="md-input"
id="email"
name="email"
placeholder="Input your e-mail"
required
type="email"
>
<label for="message">What can we do for you?:</label>
<textarea
class="md-input"
id="message"
name="message"
placeholder="Input your message"
required
></textarea>
<button
class="md-button md-button--primary"
type="submit"
>Submit</button>
</form>
</div>
{% include 'contact_form.md' %}
47 changes: 2 additions & 45 deletions docs/offer.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,49 +6,6 @@ nype_config:
---
# Offer Form

Contact us on <span class="nype-code-button nype-show-email">`Show e-mail`</span> or fill out the form below.
Contact us on {% include 'hidden_email.md' %} or fill out the form below.

<div class="nype-form-wrapper">
<form class="nype-form" method="POST">
<label for="fullname">Full Name:</label>
<input
class="md-input"
id="fullname"
name="fullname"
placeholder="Input your name"
required
type="text"
>
<label for="companyname">Company Name:</label>
<input
class="md-input"
id="companyname"
name="companyname"
placeholder="Input your company name"
required
type="text"
>
<label for="email">E-mail:</label>
<input
autocomplete="email"
class="md-input"
id="email"
name="email"
placeholder="Input your e-mail"
required
type="email"
>
<label for="message">What can we do for you?:</label>
<textarea
class="md-input"
id="message"
name="message"
placeholder="Input your message"
required
></textarea>
<button
class="md-button md-button--primary"
type="submit"
>Submit</button>
</form>
</div>
{% include 'contact_form.md' %}
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,6 @@ plugins:
remove_comments: true
cache_safe: true
- sap_icons
- macros:
on_error_fail: !ENV [CI, false]

0 comments on commit efda513

Please sign in to comment.