Skip to content

Commit d741a90

Browse files
committed
Need to fix boostrap
1 parent 57fddf4 commit d741a90

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

app/assets/stylesheets/application.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@import "config/bootstrap_variables";
55

66
// External libraries
7-
// @import "bootstrap/scss/bootstrap";
7+
@import "bootstrap/scss/bootstrap";
88
// @import "font-awesome-sprockets";
99
@import "font-awesome";
1010

app/views/layouts/application.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
77
<%= csrf_meta_tags %>
88
<%= csp_meta_tag %>
9-
109
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
1110
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
1211
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
1312
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
13+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEJ+H2vYw1fS0XfM2T1Vo9dR6Ol2ndYzk6wN8jFJorVvv9O12w5uJgo2QskVb" crossorigin="anonymous">
14+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-pzjw8f+ua7Kw1TIq0Dvy3XvL3+LDYWhZ1Tf/5VjFZbh9fkpL6k2gTkqgqgVhIjsB" crossorigin="anonymous"></script>
1415
</head>
15-
1616
<body>
1717
<%= render "shared/navbar" %>
1818
<%= render "shared/flashes" %>

app/views/lists/index.html.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<div class=""><%= link_to list_path(list) do %>
1212
<div class="card bg-dark text-white cardhover greyfilter">
1313
<img class="card-img" src="<%= cl_image_path list.photo.key, height: 150, width: 300, crop: :fill %>" alt="Card image">
14-
<p><%= cl_image_path list.photo.key %></p>
1514
<div class="d-flex card-img-overlay justify-content-center align-items-center">
1615
<h5 class="title"><%= list.name %></h5>
1716
</div>

app/views/lists/show.html.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<% end %>
1616
</div>
1717
</div>
18-
<p><%= @list.photo.key %></p>
1918
<div class="container">
2019
<div class="mb-3 back-button w-100">
2120
<% if user_signed_in? && policy(@list).edit? %>

0 commit comments

Comments
 (0)