Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/job_seekers/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<p>These members of Ruby Australia are currently seeking new opportunities.</p>
<% if user_signed_in? %>
<p>Visit your <%= link_to "profile settings", edit_my_details_path, class: "white-link"%> to add your LinkedIn profile and mark yourself as seeking work.</p>
<p>Visit your <%= link_to "profile settings", edit_my_details_path, class: "white-link" %> to add your LinkedIn profile and mark yourself as seeking work.</p>
<% end %>

<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8">
Expand Down
8 changes: 4 additions & 4 deletions db/seeds/posts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@ def post_content_simple
end

def post_content_enhanced
content = "<strong>#{heading} #{Faker::Lorem.multibyte}</strong>"
content += "<br />"
content = "<strong>#{heading} #{Faker::Lorem.multibyte}</strong><br />"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised Herb didn't complain about <br /> as the W3C validator now prompts warnings against the use of self closing brackets.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn’t know about the w3c recc! Thanks for sharing!

content += "<em>#{Faker::Lorem.paragraph(sentence_count: 4, supplemental: true, random_sentences_to_add: 4)}</em>"
content += "<br /><br />"

content += "<strong>#{heading}</strong>"
content += "<br />"
content += "<strong>#{heading}</strong><br />"

3.times do
content += Faker::Lorem.paragraph(sentence_count: 8, supplemental: true, random_sentences_to_add: 4)
content += "<br /><br />"
end

content
end

def post_scheduling_attributes(draft: false, future_scheduled: false)
Expand Down