Remove /sponsorship-info (#7213)

This commit is contained in:
Anna Buianova 2020-04-10 17:29:09 +03:00 committed by GitHub
parent 63893e4ac1
commit 406cc95fcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 49 deletions

View file

@ -1,41 +0,0 @@
<% title "Sponsorship Info and FAQ" %>
<div class="blank-space"></div>
<div class="container article">
<div class="title">
<h1>
Sponsorship Information, Policy and FAQ
</h1>
</div>
<div class="body">
<p>
<b>Who do you work with?</b>
<br>
We work with great developer-focused companies that are interested in supporting the DEV community. These sponsors are financially supporting our operations and will receive acknowledgment with on-site display units, and recognition posts.
</p>
<p>
<b>Do you have an "ethical advertising" policy?</b>
<br>
Yes! So nice of you to ask. In order to ensure your privacy (and the sites performance), it is our policy to host all images ourselves and dont allow any third-party tracking scripts. We dont track you or sell your data. Sponsorships are for the benefit of the community.
</p>
<p>
<b>What if I dont want to see these sponsorship units?</b>
<br>
You may opt-out of seeing sponsorship displays
<a href="/settings/misc">in your settings</a>. However, you may still see occasional sponsor recognition posts.
<br>
<p>
<b>How can my company become a sponsor?</b>
<br>
Check out our <a href="https://dev.to/partnerships">partnerships</a> page for more info.
<p>
<b>Anything else I should know?</b>
<br>
You might be interested in setting up a free <a href="/organization-info">Organization Account</a>.
<p>
<b>What if I have other questions?</b>
<br>
Please send an email to <a href="mailto:yo@dev.to">yo@dev.to</a>.
</p>
</div>
</div>

View file

@ -314,7 +314,6 @@ Rails.application.routes.draw do
get "/survey", to: redirect("https://dev.to/ben/final-thoughts-on-the-state-of-the-web-survey-44nn")
get "/events" => "events#index"
get "/workshops", to: redirect("events")
get "/sponsorship-info" => "pages#sponsorship_faq"
get "/sponsors" => "pages#sponsors"
get "/search" => "stories#search"
post "articles/preview" => "articles#preview"

View file

@ -67,13 +67,6 @@ RSpec.describe "Pages", type: :request do
end
end
describe "GET /sponsorship-info" do
it "has proper headline" do
get "/sponsorship-info"
expect(response.body).to include("Sponsorship Information")
end
end
describe "GET /welcome" do
it "redirects to the latest welcome thread" do
user = create(:user, id: 1)