From eb6e96b9a01589e8eeab2f92a6845c19ad966f77 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 13 May 2019 00:09:30 -0600 Subject: [PATCH 1/2] Update Profile.vue --- resources/assets/js/components/Profile.vue | 7 ++++++- resources/views/profile/show.blade.php | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/components/Profile.vue b/resources/assets/js/components/Profile.vue index 3c4bcc206..1f397f66a 100644 --- a/resources/assets/js/components/Profile.vue +++ b/resources/assets/js/components/Profile.vue @@ -511,8 +511,9 @@ export default { props: [ 'profile-id', + 'profile-layout', 'profile-settings', - 'profile-layout' + 'profile-username' ], data() { return { @@ -541,6 +542,10 @@ export default { beforeMount() { this.fetchRelationships(); this.fetchProfile(); + if(window.outerWidth < 576 && window.history.length > 2) { + $('nav.navbar').hide(); + $('body').prepend('
' + this.profileUsername + '
'); + } }, mounted() { diff --git a/resources/views/profile/show.blade.php b/resources/views/profile/show.blade.php index 5190a1ffb..ae29ff994 100644 --- a/resources/views/profile/show.blade.php +++ b/resources/views/profile/show.blade.php @@ -7,7 +7,7 @@ @endif - + @if($profile->website) {{$profile->website}} @endif From d46ae1e6285d644b2da7ebee64fd8bab3e95bb27 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 13 May 2019 00:10:28 -0600 Subject: [PATCH 2/2] Update compiled assets --- public/js/profile.js | Bin 60861 -> 61297 bytes public/mix-manifest.json | Bin 845 -> 845 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/public/js/profile.js b/public/js/profile.js index 1c91032c6f86a2060a026507c3ed7c776f3a7347..d716b0a20061749db0e9af3f0d1d3d43dd9bbbb9 100644 GIT binary patch delta 630 zcmZ`%zi$&U6jr%F2ul$S1SBXY3vxa+cZF8`h}uR(OdvX;ssoen&Ua_kv4idAI3yG# z#K1_sAO@r^j0njqj4Vjy4*&^uVMZ*>I3B{A1a}4K1DlW>9 zVwS1Av(Rk9a}Y2z2yH}206)x0f}!8CaKw|+0)2t|m?h9#PRPKGDUxypL|IVeL}9ld zEV>aF2^K-b)ltQJpff?#r@JSI5mp7p%te%BEU>Dc3}Vcz!!eh$n38y71^i_*Lh%Ol zmn@6yH%^gsQxwEG9th3?ic>YpX=X|D#D+CFX#k{r$W%~ZlI6-;qzUMFbIK0FUW})N z;cVZVrIIBtr&?A0qQ+`y;H3K>cv1QI!ykew5y+J*kv}#8xt^cehWN5AVN% EAMa$>DF6Tf delta 233 zcmex(k9qHH<_(jWH!HDzWoFJTE11Ns!EYAq9;T#eU96Xk4JPnG}x diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 23da3353cb89b6a044537527477de5da766b534f..af962827118cce6aa1e3b912b762054129b8634e 100644 GIT binary patch delta 32 ncmX@hc9v~JIg^OFVM=OhYO;~JQBq=}kx80~L6XJfZl*&3u{;W` delta 32 ncmX@hc9v~JIg^O7xk-{iqH&sWT57VPk%duWqN(ZRZl*&3sc{NQ