mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 20:05:39 +00:00
Renamed/moved files around
This commit is contained in:
32
src/pages/ListPage.vue
Normal file
32
src/pages/ListPage.vue
Normal 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>
|
||||
Reference in New Issue
Block a user