docbrown/app/views/pages/contact.html.erb
Michael Kohl 728a05c476 Move from env variables to SiteConfig (#5385) [deploy]
* Move from env variables to SiteConfig

Related to #5384

This PR only deals with the first remaining part outlined in the issue, starting to use existing SiteConfig keys instead of the env variables.

* Restore Envfile to original version for now
2020-01-07 16:36:24 -05:00

46 lines
1.7 KiB
Text

<% title "Contact The Practical Dev" %>
<%= content_for :page_meta do %>
<link rel="canonical" href="https://dev.to/contact" />
<meta name="description" content="Contact The Practical Dev">
<meta name="keywords" content="software development,engineering,rails,javascript,ruby">
<meta property="og:type" content="article" />
<meta property="og:url" content="https://dev.to/contact" />
<meta property="og:title" content="Contact The Practical Dev" />
<meta property="og:image" content="http://i.imgur.com/B4JNl1w.png" />
<meta property="og:description" content="The Practical Dev is great!" />
<meta property="og:site_name" content="The Practical Dev" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@<%= SiteConfig.social_networks_handle %>">
<meta name="twitter:title" content="Contact The Practical Dev">
<meta name="twitter:description" content="The Practical Dev is great!">
<meta name="twitter:image:src" content="http://i.imgur.com/B4JNl1w.png">
<% end %>
<div class="container article">
<div class="title">
<h1>
Contact
</h1>
</div>
<div class="body">
<p>
The Practical Dev would love to hear from you!
</p>
<p>
Email: <a href="mailto:<%= SiteConfig.default_site_email %>"><%= SiteConfig.default_site_email %></a> 😁
</p>
<p>
Twitter: <a href="http://twitter.com/<%= SiteConfig.social_networks_handle %>">@<%= SiteConfig.social_networks_handle %></a> 👻
</p>
<p>
Report a vulnerability: <a href="https://dev.to/security">dev.to/security</a> 🐛
</p>
<p>
Please make a GitHub issue for feature requests:
<a href="https://github.com/thepracticaldev/dev.to">thepracticaldev/dev.to</a>.
</p>
</div>
</div>