docbrown/app/views/pages/contact.html.erb
Michael Kohl 6dfabd578f
Rename SiteConfig to Settings::General (#13573)
* Rename SiteConfig

* More renaming

* Update spec

* Update mandatory settings mapping

* More renaming

* e2e test fixes

* You have a rename, and you have a rename

* Spec fix

* More changes

* Temporarily disable specs

* After-merge update

* Undo rename for migration

* undo rename of DUS

* Fix DUS

* Fix merge problem

* Remove redundant DUS

* Fix specs

* Remove unused code

* Change wrong class name

* More cleanup

* Re-add missing values to constant

* Fix constant

* Fix spec

* Remove obsolete fields

* Add accidentally removed field

* Update spec

* Move methods from Settings::General to ForemInstance

* Remove unneeded model

* Change mentions of 'site config'
2021-05-21 14:45:37 +02:00

45 lines
1.9 KiB
Text

<% title "Contact #{community_name}" %>
<%= content_for :page_meta do %>
<link rel="canonical" href="<%= app_url("/contact") %>" />
<meta name="description" content="Contact #{community_name}">
<%= meta_keywords_default %>
<meta property="og:type" content="article" />
<meta property="og:url" content="<%= app_url("/contact") %>" />
<meta property="og:title" content="Contact #{community_name}" />
<meta property="og:image" content="<%= Settings::General.main_social_image %>" />
<meta property="og:description" content="<%= community_name %> is great!" />
<meta property="og:site_name" content="<%= community_name %>" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@<%= Settings::General.social_media_handles["twitter"] %>">
<meta name="twitter:title" content="Contact #{community_name}">
<meta name="twitter:description" content="<%= community_name %> is great!">
<meta name="twitter:image:src" content="<%= Settings::General.main_social_image %>">
<% end %>
<div class="crayons-layout crayons-layout--limited-l">
<div class="crayons-card text-styles text-padding">
<h1 class="fs-3xl s:fs-4xl l:fs-5xl fw-bold s:fw-heavy lh-tight mb-4 mt-0">Contacts</h1>
<p>
<%= community_name %> would love to hear from you!
</p>
<p>
Email: <%= email_link %> 😁
</p>
<p>
Twitter: <a href="http://twitter.com/<%= Settings::General.social_media_handles["twitter"] %>">@<%= Settings::General.social_media_handles["twitter"] %></a> 👻
</p>
<p>
Report a vulnerability: <a href="https://dev.to/security">dev.to/security</a> 🐛
</p>
<p>
To report a bug, please create <a href="https://github.com/forem/forem/issues/new/choose">a bug report</a> in our open source repository.
</p>
<p>
To request a feature, please visit <a href="https://forem.dev">forem.dev</a> and write a post!
</p>
</div>
</div>