Skip to content

Commit 4d89e68

Browse files
committed
Move #WhatNow tag from home to welcome
Relocate the '#WhatNow' tag from resources/assets/js/pages/home.vue to resources/assets/js/pages/welcome.vue. Removed the markup and its CSS from home.vue and added the tag plus scoped styling in welcome.vue (white color, 1.1rem size, bold weight, small bottom margin) so the badge appears in the landing header instead of the home page.
1 parent 3a71d6b commit 4d89e68

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

resources/assets/js/pages/home.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<b-container fluid class="home-page">
33
<b-row class="p-4" v-if="user">
44
<b-col cols="12">
5-
<p class="whatnow-tag">#WhatNow</p>
65
<h2 class="mb-3">
76
{{ $t('home_pods.wellcome') }}
87
{{ user.data.user_profile.first_name }}!
@@ -288,13 +287,6 @@ export default {
288287
}
289288
</script>
290289
<style>
291-
.whatnow-tag {
292-
font-size: 1.1rem;
293-
font-weight: 600;
294-
color: #E8473F;
295-
margin-bottom: 0.25rem;
296-
}
297-
298290
.button-container {
299291
display: flex;
300292
justify-content: space-between;

resources/assets/js/pages/welcome.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<div>
66
<img class="head-img mt-negative-header" :src="src('landingHead')">
77
<div class="top-head">
8+
<p class="whatnow-tag">#WhatNow</p>
89
<h2 class="white-subtitle-top">{{ $t('landing.head_1') }}</h2>
910
<h2 class="white-subtitle">{{ $t('landing.head_2') }}</h2>
1011
<p class="white-text mt-4 pre-line line-height-50">{{ $t('landing.head_text') }}</p>
@@ -323,6 +324,13 @@ export default {
323324
</script>
324325
<style scoped>
325326
327+
.whatnow-tag {
328+
color: white;
329+
font-size: 1.1rem;
330+
font-weight: 600;
331+
margin-bottom: 0.25rem;
332+
}
333+
326334
.pre-line {
327335
white-space: pre-line;
328336
}

0 commit comments

Comments
 (0)