From 9b3f05bad9c44567f4064b276b1f9e7a949cee74 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 20 Apr 2015 20:02:42 +0200 Subject: [PATCH] Removed image on the front page. Because there is no useful information like review ratings or popcon scores that would help here. Might be re-enabled later when that information is available. --- app/views/welcome/home.slim | 68 ++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/app/views/welcome/home.slim b/app/views/welcome/home.slim index a08f186..5345053 100644 --- a/app/views/welcome/home.slim +++ b/app/views/welcome/home.slim @@ -25,37 +25,37 @@ div.row hr -div.row - div.large-4.medium-12.small-12.columns.text-center - h2 Newest upload - // TODO: load actual newest upload and cache it - // TODO: link to the package page - a.black href=package_path(@newest_uploaded_package.name) - img src=@newest_uploaded_package.screenshots.first.image.url(:large, timestamp: false) - p - strong - =@newest_uploaded_package.name - ' : - ' - =@newest_uploaded_package.description - div.large-4.medium-12.small-12.columns.text-center - h2 Most popular - // TODO: load actual most popular package and highest-rated screenshot and cache it - // TODO: link to the package page - a.black href=package_path(@most_popular_package.name) - img src=@most_popular_package.screenshots.first.image.url(:large, timestamp: false) - p - strong - =@most_popular_package.name - ' : - ' - =@most_popular_package.description - div.large-4.medium-12.small-12.columns.text-center - h2 Your help needed - // TODO: load actual most popular package without a screenshot and cache it - a href=upload_package_by_name_path('firefox') - img src="/images/dummy/no-screenshots-upload-one.svg" width="80%" - p - ' We lack a screenshot for the Firefox package. Can you - a href=upload_package_by_name_path('firefox') provide one - ' ? +/ div.row +/ div.large-4.medium-12.small-12.columns.text-center +/ h2 Newest upload +/ // TODO: load actual newest upload and cache it +/ // TODO: link to the package page +/ a.black href=package_path(@newest_uploaded_package.name) +/ img src=@newest_uploaded_package.screenshots.first.image.url(:large, timestamp: false) +/ p +/ strong +/ =@newest_uploaded_package.name +/ ' : +/ ' +/ =@newest_uploaded_package.description +/ div.large-4.medium-12.small-12.columns.text-center +/ h2 Most popular +/ // TODO: load actual most popular package and highest-rated screenshot and cache it +/ // TODO: link to the package page +/ a.black href=package_path(@most_popular_package.name) +/ img src=@most_popular_package.screenshots.first.image.url(:large, timestamp: false) +/ p +/ strong +/ =@most_popular_package.name +/ ' : +/ ' +/ =@most_popular_package.description +/ div.large-4.medium-12.small-12.columns.text-center +/ h2 Your help needed +/ // TODO: load actual most popular package without a screenshot and cache it +/ a href=upload_package_by_name_path('firefox') +/ img src="/images/dummy/no-screenshots-upload-one.svg" width="80%" +/ p +/ ' We lack a screenshot for the Firefox package. Can you +/ a href=upload_package_by_name_path('firefox') provide one +/ ' ?