snap-cloud / snapcon

An event management tool tailored to Snap!Con. Forked from OSEM
https://snapcon.org
MIT License
9 stars 9 forks source link

Refactor splash image #159

Closed cycomachead closed 3 years ago

cycomachead commented 3 years ago

Adds a banner_photo input back to the splash page. Uses the conference picture in the navbar

cycomachead commented 3 years ago

@bennettscience -- Just an FYI, since I know you're sometimes pulling in updates.

This change makes the conference logo be the one used in the navbar, and the banner photo be set on the splash page. If you decide to merge this, you'll want to run a small script to update the data before deploying:

Conference.all.each do |conf|
  puts "Conf: #{conf.short_title}"
  conf.splashpage&.update(banner_photo_file_name: conf.logo_file_name)
end

If you just pull from our master, there's some other changes, but those should all have migrations in them.