[Fix & Update] Fix ts warning and navbar activity
update link in cfp root page
This commit is contained in:
parent
d630fe7b4c
commit
77f45bd6cb
@ -55,7 +55,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="cfp-news">
|
||||
<a href="/2021/cfp/news" rel="noopener">
|
||||
<a href="/2021/cfp/ocfp-news" rel="noopener">
|
||||
<div class="btn-news-wrapper">
|
||||
<img src="~@/assets/images/burnfont/btn-news.svg" id="svg-news" />
|
||||
</div>
|
||||
|
@ -98,7 +98,9 @@ export default class CfpHeader extends Vue {
|
||||
}
|
||||
|
||||
private async onTick (t: number) {
|
||||
if (t<0) this.cfp = false;
|
||||
if (t < 0) {
|
||||
this.cfp = false;
|
||||
}
|
||||
this.countdown.s = t % 60;
|
||||
t = Math.floor(t / 60);
|
||||
this.countdown.m = t % 60;
|
||||
|
@ -98,7 +98,9 @@ export default class CfpHeader extends Vue {
|
||||
}
|
||||
|
||||
private async onTick (t: number) {
|
||||
if (t<0) this.cfp = false;
|
||||
if (t < 0) {
|
||||
this.cfp = false;
|
||||
}
|
||||
this.countdown.s = t % 60;
|
||||
t = Math.floor(t / 60);
|
||||
this.countdown.m = t % 60;
|
||||
|
@ -43,8 +43,6 @@ export default class Navbar extends Vue {
|
||||
'#schedule',
|
||||
'#example',
|
||||
'#code-of-conduct',
|
||||
'#info-section',
|
||||
'#process',
|
||||
'#methods',
|
||||
'#review',
|
||||
'#precautions',
|
||||
@ -79,7 +77,6 @@ export default class Navbar extends Vue {
|
||||
this.isNavbarFixed = false;
|
||||
this.isNavbarReturning = true;
|
||||
}
|
||||
|
||||
this.isNavbarAnimating = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user