Renamed/moved files around

This commit is contained in:
2022-07-26 19:49:54 +02:00
parent 1f51cead5c
commit 023b2cd86e
15 changed files with 29 additions and 29 deletions

32
src/pages/ListPage.vue Normal file
View File

@@ -0,0 +1,32 @@
<template>
<ResultsSection :title="listName" :apiFunction="getTmdbMovieListByName" />
</template>
<script>
import ResultsSection from "@/components/ResultsSection";
import { getTmdbMovieListByName } from "@/api";
export default {
components: { ResultsSection },
computed: {
listName() {
return this.$route.params.name;
}
},
methods: {
getTmdbMovieListByName(page) {
return getTmdbMovieListByName(this.listName, page);
}
}
};
</script>
<style lang="scss" scoped>
.fullwidth-button {
width: 100%;
margin: 1rem 0;
padding-bottom: 2rem;
display: flex;
justify-content: center;
}
</style>