fix formatting and copyright date
parent
34b0ef1a6d
commit
d3d6d3f037
|
@ -1,5 +1,5 @@
|
||||||
<!--
|
<!--
|
||||||
Copyright 2022 DigitalOcean
|
Copyright 2023 DigitalOcean
|
||||||
|
|
||||||
This code is licensed under the MIT License.
|
This code is licensed under the MIT License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
@ -28,7 +28,13 @@ THE SOFTWARE.
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p>
|
<p>
|
||||||
<button type="button" class="button is-primary is-small" @click="handleScrollToTop">{{ $t('templates.footer.backToTop') }}</button>
|
<button
|
||||||
|
type="button"
|
||||||
|
class="button is-primary is-small"
|
||||||
|
@click="handleScrollToTop"
|
||||||
|
>
|
||||||
|
{{ $t('templates.footer.backToTop') }}
|
||||||
|
</button>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
{{ $t('templates.footer.thisToolIs') }}
|
{{ $t('templates.footer.thisToolIs') }}
|
||||||
|
@ -72,9 +78,8 @@ THE SOFTWARE.
|
||||||
handleScrollToTop: () => {
|
handleScrollToTop: () => {
|
||||||
window.scrollTo({top: 0});
|
window.scrollTo({top: 0});
|
||||||
|
|
||||||
const columns = document.querySelectorAll('.column-scroll-y');
|
document.querySelectorAll('.column-scroll-y')
|
||||||
|
.forEach(column => column.scrollTo({ top: 0 }));
|
||||||
columns.forEach(column => column.scrollTo({top: 0}));
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue