Skip to content

Commit

Permalink
:wq
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Zaitsev authored and Pavel Zaitsev committed May 15, 2020
1 parent ff29c1b commit 88364cd
Show file tree
Hide file tree
Showing 6 changed files with 8,949 additions and 860 deletions.
2 changes: 1 addition & 1 deletion app/javascript/components/Photos.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Photos extends React.Component {

{photos.slice((this.state.activePage-1)*10, (this.state.activePage)*10).map(photo =>(
<React.Fragment key={photo.id}>
<b>{photo.name}</b><br/>
{/*<b>{photo.name}</b><br/>*/}
{(() => {
switch(photo.class) {
case 'Photo':
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<%= csp_meta_tag %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
<%= javascript_pack_tag 'application' %>
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'%>
</head>

<body>
Expand Down
4 changes: 3 additions & 1 deletion app/views/photos/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
Insta
.fa.fa-camera-retro
.fa.fa-github
= link_to "https://github.com/pavelz"
= link_to "https://github.com/pavelz", "https://github.com/pavelz"
.fa.fa-book
= link_to "https://blog.arslogi.ca/", "https://blog.arslogi.ca/"

.col-10
.text-center
Expand Down
Loading

0 comments on commit 88364cd

Please sign in to comment.