Skip to content

Commit 22e8fc0

Browse files
author
Lewis Youl
committed
chore: add favicon logo
1 parent b6cdde6 commit 22e8fc0

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

app/views/layouts/application.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
</style>
1111

12-
<title>Snippet Safe</title>
12+
<title>Snippet Safe | Create, file and share code snippets</title>
1313
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1414

1515
<%= csrf_meta_tags %>
@@ -22,6 +22,7 @@
2222

2323
<meta name="turbolinks-cache-control" content="no-preview">
2424

25+
<%= favicon_link_tag "/logos/logo.png" %>
2526
<%# <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.1/highlight.min.js"></script> %>
2627
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.9/cropper.min.css" integrity="sha512-w+u2vZqMNUVngx+0GVZYM21Qm093kAexjueWOv9e9nIeYJb1iEfiHC7Y+VvmP/tviQyA5IR32mwN/5hTEJx6Ng==" crossorigin="anonymous" />
2728
<script src="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.9/cropper.min.js" integrity="sha512-9pGiHYK23sqK5Zm0oF45sNBAX/JqbZEP7bSDHyt+nT3GddF+VFIcYNqREt0GDpmFVZI3LZ17Zu9nMMc9iktkCw==" crossorigin="anonymous"></script>

app/views/modals/snippets/picture.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h3 class="text-center mb-4">Share Snippet</h3>
22

3-
<h5 class="mb-2"><%= @snippet.description %></h5>
3+
<h5 class="mb-4 text-center"><%= @snippet.description %></h5>
44
<div
55
data-controller="picture"
66
data-picture-code-value="<%= @snippet.body %>"

public/logos/logo_square.png

289 Bytes
Loading

public/logos/logo_square.svg

Lines changed: 18 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)