From 657be683cec6556bce97dc3703b00a3c2960e486 Mon Sep 17 00:00:00 2001 From: Glenn Carremans Date: Tue, 26 Feb 2019 19:09:54 +0100 Subject: [PATCH] Fix linting issues in app/views/pages (#1897) --- app/views/pages/_editor_guide_text.html.erb | 74 +++--- .../_publishing_from_rss_guide_text.html.erb | 14 +- .../pages/_v1_editor_guide_preamble.html.erb | 37 ++- app/views/pages/_wall_of_patrons.html.erb | 10 +- app/views/pages/about.html.erb | 132 ++++++----- app/views/pages/badge.html.erb | 218 +++++++++--------- app/views/pages/badges.html.erb | 68 +++--- app/views/pages/bounty.html.erb | 135 +++++------ app/views/pages/code_of_conduct.html.erb | 35 +-- app/views/pages/contact.html.erb | 5 +- app/views/pages/editor_guide.html.erb | 2 +- app/views/pages/faq.html.erb | 57 +++-- app/views/pages/generator.html.erb | 156 +++++++------ app/views/pages/information.html.erb | 12 +- app/views/pages/live.html.erb | 29 ++- app/views/pages/markdown_basics.html.erb | 23 +- app/views/pages/membership.html.erb | 153 ++++++------ app/views/pages/membership_form.html.erb | 8 +- app/views/pages/now.html.erb | 48 ++-- app/views/pages/org_info.html.erb | 48 ++-- app/views/pages/privacy.html.erb | 155 +++++++------ .../pages/publishing_from_rss_guide.html.erb | 2 +- app/views/pages/report-abuse.html.erb | 37 +-- app/views/pages/rlyweb.html.erb | 124 +++++----- app/views/pages/scholarships.html.erb | 24 +- app/views/pages/sponsors.html.erb | 34 +-- app/views/pages/sponsorship_faq.html.erb | 3 +- app/views/pages/survey.html.erb | 23 +- app/views/pages/swagnets.html.erb | 14 +- app/views/pages/tag_moderation.html.erb | 26 ++- app/views/pages/terms.html.erb | 28 +-- app/views/pages/twitter_monitor.html.erb | 192 ++++++++------- app/views/pages/workshops.html.erb | 12 +- 33 files changed, 1072 insertions(+), 866 deletions(-) diff --git a/app/views/pages/_editor_guide_text.html.erb b/app/views/pages/_editor_guide_text.html.erb index 23d7ca9a3..31b75a9aa 100644 --- a/app/views/pages/_editor_guide_text.html.erb +++ b/app/views/pages/_editor_guide_text.html.erb @@ -6,26 +6,29 @@ <% if version == "1" %> <%= render "pages/v1_editor_guide_preamble" %> <% else %> -

Use markdown to write and format dev.to posts. Use liquid tags to make add rich content such as tweets and videos. More below. ❤️

+

Use markdown to write and format dev.to posts. Use + liquid tags to make add rich content such as tweets and videos. More below. ❤️

<% end %>

✍ Markdown Basics

-

Below are some examples of commonly used markdown syntax. If you want to dive deeper, check out this cheat sheet.

+

Below are some examples of commonly used markdown syntax. If you want to dive deeper, check out + this cheat sheet. +

Bold & Italic

-

Italics: *asterisks* or _underscores_

-

Bold: **double asterisks** or __double underscores__

+

Italics: *asterisks* or _underscores_

+

Bold: **double asterisks** or __double underscores__

Links

I'm an inline link: [I'm an inline link](put-link-here)

Inline Images

- example image, with sloan -

-        ![Alt text of image](put-link-to-image-here)
-      
-
You can even add a caption using the HTML figcaption tag!
+ example image, with sloan

+
+        ![Alt text of image](put-link-to-image-here)
+    
+
You can even add a caption using the HTML figcaption tag!

Headers

Add a header to your post with this syntax:

@@ -37,7 +40,9 @@
Six '#'s for a h6 header

🌊 Liquid Tags

-

We support native Liquid tags in our editor, but have created our own custom tags listed below:

+

We support native + Liquid tags in our editor, but have created our own custom tags listed below: +

dev.to Article/Post Embed

All you need is the full link of the article:

@@ -54,7 +59,9 @@ {% tag git %}

dev.to Comment Embed

-

All you need is the ID at the end of a comment URL. To get the comment link, click either the timestamp or the menu button in the top right corner on a comment and then click "Permalink". Here's an example:

+

All you need is the + ID at the end of a comment URL. To get the comment link, click either the timestamp or the menu button in the top right corner on a comment and then click "Permalink". Here's an example: +

{% devcomment 2d1a %}

dev.to Podcast Episode Embed

@@ -62,13 +69,16 @@ {% podcast https://dev.to/basecspodcast/s2e2--queues-irl %}

Twitter Embed

-

Using the Twitter Liquid tag will allow the tweet to pre-render from the server, providing your reader with a better experience. All you need is the tweet id from the url.

+

Using the Twitter Liquid tag will allow the tweet to pre-render from the server, providing your reader with a better experience. All you need is the tweet + id from the url.

{% twitter 834439977220112384 %}

Glitch embed

All you need is the Glitch project slug

{% glitch earthy-course %} -

There are several optional attributes you can use in your tag, just add them after the id, separated by spaces.

+

There are several + optional attributes you can use in your tag, just add them after the id, separated by spaces. +

app
@@ -100,6 +110,7 @@ Lets you choose which file to display in the code panel. Defaults to index.html.
{% glitch earthy-course file=script.js %}
+

GitHub Repo Embed

All you need is the GitHub username and repo:

@@ -131,11 +142,12 @@ {% codepen https://codepen.io/twhite96/pen/XKqrJX %}
-
default-tab
-
- Add default-tab parameter to your CodePen embed tag. Default to result
- {% codepen https://codepen.io/twhite96/pen/XKqrJX default-tab=js,result %} -
+
default-tab
+
+ Add default-tab parameter to your CodePen embed tag. Default to result
+ {% codepen https://codepen.io/twhite96/pen/XKqrJX default-tab=js,result %} +
+

RunKit Embed

Put executable code within a runkit liquid block, as follows:

@@ -146,14 +158,17 @@ {% stackblitz ball-demo %}
Default view
- You can change the default view, the options are both, preview, editor. Defaults to both
+ You can change the default view, the options are both, preview, editor. Defaults to + both
{% stackblitz ball-demo view=preview %}

CodeSandbox Embed

All you need is the ID of the Sandbox:

{% codesandbox ppxnl191zx %} -

Of CodeSandbox's many optional attributes, the following are supported by using them in your tag, just add them after the id, separated by spaces.

+

Of CodeSandbox's many + optional attributes, the following are supported by using them in your tag, just add them after the id, separated by spaces. +

initialpath
@@ -165,17 +180,19 @@ Which module to open by default.
{% codesandbox ppxnl191zx module=/path/to/module %}
+

JSFiddle Embed

All you need is the full JSFiddle link, ending in the fiddle ID code, as follows:

{% jsfiddle https://jsfiddle.net/link2twenty/v2kx9jcd %}
-
Custom tabs
-
- You can add a custom tab order to you JSFiddle embed tag. Defaults to js,html,css,result
- {% jsfiddle https://jsfiddle.net/webdevem/Q8KVC result,html,css %} -
+
Custom tabs
+
+ You can add a custom tab order to you JSFiddle embed tag. Defaults to js,html,css,result
+ {% jsfiddle https://jsfiddle.net/webdevem/Q8KVC result,html,css %} +
+

repl.it Embed

All you need is the URL after the domain name:

@@ -213,7 +230,8 @@

Parsing Liquid Tags as a Code Example

To parse Liquid tags as code, simply wrap it with a single backtick or triple backticks.

`{% mytag %}{{ site.SOMETHING }}{% endmytag %}`

-

One specific edge case is with using the raw tag. To properly escape it, use this format:

+

One specific edge case is with using the raw tag. To properly escape it, use this format: +

`{% raw %}{{site.SOMETHING }} {% ``endraw`` %}`

Common Gotchas

@@ -227,7 +245,9 @@ alt="example image of writing lists with images in Markdown">

-

Here's the Markdown cheatsheet again for reference.

+

+ Here's the Markdown cheatsheet again for reference. +

Happy posting! 📝

diff --git a/app/views/pages/_publishing_from_rss_guide_text.html.erb b/app/views/pages/_publishing_from_rss_guide_text.html.erb index 9b60a3b38..307af581a 100644 --- a/app/views/pages/_publishing_from_rss_guide_text.html.erb +++ b/app/views/pages/_publishing_from_rss_guide_text.html.erb @@ -3,16 +3,22 @@

Publishing from RSS Guide

-

Front Matter

+

Front Matter

Our RSS reader converts some tags from the RSS items to tags for the Jekyll front matter:

Article Content

-

The article content is prioritized in this order: <content>, <summary>, or <description>. The HTML will be converted to Markdown as the body of the DEV post.

+

The article content is prioritized in this order: <content>, + <summary>, or + <description>. The HTML will be converted to Markdown as the body of the DEV post.

If you're using a Medium RSS feed, Tweet links, YouTube, and Gist iframes are converted to Liquid tags.



diff --git a/app/views/pages/_v1_editor_guide_preamble.html.erb b/app/views/pages/_v1_editor_guide_preamble.html.erb index e9ec6a462..40a9b4b00 100644 --- a/app/views/pages/_v1_editor_guide_preamble.html.erb +++ b/app/views/pages/_v1_editor_guide_preamble.html.erb @@ -1,21 +1,20 @@ -

Things to Know

- + -

Front Matter

-

Custom variables set for each post, located between the triple-dashed lines in your editor. Here is a list of possibilities:

- +

Front Matter

+

Custom variables set for each post, located between the triple-dashed lines in your editor. Here is a list of possibilities:

+ diff --git a/app/views/pages/_wall_of_patrons.html.erb b/app/views/pages/_wall_of_patrons.html.erb index d9510bd26..3c6ea2c9e 100644 --- a/app/views/pages/_wall_of_patrons.html.erb +++ b/app/views/pages/_wall_of_patrons.html.erb @@ -1,17 +1,17 @@ <% cache("wall-of-patrons", expires_in: 3.hours) do %>

Wall of Patrons and Scholars

<% @members.each do |member| %> - + <% end %> -

Thank you for being a dev.to sustaining member!

+

Thank you for being a dev.to sustaining member!

-<% end %> \ No newline at end of file +<% end %> diff --git a/app/views/pages/about.html.erb b/app/views/pages/about.html.erb index 52a36b689..75daf69c1 100644 --- a/app/views/pages/about.html.erb +++ b/app/views/pages/about.html.erb @@ -1,7 +1,7 @@ <% title "About The Practical Dev" %> <%= content_for :page_meta do %> - + @@ -19,32 +19,34 @@ <% end %> - - @@ -56,67 +58,69 @@
-

- Where programmers share ideas and help each other grow. It is an online community for sharing and discovering great ideas, having debates, and making friends. Anyone can share articles, questions, discussions, etc. as long as they have the rights to the words they are sharing. Cross-posting from your own blog is welcome. -

-

Leadership

-
-
-
- " width="250" alt="Ben Halpern"/> -
-
- Ben Halpern, Founder
- Ben manages content, is the core maintainer of the dev.to application, and makes jokes on the Internets. -
+

+ Where programmers share ideas and help each other grow. It is an online community for sharing and discovering great ideas, having debates, and making friends. Anyone can share articles, questions, discussions, etc. as long as they have the rights to the words they are sharing. Cross-posting from your own blog is welcome. +

+

Leadership

+
+
+
+ " width="250" alt="Ben Halpern" />
-
-
- " width="250" alt="Ben Halpern"/> -
-
- Jess Lee, Co-Founder
- Jess leads day-to-day operations, manages content, and contributes to the dev.to codebase. -
-
-
-
- " width="250" alt="Ben Halpern"/> -
-
- Peter Frank, Co-Founder
- Peter focuses on strategy, investor relations, and sending dev.to swag around the globe. -
+
+ Ben Halpern, Founder
+ Ben manages content, is the core maintainer of the dev.to application, and makes jokes on the Internets.
+
+
+ " width="250" alt="Ben Halpern" /> +
+
+ Jess Lee, Co-Founder
+ Jess leads day-to-day operations, manages content, and contributes to the dev.to codebase. +
+
+
+
+ " width="250" alt="Ben Halpern" /> +
+
+ Peter Frank, Co-Founder
+ Peter focuses on strategy, investor relations, and sending dev.to swag around the globe. +
+
+
- -

- The platform was created in 2016. The Twitter account, @ThePracticalDev was around before then. We are based out of New York City. -

+ +

+ The platform was created in 2016. The Twitter account, + @ThePracticalDev was around before then. We are based out of New York City. +

diff --git a/app/views/pages/badge.html.erb b/app/views/pages/badge.html.erb index 5b4366a9f..20a745991 100644 --- a/app/views/pages/badge.html.erb +++ b/app/views/pages/badge.html.erb @@ -1,115 +1,123 @@ - - - - - DEV Community ❤️ - - - <%= @html_variant.html.html_safe %> -
- - + - + ga('create', '<%= ApplicationConfig["GA_TRACKING_ID"] %>', 'auto'); + ga('send', 'pageview'); + ga('send', 'event', 'view', '/badge version impression', '<%= @html_variant.name %>', null); + + diff --git a/app/views/pages/badges.html.erb b/app/views/pages/badges.html.erb index 1730f4671..770339c7a 100644 --- a/app/views/pages/badges.html.erb +++ b/app/views/pages/badges.html.erb @@ -1,7 +1,7 @@ <% title "Add the DEV Badge to your personal site" %> <%= content_for :page_meta do %> - + @@ -19,8 +19,6 @@ <% end %> - -
@@ -29,46 +27,50 @@
+

+ Show visitors that you are an active member of our wonderful community. Put the badge on your personal website or use it as you see fit. +

+ <% if user_signed_in? %>

- Show visitors that you are an active member of our wonderful community. Put the badge on your personal website or use it as you see fit. + + <%= current_user.name %>'s DEV Profile +

- <% if user_signed_in? %> -

- - <%= current_user.name%>'s DEV Profile - -

-

- Make the image as big or as small as you like by modifying the height and width attributes. The badge is an SVG hosted on Amazon Cloudfront and is only 1kb in size. -

-

- Here is the full code for adding the badge with a link to your profile: -

-
+      

+ Make the image as big or as small as you like by modifying the height and + width attributes. The badge is an SVG hosted on Amazon Cloudfront and is only 1kb in size. +

+

+ Here is the full code for adding the badge with a link to your profile: +

+
 
 <a href="https://dev.to/<%= current_user.username %>">
-  <img src="https://d2fltix0v2e0sb.cloudfront.net/dev-badge.svg" alt="<%= current_user.name%>'s DEV Profile" height="30" width="30" />
+  <img src="https://d2fltix0v2e0sb.cloudfront.net/dev-badge.svg" alt="<%= current_user.name %>'s DEV Profile" height="30" width="30" />
 </a>
         
-

You can add the DEV badge via Font Awesome with this snippet: -

-
+      

You can add the DEV badge via + Font Awesome with this snippet: +

+
 <a href="https://dev.to/<%= current_user.username %>">
   <i class="fab fa-dev" title="<%= current_user.username %>'s DEV Profile"></i>
 </a>
         
-

- Getting Started with Font Awesome -

- <% else %> -

- -

-

- Log in to view your custom embed code -

-

- <% end %> +

+ + Getting Started with Font Awesome + +

+ <% else %> +

+ +

+

+ Log in to view your custom embed code +

+

+ <% end %>
diff --git a/app/views/pages/bounty.html.erb b/app/views/pages/bounty.html.erb index 4af2c371e..107cc6a0c 100644 --- a/app/views/pages/bounty.html.erb +++ b/app/views/pages/bounty.html.erb @@ -1,7 +1,7 @@ <% title "Reporting Vulnerabilities" %> <%= content_for :page_meta do %> - + @@ -22,71 +22,72 @@
-

- - octopus attacking our systems - -

-

- Found a vulnerability in our systems? Shoot us an email at yo@dev.to. You'll hear back from us within two weeks at the latest, and we'll let you know a few things: -

-
    -
  • If it's been reported previously,
  • -
  • Whether or not we think it's an issue,
  • -
  • And if it's eligible for a reward.
  • -
-

- When submitting a report, we ask that you do NOT attempt any findings on a community member's article or comments as a courtesy to other members. - Please create your own article and leave comments on your private draft. - We use Ruby on Rails, and your report may affect Rails, Ruby, or other parts of our technology stack. - We kindly request your patience before submitting these issues. - Not following these rules will void any reward. -

-

- Vulnerabilties are assessed via BugCrowd's taxonomy rating and our judgment. We strive to be honest, fair and reasonable based on the current size of our current overall operating budget. -

-
    -
  • Low risk vulnerabilities will be rewarded with $50 USD.
  • -
  • Medium risk vulnerabilities will be rewarded with $100 USD.
  • -
  • High risk vulnerabilities will be rewarded with $150 USD.
  • -
-

- Thanks to those who have helped us by finding, fixing, and disclosing security issues safely: -

-
    - <% hunters = [ 'Shintaro Kobori', - 'Mohammad Abdullah', - 'Guilherme Scombatti', - 'Sajibe Kanti', - 'Mustafa Khan', - 'Footstep Security', - 'Zee Shan', - 'Muhammad Muhaddis', - 'Ismail Hossain', - 'Chakradhar Chiru', - 'Vis Patel', - 'Ahsan Khan', - 'Yeasir Arafat', - 'Prial Islam', - 'Pritesh Mistry', - 'Jerbi Nessim', - 'Kishan Kumar', - 'Md. Nur A Alam Dipu', - 'Aman Mahendra', - 'Kaushik Roy', - 'Shiv Bihari Pandey', - 'Sahil Mehra', - 'Antony Garand', - 'Rahul PS', - 'Gids Goldberg', - 'Mathieu Paturel', - 'Benoit Côté-Jodoin', - 'Nicolas Verdier', - ] %> - <% hunters.shuffle.each do |hunter| %> -
  • <%= hunter %>
  • - <%end %> -
-

+

+ + octopus attacking our systems + +

+

+ Found a vulnerability in our systems? Shoot us an email at + yo@dev.to. You'll hear back from us within two weeks at the latest, and we'll let you know a few things: +

+
    +
  • If it's been reported previously,
  • +
  • Whether or not we think it's an issue,
  • +
  • And if it's eligible for a reward.
  • +
+

+ When submitting a report, we ask that you do NOT attempt any findings on a community member's article or comments as a courtesy to other members. + Please create your own article and leave comments on your private draft. + We use Ruby on Rails, and your report may affect Rails, Ruby, or other parts of our technology stack. + We kindly request your patience before submitting these issues. + Not following these rules will void any reward. +

+

+ Vulnerabilties are assessed via + BugCrowd's taxonomy rating and our judgment. We strive to be honest, fair and reasonable based on the current size of our current overall operating budget. +

+
    +
  • Low risk vulnerabilities will be rewarded with $50 USD.
  • +
  • Medium risk vulnerabilities will be rewarded with $100 USD.
  • +
  • High risk vulnerabilities will be rewarded with $150 USD.
  • +
+

+ Thanks to those who have helped us by finding, fixing, and disclosing security issues safely: +

+
    + <% hunters = ["Shintaro Kobori", + "Mohammad Abdullah", + "Guilherme Scombatti", + "Sajibe Kanti", + "Mustafa Khan", + "Footstep Security", + "Zee Shan", + "Muhammad Muhaddis", + "Ismail Hossain", + "Chakradhar Chiru", + "Vis Patel", + "Ahsan Khan", + "Yeasir Arafat", + "Prial Islam", + "Pritesh Mistry", + "Jerbi Nessim", + "Kishan Kumar", + "Md. Nur A Alam Dipu", + "Aman Mahendra", + "Kaushik Roy", + "Shiv Bihari Pandey", + "Sahil Mehra", + "Antony Garand", + "Rahul PS", + "Gids Goldberg", + "Mathieu Paturel", + "Benoit Côté-Jodoin", + "Nicolas Verdier"] %> + <% hunters.shuffle.each do |hunter| %> +
  • <%= hunter %>
  • + <% end %> +
+

diff --git a/app/views/pages/code_of_conduct.html.erb b/app/views/pages/code_of_conduct.html.erb index 1a17b2fa7..058772477 100644 --- a/app/views/pages/code_of_conduct.html.erb +++ b/app/views/pages/code_of_conduct.html.erb @@ -1,19 +1,19 @@ <% title "The Practical Dev Code of Conduct" %> <%= content_for :page_meta do %> - - - - - - - - - - - - - - + + + + + + + + + + + + + + <% end %>
@@ -25,7 +25,8 @@

All participants of The DEV Community are expected to abide by our Code of Conduct, both online and during in-person events that are hosted and/or associated with DEV.

Our Pledge

-

In the interest of fostering an open and welcoming environment, we as moderators of DEV pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. +

In the interest of fostering an open and welcoming environment, we as moderators of + DEV pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

Our Standards

Examples of behavior that contributes to creating a positive environment include:

@@ -54,7 +55,9 @@
  • Criticisms of racist, sexist, cissexist, or otherwise oppressive behavior or assumptions
  • Enforcement

    -

    Violations of the Code of Conduct may be reported by contacting the team via the abuse report form or by sending an email to yo@dev.to. All reports will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Further details of specific enforcement policies may be posted separately.

    +

    Violations of the Code of Conduct may be reported by contacting the team via the + abuse report form or by sending an email to yo@dev.to. All reports will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Further details of specific enforcement policies may be posted separately. +

    Moderators have the right and responsibility to remove comments or other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any members for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

    Attribution

    This Code of Conduct is adapted from:

    diff --git a/app/views/pages/contact.html.erb b/app/views/pages/contact.html.erb index 58ce75982..802cae333 100644 --- a/app/views/pages/contact.html.erb +++ b/app/views/pages/contact.html.erb @@ -1,7 +1,7 @@ <% title "Contact The Practical Dev" %> <%= content_for :page_meta do %> - + @@ -36,7 +36,8 @@ Twitter: @thepracticaldev 👻

    - Please make a GitHub issue for feature requests: thepracticaldev/dev.to. + Please make a GitHub issue for feature requests: + thepracticaldev/dev.to.

    diff --git a/app/views/pages/editor_guide.html.erb b/app/views/pages/editor_guide.html.erb index 4d9546445..a7b4ea954 100644 --- a/app/views/pages/editor_guide.html.erb +++ b/app/views/pages/editor_guide.html.erb @@ -1,7 +1,7 @@ <% title "Editor Guide" %> <%= content_for :page_meta do %> - + diff --git a/app/views/pages/faq.html.erb b/app/views/pages/faq.html.erb index affc1c9e9..f2dc7afea 100644 --- a/app/views/pages/faq.html.erb +++ b/app/views/pages/faq.html.erb @@ -1,7 +1,7 @@ <% title "FAQ for dev.to()" %> <%= content_for :page_meta do %> - + @@ -19,8 +19,6 @@ <% end %> - -
    @@ -37,7 +35,8 @@

    Who can post to dev.to?
    - Anyone! Yes, you have permission to make a new post of any kind as long as it meets our community guidelines and gets through common-sense spam filters. Your post is subject to removal at the discretion of the moderators if they believe it does not meet the requirements of our code of conduct. + Anyone! Yes, you have permission to make a new post of any kind as long as it meets our community guidelines and gets through common-sense spam filters. Your post is subject to removal at the discretion of the moderators if they believe it does not meet the requirements of our + code of conduct.

    How do I get featured on the home page? @@ -55,13 +54,14 @@

    What about my post's Google ranking?
    - You can set the canonical_url of your post before publishing so that Google knows where to send the link juice (that precious, precious link juice). + You can set the + canonical_url of your post before publishing so that Google knows where to send the link juice (that precious, precious link juice).

    I found a bug (not a security vulnerability). How do I report it?
    Please create an issue on our repo. -

    +

    I found a security vulnerability. How do I report it?
    @@ -78,12 +78,15 @@

    How does dev.to make money?
    - Right now, we count on our sustaining members and sponsors. We also sell some merchandise on The DEV Shop. + Right now, we count on our + sustaining members and sponsors. We also sell some merchandise on + The DEV Shop.

    What's up with your sponsors?
    - If you have questions about sponsorships (i.e. how to turn off sponsor displays), visit our sponsorship info page. + If you have questions about sponsorships (i.e. how to turn off sponsor displays), visit our + sponsorship info page.

    How do I delete my account? @@ -92,18 +95,20 @@

    Do I own the articles that I publish? - Yes, you own the rights to the content you create and post on dev.to and you have the full authority to post, edit, and remove your content as you see fit.

    - By posting content on dev.to, you give us a nonexclusive license to publish it, including anything reasonably related to publishing it (like storing, displaying, reformatting, and distributing it). -

    + Yes, you own the rights to the content you create and post on dev.to and you have the full authority to post, edit, and remove your content as you see fit. +

    + By posting content on dev.to, you give us a nonexclusive license to publish it, including anything reasonably related to publishing it (like storing, displaying, reformatting, and distributing it). +

    Will you put ads on my posts' pages?
    No ad will ever be placed next to a user's post without their full partnership on the matter. -

    +

    How do I set a cover image on my post?
    - Include `cover_image: [url]` in the front matter of your post. For more information on our editor, check out our editor guide. + Include `cover_image: [url]` in the front matter of your post. For more information on our editor, check out our + editor guide.

    How does comment threading work? @@ -113,12 +118,14 @@

    I heard you were planning on open sourcing the code. Is that ever going to happen?
    - Yes! In fact, we have already open sourced the dev.to platform. You can head over to our GitHub repository to check it out! + Yes! In fact, we have already open sourced the dev.to platform. You can head over to + our GitHub repository to check it out!

    -

    Member FAQs

    +

    Member FAQs

    When will I get access to beta features? - We'll be rolling out beta features on a regular basis. Check your settings page to enable/disable them. + We'll be rolling out beta features on a regular basis. Check + your settings page to enable/disable them.

    How do I claim my gift (stickers, swagpack, etc.)? @@ -127,36 +134,36 @@

    As a Level 3 member, I received my shirt but no stickers in the mail.
    We mail out the sticker packs separately from the shirts. Please be patient! If you don't recieve the stickers within three weeks (domestic) or six weeks (international), e-mail members@dev.to for help. -

    +

    How do I cancel my sustaining membership?
    - Go to your settings page and click 'cancel membership'. + Go to your settings page and click 'cancel membership'.

    I have a billing issue.
    - Please e-mail members@dev.to immediately. -

    + Please e-mail members@dev.to immediately. +

    How are scholarships provided?
    - Scholarship are provided through our scholarship fund which takes contributions from our sponsors and individual patrons. -

    + Scholarship are provided through our scholarship fund which takes contributions from our sponsors and individual patrons. +

    How do I apply for a scholarship?
    - You can fill out the scholarship application on our scholarships page. + You can fill out the scholarship application on our scholarships page.

    When will I hear back about my scholarship application?
    Within 1-2 weeks. -

    +

    I have more questions.
    Great! We're happy to answer them. Please email members@dev.to! -

    +

    diff --git a/app/views/pages/generator.html.erb b/app/views/pages/generator.html.erb index 417956f81..a99abbb00 100644 --- a/app/views/pages/generator.html.erb +++ b/app/views/pages/generator.html.erb @@ -1,45 +1,46 @@ <% title "O RLY Parody Book Generator for Slack" %> -<%= stylesheet_link_tag 'application', media: 'all' %> +<%= stylesheet_link_tag "application", media: "all" %> -<%= javascript_include_tag 'application' %> - +<%= javascript_include_tag "application" %> <%= content_for :page_meta do %> - - - + + + - - - - - - + + + + + + - - - - - + + + + + <% end %>

    - loading - Making Your Own Parody Covers + loading + Making Your Own Parody Covers Add to Slack

    Insult your co-workers with snarky O RLY parody book covers. All without leaving Slack!

    Add to Slack
    Loved by thousands of Slack teams! -
    +
    -

    But don't thank @ThePracticalDev for this one

    +

    But don't thank + @ThePracticalDev for this one

    This tool was created with love by Charles Berlin (@AModelEngineer) +

    Using the Tool

    @@ -47,47 +48,49 @@ /orly {title};{topText};{author};{image1-40(optional)};{theme0-16(optional)}

    Animal Codes

    -

    The animal images are from the USF ClipArt ETC project. They are used in this O RLY Cover Generator for the purposes of parody.

    -
    <%= image_tag "1.png", alt: 'grizzly bear' %>1
    -
    <%= image_tag "2.png", alt: 'cat' %>2
    -
    <%= image_tag "3.png", alt: 'coyote' %>3
    -
    <%= image_tag "4.png", alt: 'cow' %>4
    -
    <%= image_tag "5.png", alt: 'horse' %>5
    -
    <%= image_tag "6.png", alt: 'deer with antlers' %>6
    -
    <%= image_tag "7.png", alt: 'baboon' %>7
    -
    <%= image_tag "8.png", alt: 'wombat' %>8
    -
    <%= image_tag "9.png", alt: 'platypus' %>9
    -
    <%= image_tag "10.png", alt: 'bat' %>10
    -
    <%= image_tag "11.png", alt: 'crested pelican' %>11
    -
    <%= image_tag "12.png", alt: 'shoebill' %>12
    -
    <%= image_tag "13.png", alt: 'wry-bill (bird)' %>13
    -
    <%= image_tag "14.png", alt: 'raven' %>14
    -
    <%= image_tag "15.png", alt: 'ostrich' %>15
    -
    <%= image_tag "16.png", alt: 'chameleon' %>16
    -
    <%= image_tag "17.png", alt: 'frog' %>17
    -
    <%= image_tag "18.png", alt: 'mexican axolotl (salamander)' %>18
    -
    <%= image_tag "19.png", alt: 'lizard' %>19
    -
    <%= image_tag "20.png", alt: 'rattlesnake' %>20
    -
    <%= image_tag "21.png", alt: 'catfish (sheatfish)' %>21
    -
    <%= image_tag "22.png", alt: 'marbled angler fish' %>22
    -
    <%= image_tag "23.png", alt: 'john dory fish' %>23
    -
    <%= image_tag "24.png", alt: 'European lamprey or eel (stone sucker)' %>24
    -
    <%= image_tag "25.png", alt: 'short sunfish' %>25
    -
    <%= image_tag "26.png", alt: 'butterfly' %>26
    -
    <%= image_tag "27.png", alt: 'moth' %>27
    -
    <%= image_tag "28.png", alt: 'fly' %>28
    -
    <%= image_tag "29.png", alt: 'dragonfly' %>29
    -
    <%= image_tag "30.png", alt: 'stinkbug' %>30
    -
    <%= image_tag "31.png", alt: 'spider' %>31
    -
    <%= image_tag "32.png", alt: 'scorpion' %>32
    -
    <%= image_tag "33.png", alt: 'crab' %>33
    -
    <%= image_tag "34.png", alt: 'lobster' %>34
    -
    <%= image_tag "35.png", alt: 'horseshoe crab' %>35
    -
    <%= image_tag "36.png", alt: 'sea cucumber' %>36
    -
    <%= image_tag "37.png", alt: 'abalone' %>37
    -
    <%= image_tag "38.png", alt: 'jellyfish' %>38
    -
    <%= image_tag "39.png", alt: 'coral' %>39
    -
    <%= image_tag "40.png", alt: 'two mushrooms' %>40
    +

    The animal images are from the + USF ClipArt ETC project. They are used in this O RLY Cover Generator for the purposes of parody. +

    +
    <%= image_tag "1.png", alt: "grizzly bear" %>1
    +
    <%= image_tag "2.png", alt: "cat" %>2
    +
    <%= image_tag "3.png", alt: "coyote" %>3
    +
    <%= image_tag "4.png", alt: "cow" %>4
    +
    <%= image_tag "5.png", alt: "horse" %>5
    +
    <%= image_tag "6.png", alt: "deer with antlers" %>6
    +
    <%= image_tag "7.png", alt: "baboon" %>7
    +
    <%= image_tag "8.png", alt: "wombat" %>8
    +
    <%= image_tag "9.png", alt: "platypus" %>9
    +
    <%= image_tag "10.png", alt: "bat" %>10
    +
    <%= image_tag "11.png", alt: "crested pelican" %>11
    +
    <%= image_tag "12.png", alt: "shoebill" %>12
    +
    <%= image_tag "13.png", alt: "wry-bill (bird)" %>13
    +
    <%= image_tag "14.png", alt: "raven" %>14
    +
    <%= image_tag "15.png", alt: "ostrich" %>15
    +
    <%= image_tag "16.png", alt: "chameleon" %>16
    +
    <%= image_tag "17.png", alt: "frog" %>17
    +
    <%= image_tag "18.png", alt: "mexican axolotl (salamander)" %>18
    +
    <%= image_tag "19.png", alt: "lizard" %>19
    +
    <%= image_tag "20.png", alt: "rattlesnake" %>20
    +
    <%= image_tag "21.png", alt: "catfish (sheatfish)" %>21
    +
    <%= image_tag "22.png", alt: "marbled angler fish" %>22
    +
    <%= image_tag "23.png", alt: "john dory fish" %>23
    +
    <%= image_tag "24.png", alt: "European lamprey or eel (stone sucker)" %>24
    +
    <%= image_tag "25.png", alt: "short sunfish" %>25
    +
    <%= image_tag "26.png", alt: "butterfly" %>26
    +
    <%= image_tag "27.png", alt: "moth" %>27
    +
    <%= image_tag "28.png", alt: "fly" %>28
    +
    <%= image_tag "29.png", alt: "dragonfly" %>29
    +
    <%= image_tag "30.png", alt: "stinkbug" %>30
    +
    <%= image_tag "31.png", alt: "spider" %>31
    +
    <%= image_tag "32.png", alt: "scorpion" %>32
    +
    <%= image_tag "33.png", alt: "crab" %>33
    +
    <%= image_tag "34.png", alt: "lobster" %>34
    +
    <%= image_tag "35.png", alt: "horseshoe crab" %>35
    +
    <%= image_tag "36.png", alt: "sea cucumber" %>36
    +
    <%= image_tag "37.png", alt: "abalone" %>37
    +
    <%= image_tag "38.png", alt: "jellyfish" %>38
    +
    <%= image_tag "39.png", alt: "coral" %>39
    +
    <%= image_tag "40.png", alt: "two mushrooms" %>40

    Color Codes

    0
    @@ -109,36 +112,37 @@
    16
    diff --git a/app/views/pages/information.html.erb b/app/views/pages/information.html.erb index 894182fed..ffc298aab 100644 --- a/app/views/pages/information.html.erb +++ b/app/views/pages/information.html.erb @@ -1,7 +1,7 @@ <% title "About The Practical Dev" %> <%= content_for :page_meta do %> - + @@ -20,13 +20,15 @@ <% end %> <% if current_user&.has_role?(:super_admin) %> @@ -32,26 +32,33 @@
    -
    " data-chat-channels="<%= @chat_channels %>" data-chat-options="<%= {showChannelsList:false, showTimestamp: false, activeChannelId: @active_channel.id}.to_json %>"> +
    " data-chat-channels="<%= @chat_channels %>" data-chat-options="<%= { showChannelsList: false, showTimestamp: false, activeChannelId: @active_channel.id }.to_json %>"> +
    +
    DEV Live is in beta and currently does not support Safari. We recommend Chrome or Firefox for optimal viewing experience. If you are having issues, contact + members@dev.to for support. ❤️ +
    -
    DEV Live is in beta and currently does not support Safari. We recommend Chrome or Firefox for optimal viewing experience. If you are having issues, contact members@dev.to for support. ❤️
    <% elsif false %>
    -

    DEV LIVE <%= image_tag "emoji/emoji-one-television.png", style: "width: 55px; height: 50px; vertical-align: text-top;" %>

    +

    + DEV LIVE <%= image_tag "emoji/emoji-one-television.png", style: "width: 55px; height: 50px; vertical-align: text-top;" %> +

    - Our event is starting soon! Check back very shortly. + Our event is starting soon! Check back very shortly.

    <% elsif false %>
    -

    DEV IS LIVE <%= image_tag "emoji/emoji-one-television.png", style: "width: 60px;" %>

    +

    DEV IS + LIVE <%= image_tag "emoji/emoji-one-television.png", style: "width: 60px;" %> +

    <%= render "devise/registrations/registration_form" %>
    diff --git a/app/views/pages/markdown_basics.html.erb b/app/views/pages/markdown_basics.html.erb index 921f453ee..df5a74359 100644 --- a/app/views/pages/markdown_basics.html.erb +++ b/app/views/pages/markdown_basics.html.erb @@ -1,7 +1,7 @@ <% title "Markdown Basics" %> <%= content_for :page_meta do %> - + @@ -14,11 +14,13 @@
    -

    Below are some examples of commonly used markdown syntax. If you want to dive deeper, check out this cheat sheet.

    +

    Below are some examples of commonly used markdown syntax. If you want to dive deeper, check out + this cheat sheet. +

    Bold & Italic

    -

    Italics: *asterisks* or _underscores_

    -

    Bold: **double asterisks** or __double underscores__

    +

    Italics: *asterisks* or _underscores_

    +

    Bold: **double asterisks** or __double underscores__

    Links

    I'm an inline link: [I'm an inline link](put-link-here)

    @@ -39,11 +41,14 @@
    Six '#'s for a h6 header

    Liquid Tags

    -

    We support native Liquid tags in our editor, but have created our own custom tags listed below:

    +

    We support native + Liquid tags in our editor, but have created our own custom tags listed below: +

    Twitter Embed

    -

    Using the twitter Liquid tag will allow the tweet to pre-render from the server, providing your reader with a better experience. All you need is the tweet id from the url. - {% twitter 834439977220112384 %}

    +

    Using the twitter Liquid tag will allow the tweet to pre-render from the server, providing your reader with a better experience. All you need is the tweet + id from the url. + {% twitter 834439977220112384 %}

    GitHub Issue or Comment Embed

    All you need is the GitHub issue or comment URL.

    @@ -68,7 +73,9 @@

    One specific edge case is with using the raw tag. To properly escape it, use this format:

    `{% raw %}{{site.SOMETHING }} {% ``endraw`` %}`

    -

    Here's the Markdown cheatsheet again for reference.

    +

    + Here's the Markdown cheatsheet again for reference. +

    Happy posting! 📝
    diff --git a/app/views/pages/membership.html.erb b/app/views/pages/membership.html.erb index 1bcb45961..93930371a 100644 --- a/app/views/pages/membership.html.erb +++ b/app/views/pages/membership.html.erb @@ -1,7 +1,7 @@ <% title "The DEV Sustaining Membership" %> <%= content_for :page_meta do %> - + @@ -23,47 +23,55 @@
    - + " />

    @@ -37,32 +38,39 @@

    - One of the most common things we hear developers say they wished they were doing more of, is writing about their work and sharing it with others. dev.to is fundamentally built to help facilitate that process. It's well established that writing and sharing your work is just about the best thing you can do to help your own understanding and boost your career prospects. + One of the most common things we hear developers say they wished they were doing more of, is + writing about their work and sharing it with others. + dev.to is fundamentally built to help facilitate that process. It's well established that writing and sharing your work is just about the best thing you can do to help your own understanding and boost your career prospects.

    As the saying goes, "The best time to plant a tree was 20 years ago. The second best time is now." In order to help you take the leap, we've created some templates for your first DEV post. You're welcome to post about anything related to software development, but you may want to start with one of these templates. -

    +

    - Simply click one of these blue buttons to launch a ready-made template in our new article editor. Have fun! + Simply click one of these blue buttons to launch a ready-made template in our new article editor. Have fun!

    Today I Learned - What new concept have you learned recently? (it doesn't have to be today) There may be some other devs out there who could benefit from a bit of knowledge share. Here's an example + What new concept have you learned recently? (it doesn't have to be + today) There may be some other devs out there who could benefit from a bit of knowledge share. + Here's an example

    X In 30 Seconds - Flex your ability to explain something simply and briefly. Can you cover a topic in only one paragraph? Give it a shot. Here's an example. + Flex your ability to explain something simply and briefly. Can you cover a topic in only one paragraph? Give it a shot. + Here's an example.

    Letter to My Past Self - Now that you've made some progress in your journey, what realization have you made that could have saved you from some struggle earlier in your career? Here's an example + Now that you've made some progress in your journey, what realization have you made that could have saved you from some struggle earlier in your career? + Here's an example

    - The dev.to editor uses Markdown syntax. Here's the guide. Thanks so much for being a caring member of the DEV community. We're all in this together. + The dev.to editor uses Markdown syntax. + Here's the guide. Thanks so much for being a caring member of the DEV community. We're all in this together.

    ❤️
    -
    +
    diff --git a/app/views/pages/org_info.html.erb b/app/views/pages/org_info.html.erb index 445f03417..e0b745c4d 100644 --- a/app/views/pages/org_info.html.erb +++ b/app/views/pages/org_info.html.erb @@ -1,7 +1,7 @@ <% title "Organization Accounts" %> <%= content_for :page_meta do %> - + @@ -28,50 +28,66 @@

    - Organization accounts are a FREE option for companies, open-source projects, and anyone else that wants to participate on DEV as part of a broader group. + Organization accounts are a + FREE option for companies, open-source projects, and anyone else that wants to participate on DEV as part of a broader group.

    - To create or join an organization, simply head to your settings page. + To create or join an organization, simply head to your + settings page.

    Here are a few benefits:

      -
    • Dedicated Landing Page: Your organization will now have a page to display key information, a list of organization members, and more.
    • -
    • Organization Branding on Posts: Your team will have the ability to enable org branding on new posts, which will show up in the header, sidebar, and footer.
    • -
    • Call-to-Action on Posts: Drive readers towards your products and services with a call-to-action unit alongside your posts.
    • -
    • Enhanced Analytics: Measure performance by keeping track of view counts, reactions, and CTA clicks on each post.
    • -
    • Build a Following: As community members follow your organization, they’ll receive notifications of new posts, and your content will show up more prominently in their feed.
    • - +
    • + Dedicated Landing Page: Your organization will now have a page to display key information, a list of organization members, and more. +
    • +
    • + Organization Branding on Posts: Your team will have the ability to enable org branding on new posts, which will show up in the header, sidebar, and footer. +
    • +
    • + Call-to-Action on Posts: Drive readers towards your products and services with a call-to-action unit alongside your posts. +
    • +
    • + Enhanced Analytics: Measure performance by keeping track of view counts, reactions, and CTA clicks on each post. +
    • +
    • + Build a Following: As community members follow your organization, they’ll receive notifications of new posts, and your content will show up more prominently in their feed. +
    • +
    -

    Check out the DEV Team organization page to view a live example. Head to your settings page to create or join an organization.

    +

    Check out the DEV Team organization page to view a live example. Head to your + settings page to create or join an organization.

    FAQ

    - I publish articles both as an individual, and as part of an organization. Will I need two separate accounts? + I publish articles both as an individual, and as part of an organization. Will I need two separate accounts?
    - Nope — you can continue to use your DEV account as normal. As part of an organization, you will see an option to enable organization branding at the top of every new post. + Nope — you can continue to use your DEV account as normal. As part of an organization, you will see an option to enable organization branding at the top of every new post.

    How can I invite more people to my organization?
    - You’ll see an invite token at the top of your settings page. To add someone to your organization, simply provide them with that token. They’ll enter it at the top of the same page to join the group. + You’ll see an invite token at the top of your + settings page. To add someone to your organization, simply provide them with that token. They’ll enter it at the top of the same page to join the group.

    I want to cross-post content, do you support Canonical URLs?
    - Absolutely. You can set the canonical_url in the Front Matter of each post. We also have an RSS Import tool to make importing articles a bit easier. + Absolutely. You can set the canonical_url in the Front Matter of each post. We also have an + RSS Import tool to make importing articles a bit easier.

    Can I join multiple organizations?
    - Not yet, but we’re working to support this use-case soon. + Not yet, but we’re working to support this use-case soon.

    I have a questions and/or comments?
    - Great! We’re happy to answer questions, and we welcome your feedback. Please shoot an email to yo@dev.to. + Great! We’re happy to answer questions, and we welcome your feedback. Please shoot an email to + yo@dev.to.

    diff --git a/app/views/pages/privacy.html.erb b/app/views/pages/privacy.html.erb index cf49e9f62..4962ce925 100644 --- a/app/views/pages/privacy.html.erb +++ b/app/views/pages/privacy.html.erb @@ -1,7 +1,7 @@ <% title "Privacy Policy for DEV" %> <%= content_for :page_meta do %> - + @@ -49,106 +49,125 @@

    In order for you to create an account on DEV and use our Services, we need to collect and process certain information. Depending on your use of the Services, that may include:

    Information Disclosure

    We do not share, sell, rent, or trade User Personal Information with third parties for commercial purposes. -
    -
    - We do share certain aggregated, non-personally identifying information with others about how our users, collectively, use DEV. For example, we may share information pertaining to the popularity of different programming languages for advertising partners. -
    -
    - We do host first-party advertising on DEV. We do not run any code from advertisers and all ad images are hosted on managed DEV servers. For more details, see our section on Advertising Details. -
    -
    - We may use User Personal Information with your permission, so we can perform services you have authorized. For example, if you indicate you are looking for work, we may contact you with opportunities. -
    -
    - We may share User Personal Information with a limited number of third party vendors who process it on our behalf to provide or improve our service, and who have agreed to privacy restrictions similar to our own Privacy Statement. Our third party vendors are listed below.

    +
    +
    + We do share certain aggregated, non-personally identifying information with others about how our users, collectively, use DEV. For example, we may share information pertaining to the popularity of different programming languages for advertising partners. +
    +
    + We do host first-party advertising on DEV. We do not run any code from advertisers and all ad images are hosted on managed DEV servers. For more details, see our section on Advertising Details. +
    +
    + We may use User Personal Information with your permission, so we can perform services you have authorized. For example, if you indicate you are looking for work, we may contact you with opportunities. +
    +
    + We may share User Personal Information with a limited number of third party vendors who process it on our behalf to provide or improve our service, and who have agreed to privacy restrictions similar to our own Privacy Statement. Our third party vendors are listed below. +

    Advertising Details

    We target advertisements based solely upon:

    We may place ads in:

    -

    All registered members have the ability to disable advertisements — where reasonable — through their Settings page. For instance, it’s not feasible to disable certain advertisements in the form of recognition posts, site-wide contests, dedicated sponsorship page, etc.

    +

    All registered members have the ability to disable advertisements — where reasonable — through their Settings page. For instance, it’s not feasible to disable certain advertisements in the form of recognition posts, site-wide contests, dedicated sponsorship page, etc.

    Third Party Vendors

    -

    We may share your account information with third parties in some circumstances, including: (1) with your consent; (2) to a service provider or partner who meets our data protection standards; (3) for survey or research purposes, after aggregation, anonymization, or pseudonomization; (4) when we have a good faith belief it is required by law, such as pursuant to a subpoena or other legal process; (5) when we have a good faith belief that doing so will help prevent imminent harm to someone.

    +

    + We may share your account information with third parties in some circumstances, including: (1) with your consent; (2) to a service provider or partner who meets our data protection standards; (3) for survey or research purposes, after aggregation, anonymization, or pseudonomization; (4) when we have a good faith belief it is required by law, such as pursuant to a subpoena or other legal process; (5) when we have a good faith belief that doing so will help prevent imminent harm to someone. +

    Data Storage -
    - DEV uses third-party vendors and hosting partners for hardware, software, networking, storage, and related technology we need to run DEV. By using DEV Services, you authorize DEV to transfer, store, and use your information in the United States and any other country where we operate. All service providers and third-party vendors are required to meet our data protection standards.

    +
    + DEV uses third-party vendors and hosting partners for hardware, software, networking, storage, and related technology we need to run DEV. By using DEV Services, you authorize DEV to transfer, store, and use your information in the United States and any other country where we operate. All service providers and third-party vendors are required to meet our data protection standards. +

    Site monitoring -
    - DEV uses a variety of third-party services to diagnose errors and improve the performance of our site. We aim to minimize the amount of personal information shared, but the information may include your IP address or other identifying information. All service providers and third-party vendors are required to meet our data protection standards.

    +
    + DEV uses a variety of third-party services to diagnose errors and improve the performance of our site. We aim to minimize the amount of personal information shared, but the information may include your IP address or other identifying information. All service providers and third-party vendors are required to meet our data protection standards. +

    Payment processing -
    - DEV does not process payments directly — we rely on third-party services such as Stripe, Shopify, and Paypal to receive payments and store any payment information. The DEV Shop is run through Shopify, a third-party e-commerce platform with their own Privacy Policy.

    +
    + DEV does not process payments directly — we rely on third-party services such as Stripe, Shopify, and Paypal to receive payments and store any payment information. + The DEV Shop is run through Shopify, a third-party e-commerce platform with their own Privacy Policy. +

    Third-Party Embeds -
    - Some of the content that you see displayed on DEV is not hosted by DEV. These “embeds” are hosted by a third-party and embedded in DEV. For example: YouTube videos, Codepens, Twitter tweets, or GitHub code that appear within a DEV post. These files send data to the hosted site just as if you were visiting that site directly (for example, when you load a DEV post page with a YouTube video embedded in it, YouTube receives data about your activity). DEV does not control what data third parties collect in cases like this, or what they will do with it. Third-party embeds on DEV are not covered by this privacy policy; they are covered by the privacy policy of the third-party service. Be mindful when interacting with these services.

    +
    + Some of the content that you see displayed on DEV is not hosted by DEV. These “embeds” are hosted by a third-party and embedded in DEV. For example: YouTube videos, Codepens, Twitter tweets, or GitHub code that appear within a DEV post. These files send data to the hosted site just as if you were visiting that site directly (for example, when you load a DEV post page with a YouTube video embedded in it, YouTube receives data about your activity). DEV does not control what data third parties collect in cases like this, or what they will do with it. Third-party embeds on DEV are not covered by this privacy policy; they are covered by the privacy policy of the third-party service. Be mindful when interacting with these services. +

    Facebook (visitor action pixel) -
    - We use the “visitor action pixels” from Facebook Inc on our website. -
    -
    - This allows user behavior to be tracked after they have been redirected to our website by clicking on a Facebook ad. This enables us to measure the effectiveness of Facebook ads. The data collected in this way is anonymous to us, i.e. we do not see the personal data of individual users. However, this data is stored and processed by Facebook, which is why we are informing you, based on our knowledge of the situation. Facebook may link this information to your Facebook account and also use it for its own promotional purposes, in accordance with Facebook’s Data Usage Policy. You can object to the collection of your data by Facebook pixel, or to the use of your data for the purpose of displaying Facebook ads by contacting the following address: https://www.facebook.com/settings?tab=ads.

    +
    + We use the “visitor action pixels” from Facebook Inc on our website. +
    +
    + This allows user behavior to be tracked after they have been redirected to our website by clicking on a Facebook ad. This enables us to measure the effectiveness of Facebook ads. The data collected in this way is anonymous to us, i.e. we do not see the personal data of individual users. However, this data is stored and processed by Facebook, which is why we are informing you, based on our knowledge of the situation. Facebook may link this information to your Facebook account and also use it for its own promotional purposes, in accordance with + Facebook’s Data Usage Policy. You can object to the collection of your data by Facebook pixel, or to the use of your data for the purpose of displaying Facebook ads by contacting the following address: https://www.facebook.com/settings?tab=ads. +

    Tracking & Cookies -
    - We use browser cookies and similar technologies to recognize you when you return to our Services. Third-party vendors may also use cookies for various reasons. -
    -
    - DEV uses a specific cookie in order to facilitate the use of Google Universal Analytics for users logged-in to the Applications or the Platforms (“Logged-In User). If you are a Logged-In User, DEV may use your DEV user ID in combination with Google Universal Analytics and Google Analytics to track and analyze the pages of the Services you visit. We do this only to better understand how you use the Website and the other Services, with a view to offering improvements for all DEV users; and to tailor our business and marketing activities accordingly, both generally and specifically to you. Google Analytics cookies do not provide DEV with any Personal Information.You can prevent Google Analytics from recognizing you on return visits to this site by disabling cookies on your browser. -
    -
    - You may opt-out of this feature by installing the Google Analytics Opt-out Browser Add-on, by setting your web browser to refuse cookies, or by setting your browser to alert you when cookies are being sent. If you do so, note that some parts of the Site may not function properly.

    +
    + We use browser cookies and similar technologies to recognize you when you return to our Services. Third-party vendors may also use cookies for various reasons. +
    +
    + DEV uses a specific cookie in order to facilitate the use of Google Universal Analytics for users logged-in to the Applications or the Platforms (“Logged-In User). If you are a Logged-In User, DEV may use your DEV user ID in combination with Google Universal Analytics and Google Analytics to track and analyze the pages of the Services you visit. We do this only to better understand how you use the Website and the other Services, with a view to offering improvements for all DEV users; and to tailor our business and marketing activities accordingly, both generally and specifically to you. Google Analytics cookies do not provide DEV with any Personal Information.You can prevent Google Analytics from recognizing you on return visits to this site by disabling cookies on your browser. +
    +
    + You may opt-out of this feature by installing the Google Analytics Opt-out Browser Add-on, by setting your web browser to refuse cookies, or by setting your browser to alert you when cookies are being sent. If you do so, note that some parts of the Site may not function properly. +

    Data Security -
    - We use encryption (HTTPS/TLS) to protect data transmitted to and from our site. However, no data transmission over the Internet is 100% secure, so we can’t guarantee security. You use the Service at your own risk, and you’re responsible for taking reasonable measures to secure your account.

    +
    + We use encryption (HTTPS/TLS) to protect data transmitted to and from our site. However, no data transmission over the Internet is 100% secure, so we can’t guarantee security. You use the Service at your own risk, and you’re responsible for taking reasonable measures to secure your account. +

    Administrative Emails from DEV -
    - Sometimes we’ll send you emails about your account, service changes or new policies. You can’t opt out of this type of “transactional” email (unless you delete your account). -
    -
    - When you interact with a transactional email sent from DEV (such as opening an email or clicking on a particular link in an email), we may receive information about that interaction.

    +
    + Sometimes we’ll send you emails about your account, service changes or new policies. You can’t opt out of this type of “transactional” email (unless you delete your account). +
    +
    + When you interact with a transactional email sent from DEV (such as opening an email or clicking on a particular link in an email), we may receive information about that interaction. +

    Non-administrative Emails from DEV -
    - Upon creating a DEV account, you will be opted into the DEV Newsletter and other non-administrative email. Your email address and user profile information may be stored by a third-party email provider such as MailChimp or Sendgrid. You can opt out of non-administrative emails such as digests, newsletters, and activity notifications through your account’s “Settings” page and at the link of the footer in any non-administrative email you receive from us. -
    -
    - When you interact with a non-administrative email sent from DEV (such as opening an email or clicking on a particular link in an email), we may receive information about that interaction.

    +
    + Upon creating a DEV account, you will be opted into the DEV Newsletter and other non-administrative email. Your email address and user profile information may be stored by a third-party email provider such as MailChimp or Sendgrid. You can opt out of non-administrative emails such as digests, newsletters, and activity notifications through your account’s “Settings” page and at the link of the footer in any non-administrative email you receive from us. +
    +
    + When you interact with a non-administrative email sent from DEV (such as opening an email or clicking on a particular link in an email), we may receive information about that interaction. +

    Deleting Your Personal Information -
    - You may request deletion of your personal information and account by emailing privacy@dev.to. -
    -
    - To protect information from accidental or malicious destruction, we may maintain residual copies for a brief time period. But, if you delete your account, your information and content will be unrecoverable after that time.

    +
    + You may request deletion of your personal information and account by emailing privacy@dev.to. +
    +
    + To protect information from accidental or malicious destruction, we may maintain residual copies for a brief time period. But, if you delete your account, your information and content will be unrecoverable after that time. +

    Data Portability -
    - If you would like to request a copy of your user data, please email privacy@dev.to.

    +
    + If you would like to request a copy of your user data, please email privacy@dev.to.

    Business Transfers -
    - If we are involved in a merger, acquisition, bankruptcy, reorganization or sale of assets such that your information would be transferred or become subject to a different privacy policy, we’ll notify you in advance of any such change.

    +
    + If we are involved in a merger, acquisition, bankruptcy, reorganization or sale of assets such that your information would be transferred or become subject to a different privacy policy, we’ll notify you in advance of any such change. +

    Changes to this Policy -
    - We reserve the right to revise this Privacy Policy at any time. If we change this Privacy Policy in the future, we will post the revised Privacy Policy and update the “Effective Date,” above, to reflect the date of the changes.

    +
    + We reserve the right to revise this Privacy Policy at any time. If we change this Privacy Policy in the future, we will post the revised Privacy Policy and update the “Effective Date,” above, to reflect the date of the changes. +

    Questions -
    - We welcome feedback about this policy at privacy@dev.to.

    +
    + We welcome feedback about this policy at privacy@dev.to.

    diff --git a/app/views/pages/publishing_from_rss_guide.html.erb b/app/views/pages/publishing_from_rss_guide.html.erb index 41e94b8b6..26e9af2ba 100644 --- a/app/views/pages/publishing_from_rss_guide.html.erb +++ b/app/views/pages/publishing_from_rss_guide.html.erb @@ -1,7 +1,7 @@ <% title "Editor Guide" %> <%= content_for :page_meta do %> - + diff --git a/app/views/pages/report-abuse.html.erb b/app/views/pages/report-abuse.html.erb index b173761a8..a5336f37e 100644 --- a/app/views/pages/report-abuse.html.erb +++ b/app/views/pages/report-abuse.html.erb @@ -1,27 +1,28 @@ <% title "Report abuse" %> <%= content_for :page_meta do %> - - - - - - - - - - + + + + + + + + + + <% end %>
    -

    Report Abuse

    -
    -
    -

    - Thank you for reporting any abuse that violates our code of conduct or terms and conditions. We continue to try to make this environment a great one for everybody. -

    - <%= render 'feedback_messages/form', feedback_message: @feedback_message %> -
    +

    Report Abuse

    +
    +
    +

    + Thank you for reporting any abuse that violates our code of conduct or + terms and conditions. We continue to try to make this environment a great one for everybody. +

    + <%= render "feedback_messages/form", feedback_message: @feedback_message %> +
    diff --git a/app/views/pages/rlyweb.html.erb b/app/views/pages/rlyweb.html.erb index b298bf459..d56c9659b 100644 --- a/app/views/pages/rlyweb.html.erb +++ b/app/views/pages/rlyweb.html.erb @@ -1,25 +1,25 @@ <% title "O RLY Parody Book Generator" %> -<%= stylesheet_link_tag 'application', media: 'all' %> +<%= stylesheet_link_tag "application", media: "all" %> -<%= javascript_include_tag 'application' %> +<%= javascript_include_tag "application" %> <%= content_for :page_meta do %> - - - + + + - - - - - - + + + + + + - - - - - + + + + + <% end %>
    @@ -28,17 +28,17 @@
    - + - + - + - + - + - +