Skip to content

Commit

Permalink
Add generic images; TODO: use unique images
Browse files Browse the repository at this point in the history
  • Loading branch information
camillevilla committed Sep 5, 2024
1 parent 95ca4c6 commit 22a70d9
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/homepage/innovation-equine.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spec/assets/neutral-placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions spec/factories/homepages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,23 @@
"The Equine-imity Project takes veterans out of the traditional clinical setting and into an alternative healing experience using horses. Our program offers an opportunity for veterans to learn about, and practice, fundamental life skills in a tangible way. ",
"VHA Innovation Ecosystem (VHA IE) collaborated with SoldierStrong to provide VA medical facilities with a virtual reality (VR) program that helps Veterans experiencing post-traumatic stress (PTS) and post-traumatic stress disorder (PTSD) recover from these challenges."
].cycle
sequence :featured_image_file_name, [
"innovation-voices.jpg",
"innovation-equine.jpg",
"innovation-bravemind.jpg"
].cycle
sequence :image_alt_text, [
"Two veterans socializing",
"A person petting a horse",
"A patient wearing a VR headset"
].cycle
# TODO: add image files
# [
# "innovation-voices.jpg",
# "innovation-equine.jpg",
# "innovation-bravemind.jpg"
# ]
featured_image { File.new(Rails.root.join('spec', 'assets', 'neutral-placeholder.png')) }
end
end

Expand All @@ -67,6 +84,23 @@
"Explore cutting-edge home health innovations, providing Veterans with personalized and accessible care in the comfort of their own homes.",
"Access the latest innovations in specialty care, dedicated to providing advanced medical treatments and personalized care tailored to Veterans' unique health needs."
].cycle
sequence :featured_image_file_name, [
"tag-suicide-prevention.jpg",
"tag-homeheatlh.jpg",
"tag-specialty-care.jpg"
].cycle
sequence :image_alt_text, [
"VA Secretary Denis McDonough greeting a VA clinic volunteer",
"A tiny house held by a medical professional wearing gloves and a stethoscope",
"A man wearing a blood pressure monitor"
].cycle
# TODO: add image files
# [
# "tag-suicide-prevention.jpg",
# "tag-homeheatlh.jpg",
# "tag-specialty-care.jpg"
# ]
featured_image { File.new(Rails.root.join('spec', 'assets', 'neutral-placeholder.png')) }
end
end

Expand All @@ -84,6 +118,20 @@
"Reimagining the landscape of healthcare for our aging Veteran population. ",
"We help improve care delivery and experiences by leveraging immersive technology for falls risk assessment, neurological risk assessment, pain management, anxiety, addiction recovery, physical therapy, recreation therapy, PTSD, employee education, and more."
].cycle
sequence :featured_image_file_name, [
"community-vr.jpg",
"community-age-friendly.jpg"
].cycle
sequence :image_alt_text, [
"A medical professional looks at a tablet with a patient",
"A person wearing a VR headset and surgical mask"
].cycle
# TODO: add image files
# [
# "community-vr.jpg",
# "community-age-friendly.jpg"
# ].cycle
featured_image { File.new(Rails.root.join('spec', 'assets', 'neutral-placeholder.png')) }
end
end
end
Expand Down

0 comments on commit 22a70d9

Please sign in to comment.