Skip to content

Commit c58178a

Browse files
Contact Us Form (#73)
* Prepared website to replace email with contact form * Added Contact form to website. Changed links in services, footer and get in touch sidebar to point to form instead of email. Co-authored-by: germanros1987 <38517452+germanros1987@users.noreply.github.com>
1 parent faf760b commit c58178a

File tree

6 files changed

+21
-17
lines changed

6 files changed

+21
-17
lines changed

_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
title: CARLA Simulator
2-
email: carla@embodiedaifoundation.org
32
description: Open-source simulator for autonomous driving research.
43
author: CARLA Team
54
baseurl: ""

_includes/footer.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,11 @@
7575
</a>
7676
</li>
7777
{% endif %}
78-
{% if site.email %}
7978
<li class="list-inline-item">
80-
<a target="_blank" style="text-decoration: none !important" href="mailto:{{ site.email }}">
79+
<a style="text-decoration: none !important" href="/contact">
8180
<i class="fas fa-envelope fa-lg"></i>
8281
</a>
8382
</li>
84-
{% endif %}
8583
{% if site.forum %}
8684
<li class="list-inline-item">
8785
<a target="_blank" style="text-decoration: none !important" href="https://github.com/{{ site.forum }}">

_includes/get_in_touch.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ <h3>Get In Touch</h3>
3535
</a>
3636
</li>
3737
{% endif %}
38-
{% if site.email %}
3938
<li class="list-inline-item">
40-
<a target="_blank" style="text-decoration: none !important" href="mailto:{{ site.email }}">
39+
<a style="text-decoration: none !important" href="/contact">
4140
<i class="fas fa-envelope fa-2x"></i>
4241
</a>
4342
</li>
44-
{% endif %}
4543
</ul>
4644
</div>
4745
</div>

_includes/navbar.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<li class="nav-item">
3030
<a class="nav-link" href="{{"/services" | relative_url }}">Services</a>
3131
</li>
32+
<li class="nav-item">
33+
<a class="nav-link" href="{{"/contact" | relative_url }}">Contact Us</a>
34+
</li>
3235
</ul>
3336
</div>
3437
</div>

contact.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: page
3+
title: Contact Us
4+
description: Open-source simulator for autonomous driving research.
5+
background: '/img/bg-index.jpg'
6+
image: 'img/carla.jpg'
7+
---
8+
9+
<iframe src="https://docs.google.com/forms/d/11xwfNY24ADArmIAhYmhh4WkPerjd81ZnrF3p2ITupSQ/viewform?embedded=true" width="640" height="860" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>

services.html

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,7 @@ <h2 class="featurette-heading responsive-featurette-header">CONSORTIUM AGREEMENT
244244
<li>Get advertised in all CARLA materials</li>
245245
</ul>
246246

247-
<!-- Autofill email subject -->
248-
<a href="mailto:carla@embodiedaifoundation.org?subject=Consortium Agreement Query" class="btn button-morpheus"
247+
<a href="/contact" class="btn button-morpheus"
249248
role="button">Contact Us</a>
250249

251250
</div>
@@ -290,8 +289,8 @@ <h2 class="featurette-heading responsive-featurette-header text-white">SOFTWARE
290289
<li>Integrate strategic tools and solutions for your business</li>
291290
</ul>
292291

293-
<!-- Autofill email subject -->
294-
<a href="mailto:carla@embodiedaifoundation.org?subject=Software Development Collaboration Query"
292+
293+
<a href="/contact"
295294
class="btn btn-outline-light" role="button">Contact Us</a>
296295

297296
</div>
@@ -318,8 +317,7 @@ <h2 class="featurette-heading responsive-featurette-header">PREMIUM SUPPORT</spa
318317
<li>Co-supervised programming sessions</li>
319318
</ul>
320319

321-
<!-- Autofill email subject -->
322-
<a href="mailto:carla@embodiedaifoundation.org?subject=Premium Support Query" class="btn button-morpheus"
320+
<a href="/contact" class="btn button-morpheus"
323321
role="button">Contact Us</a>
324322

325323
</div>
@@ -361,8 +359,8 @@ <h2 class="featurette-heading responsive-featurette-header text-white">CONSULTIN
361359
<li>Consult experts in different fields including simulation, evaluation, rendering, AI and perception</li>
362360
</ul>
363361

364-
<!-- Autofill email subject -->
365-
<a href="mailto:carla@embodiedaifoundation.org?subject=Consulting Services Query" class="btn btn-outline-light"
362+
363+
<a href="/contact" class="btn btn-outline-light"
366364
role="button">Contact Us</a>
367365

368366
</div>
@@ -386,8 +384,7 @@ <h2 class="featurette-heading responsive-featurette-header">AD-HOC COLLABORATION
386384
Flexibility is in the core of CARLA, and new ideas set the ground for innovation.
387385
</p>
388386

389-
<!-- Autofill email subject -->
390-
<a href="mailto:carla@embodiedaifoundation.org?subject=Ad-Hoc Collaboration Proposal" class="btn button-morpheus"
387+
<a href="/contact" class="btn button-morpheus"
391388
role="button">Contact Us</a>
392389

393390
</div>

0 commit comments

Comments
 (0)