feat: timeline add project count
This commit is contained in:
parent
c6217babc4
commit
01fdd1abd0
|
@ -4,7 +4,9 @@
|
|||
<div id='search-header' ref='header'>
|
||||
<img src='../assets/timeline/logo.svg'/>
|
||||
<span>
|
||||
<h3>{{ $t( (skill == null) ? 'timeline.title-all' : 'timeline.title') }}</h3> <SkillCard v-show='skill != null' :id='skill' :active='true'/>
|
||||
<h6>{{ projects.length }}</h6>
|
||||
<h3>{{ $t( (skill == null) ? 'timeline.title-all' : 'timeline.title') }}</h3>
|
||||
<SkillCard v-show='skill != null' :id='skill' :active='true'/>
|
||||
</span>
|
||||
<input type='button' :value="$t('timeline.back')" @click='$event.preventDefault(); scrollBack()'/>
|
||||
</div>
|
||||
|
@ -302,6 +304,19 @@ export default class Timeline extends Vue {
|
|||
}
|
||||
}
|
||||
|
||||
h6 {
|
||||
display: block;
|
||||
|
||||
margin-right: .5em;
|
||||
padding: .2em .5em;
|
||||
|
||||
font-size: 1em;
|
||||
color: #fff;
|
||||
|
||||
background: #444952;
|
||||
border-radius: .1em / .1em;
|
||||
}
|
||||
|
||||
input {
|
||||
padding: .4em 1em;
|
||||
margin-right: 1.5em;
|
||||
|
|
Loading…
Reference in New Issue