Skip to content

Commit 64a68e6

Browse files
authored
Merge pull request #13 from neeraj-2/master
Fetched changes from master branch
2 parents cf3cc79 + 365bc05 commit 64a68e6

File tree

6 files changed

+12
-17
lines changed

6 files changed

+12
-17
lines changed

src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
</ul>
2121
</nav>
2222

23-
<h2>
23+
<h1 class="title is-2">
2424
{{ $t('chooser.heading') }}
25-
</h2>
25+
</h1>
2626
<p class="stepper-instructions body-bigger">
2727
{{ $t('chooser.instructions') }}
2828
</p>

src/components/FooterSection.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@
166166
</div>
167167
<div class="column">
168168
<section class="donate-section">
169-
<h5>{{ $t('footer.donation.header') }} </h5>
169+
<h2 class="title is-5">
170+
{{ $t('footer.donation.header') }}
171+
</h2>
170172
<p>{{ $t('footer.donation.call') }}</p>
171173
<a
172174
class="button small donate"

src/components/HelpSection.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
22
<div class="help-section">
3-
<h3>
3+
<h2 class="title is-3">
44
{{ $t('help.heading') }}
5-
</h3>
5+
</h2>
66
<ul class="help-links">
77
<li
88
v-for="(modal, idx) in modals"

src/components/StepHeader.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
@click="activate"
66
@keyup.13="activate"
77
>
8-
<h5 class="step-header__title b-header">
8+
<h2 class="step-header__title b-header title is-5">
99
{{ $t(stepHeaderText) }}
10-
</h5>
10+
</h2>
1111
<div
1212
v-if="step.status === 'completed'"
1313
class="step-header__caption"
@@ -92,6 +92,9 @@ export default {
9292
}
9393
9494
}
95+
.step-header__title.b-header {
96+
letter-spacing: normal;
97+
}
9598
.step-header__title {
9699
margin-bottom: 0.25rem;
97100
}

src/components/Stepper.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,6 @@ export default {
309309
background: #d8d8d8;
310310
color: #333333;
311311
}
312-
.step-header__title.b-header {
313-
letter-spacing: normal;
314-
}
315312
.slide-fade-enter-active {
316313
transition: translate .5s ease, opacity 0.3s ease-in;
317314
}

tests/unit/specs/components/App.spec.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import Vocabulary from '@creativecommons/vue-vocabulary/vue-vocabulary.common'
66
import VueScrollTo from 'vue-scrollto'
77
import createStore from '@/store'
88
import App from '@/App'
9-
import Stepper from '@/components/Stepper'
109

1110
describe('App.vue', () => {
1211
let wrapper
@@ -50,10 +49,4 @@ describe('App.vue', () => {
5049
await wrapper.vm.$store.commit('setSelected', { name: 'BY', selected: false })
5150
expect(rightColumn.find('licensedetailscard-stub').exists()).toBe(true)
5251
})
53-
54-
it('Check that showLicenseUse returns true if currentStepId is equal to 7', async() => {
55-
expect(wrapper.find('licenseusecard-stub').exists()).toBe(false)
56-
await wrapper.findComponent(Stepper).vm.$emit('input', 7)
57-
expect(wrapper.find('licenseusecard-stub').exists()).toBe(true)
58-
})
5952
})

0 commit comments

Comments
 (0)