diff --git a/src/assets/img/default_profile_pic.png b/src/assets/img/default_profile_pic.png new file mode 100644 index 0000000..2b8b658 Binary files /dev/null and b/src/assets/img/default_profile_pic.png differ diff --git a/src/components/appbar/AppBar.vue b/src/components/appbar/AppBar.vue index 7aa9ae2..5145305 100644 --- a/src/components/appbar/AppBar.vue +++ b/src/components/appbar/AppBar.vue @@ -7,7 +7,7 @@ - + GET STARTED diff --git a/src/components/signup/Signup.vue b/src/components/signup/Signup.vue index 453d32f..3c7f763 100644 --- a/src/components/signup/Signup.vue +++ b/src/components/signup/Signup.vue @@ -1,5 +1,5 @@ - + - +

Stats

- - - - + + + + {{ stat.title }} {{ stat.value }} @@ -365,7 +365,7 @@ export default { bio: '', profilePic: '', }, - profilePicPath: null, + profilePicPath: require('@/assets/img/default_profile_pic.png'), improvement: { timeStamp: null, bodyWeight: null, @@ -375,7 +375,7 @@ export default { quadriceps: null }, stats: [ - {title: 'Workouts', value: 10, color: 'cyan'}, + {title: 'Workouts', value: 5, color: 'cyan'}, {title: 'Messages', value: 6, color: 'orange'}, {title: 'Notifications', value: 2, color: 'green'}, ], @@ -423,7 +423,10 @@ export default { res => { if (res != null) { this.user = res - this.profilePicPath = process.env.VUE_APP_BASE_URL + this.user.profilePic + if(this.user.profilePic) { + console.log(this.user.profilePic) + this.profilePicPath = process.env.VUE_APP_BASE_URL + this.user.profilePic + } } }) }, diff --git a/src/pages/home/HomePage.scss b/src/pages/home/HomePage.scss index a8c7a87..d79cf8c 100644 --- a/src/pages/home/HomePage.scss +++ b/src/pages/home/HomePage.scss @@ -2,12 +2,18 @@ padding-top: 70pt; align-items: center; justify-content: center; + @media screen and (max-width: 767px) { + padding-top: 40pt; + } } .title { font-size: 80px; font-style: italic; text-align: center; + @media screen and (max-width: 767px) { + font-size: 60px; + } } .last-char { @@ -15,9 +21,12 @@ } .subtitle { - font-size: 40px; + font-size: 45px; font-style: italic; text-align: center; + @media screen and (max-width: 767px) { + font-size: 30px; + } } .image-container { @@ -29,6 +38,9 @@ .background-image { max-width: 35%; animation: slideX 1s ease-in-out forwards; + @media screen and (max-width: 767px) { + max-width: 60%; + } } .up { diff --git a/src/pages/home/HomePage.vue b/src/pages/home/HomePage.vue index e0b6fa1..c65af3c 100644 --- a/src/pages/home/HomePage.vue +++ b/src/pages/home/HomePage.vue @@ -25,7 +25,10 @@
- athletx home page image + athletx home page image
@@ -46,7 +49,7 @@ max-width="80px" class="d-block ml-auto mr-auto mt-5" > -

{{ feature.title }}

+

{{ feature.title }}

{{ feature.text }} diff --git a/src/pages/profile/Profile.scss b/src/pages/profile/Profile.scss index 0dcc70b..1b7998d 100644 --- a/src/pages/profile/Profile.scss +++ b/src/pages/profile/Profile.scss @@ -1,4 +1,3 @@ .profileImage { - border: 1px solid #000; - width: 80%; + width: 150px; } \ No newline at end of file diff --git a/src/pages/profile/Profile.vue b/src/pages/profile/Profile.vue index d193e08..13a8c49 100644 --- a/src/pages/profile/Profile.vue +++ b/src/pages/profile/Profile.vue @@ -1,6 +1,6 @@