Skip to content

Commit

Permalink
remove contact form and add slack contact details
Browse files Browse the repository at this point in the history
Contact form needs a php backend and we do not want that.
  • Loading branch information
mei-li committed Mar 21, 2021
1 parent 1e6af71 commit bb5b721
Showing 1 changed file with 17 additions and 47 deletions.
64 changes: 17 additions & 47 deletions templates/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,23 @@
</div>
{% endif %}

{% if 'slack' in ABOUT %}
<div class="col-md-4">
<div class="fh5co-feature fh5co-feature-sm animate-box" data-animate-effect="fadeInLeft">
<div class="fh5co-icon">
{% if 'image' in ABOUT %}
<img class="about-image" src="{{ ABOUT.slack.image }}" />
{% else %}
<i class="icon-globe"></i>
{% endif %}
</div>
<div class="fh5co-text">
<p><a href="{{ ABOUT.slack.link }}">{{ ABOUT.slack.text }}</a></p>
</div>
</div>
</div>
{% endif %}

{% if 'phone' in ABOUT %}
<div class="col-md-4">
<div class="fh5co-feature fh5co-feature-sm animate-box" data-animate-effect="fadeInLeft">
Expand All @@ -59,53 +76,6 @@
</div>


<div class="fh5co-narrow-content animate-box" data-animate-effect="fadeInLeft">
<div class="row">
<div class="col-md-4">
<h2>{{ _('Get in touch') }}</h2>
</div>
</div>
<div class="form-loading"></div>
<form id="contact-form" action="">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<input type="text" id="name" class="form-control" placeholder="{{ _('Name') }}">
<input type="text" id="lastname" class="form-control" placeholder="{{ _('Lastname') }}">
</div>
<div class="form-group">
<input type="text" id="email" class="form-control" placeholder="{{ _('Email') }}">
</div>
<div class="form-group">
<input type="text" id="phone" class="form-control" placeholder="{{ _('Phone') }}">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<textarea name="" id="message" cols="30" rows="7" class="form-control" placeholder="{{ _('Message') }}"></textarea>
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary btn-md" value="{{ _('Send') }}">
</div>
</div>
</div>
</div>
</div>
<div class="form-error alert-danger">{{ _('Please fix the issues, all inputs are mandatory.') }}</div>
<div class="form-success alert-success">{{ _('Thank you for your message, we will respond as soon as possible.') }}</div>
</form>
</div>


{% if 'address' in ABOUT %}
<div class="fh5co-feature fh5co-feature-sm animate-box" data-animate-effect="fadeInLeft">
<div id="map" data-address="{{ ABOUT.address }}"></div>
</div>
{% endif %}


{% endblock %}

{% block custom_js %}
Expand Down

0 comments on commit bb5b721

Please sign in to comment.