diff --git a/src/components/ScrollToTopButton.vue b/src/components/ScrollToTopButton.vue new file mode 100644 index 0000000..2b88819 --- /dev/null +++ b/src/components/ScrollToTopButton.vue @@ -0,0 +1,77 @@ + + + + + diff --git a/src/views/ChartsView.vue b/src/views/ChartsView.vue index 6b5e365..d86e6d4 100644 --- a/src/views/ChartsView.vue +++ b/src/views/ChartsView.vue @@ -5,6 +5,7 @@ import PeriodSelector from '@/components/PeriodSelector.vue' import ChartsCard from '@/views/ChartsView/ChartsCard.vue' import router from '@/router/index.js' import ChartsSearch from '@/views/ChartsView/ChartsSearch.vue' +import ScrollToTopButton from '@/components/ScrollToTopButton.vue' const { getChartsPrices } = useChartsApi() @@ -62,6 +63,7 @@ const filteredPrices = computed(() => { +