Update to Rails 7.2
This commit is contained in:
parent
932a43daac
commit
25672aabb0
31 changed files with 836 additions and 435 deletions
19
app/views/layouts/application.html.erb___
Normal file
19
app/views/layouts/application.html.erb___
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<title><%= content_for?(:title) ? yield(:title) : "Untitled" %></title>
|
||||
|
||||
<%= stylesheet_link_tag "application" %>
|
||||
<%= javascript_include_tag "application", 'data-turbolinks-track' => true %>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -39,19 +39,19 @@
|
|||
|
||||
|
||||
.small-12.medium-4.cell
|
||||
h2.text-center Most popular
|
||||
h2.text-center Random pick
|
||||
.pkgcard
|
||||
.image
|
||||
- if @most_popular_package
|
||||
a href=package_path(@most_popular_package.name)
|
||||
= small_img(@most_popular_package.screenshots.first)
|
||||
- if @random_pick
|
||||
a href=package_path(@random_pick.name)
|
||||
= small_img(@random_pick.screenshots.first)
|
||||
- else
|
||||
'No uploaded screenshots yet.
|
||||
.text
|
||||
strong
|
||||
=@most_popular_package.name
|
||||
=@random_pick.name
|
||||
' :
|
||||
=@most_popular_package.description
|
||||
=@random_pick.description
|
||||
|
||||
.small-12.medium-4.cell
|
||||
h2.text-center Your help needed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue