diff --git a/public/js/script.js b/public/js/script.js index a10bb7d..a6cca2e 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -318,22 +318,26 @@ function displayPost(selector, data) { posts_block.prepend( '
\n' + - '
\n' + - ' avatar\n' + - '
\n' + - '
\n' + - ' ' + - '
\n' + - data.user.name + - ' @'+ data.user.username +'\n' + - ' ' + - ' ·\n' + - ' '+ post_date +'\n' + - '
\n' + - '

\n' + - data.text + - '

\n' + - '
\n' + + '
\n' + + ' avatar\n' + + '
\n' + + '
\n' + + '
' + + ' ' + + '
' + + '

\n' + + data.text + + '

\n' + + '
\n' + '
' ); } diff --git a/resources/assets/js/posts.js b/resources/assets/js/posts.js index 602ab78..7c0ba59 100644 --- a/resources/assets/js/posts.js +++ b/resources/assets/js/posts.js @@ -40,22 +40,26 @@ function displayPost(selector, data) { posts_block.prepend( '
\n' + - '
\n' + - ' avatar\n' + - '
\n' + - '
\n' + - ' ' + - '
\n' + - data.user.name + - ' @'+ data.user.username +'\n' + - ' ' + - ' ·\n' + - ' '+ post_date +'\n' + - '
\n' + - '

\n' + - data.text + - '

\n' + - '
\n' + + '
\n' + + ' avatar\n' + + '
\n' + + '
\n' + + '
' + + ' ' + + '
' + + '

\n' + + data.text + + '

\n' + + '
\n' + '
' ); } diff --git a/resources/views/includes/_nav-links.blade.php b/resources/views/includes/_nav-links.blade.php index ed92f67..a1b394d 100644 --- a/resources/views/includes/_nav-links.blade.php +++ b/resources/views/includes/_nav-links.blade.php @@ -1,84 +1,63 @@
- @endforelse - @if($follows->isNotEmpty()) - Посмотреть всех - @endif