From f45dcc560c393a7f478b843bffd25b7e78798b10 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Tue, 22 Oct 2019 23:24:08 +0200 Subject: [PATCH] Removed A LOT of the functionality in MoviesList and replaced it with the ResultsList component. Now loading of search results, lists (either directly by query or link) and users requests from profile are all separated out to their own page component; Search.vue, ListPage.vue and Profile.vue respectivly. With the change Home has been completly redone to use this new funcionality --- src/components/Home.vue | 75 +++++++++++++++++++++--- src/components/ListHeader.vue | 101 +++++++++++++++++++++++++++++++++ src/components/ListPage.vue | 104 ++++++++++++++++++++++++++++++++++ src/components/Profile.vue | 30 +++++++--- src/components/Search.vue | 104 ++++++++++++++++++++++++++++++++++ 5 files changed, 397 insertions(+), 17 deletions(-) create mode 100644 src/components/ListHeader.vue create mode 100644 src/components/ListPage.vue create mode 100644 src/components/Search.vue diff --git a/src/components/Home.vue b/src/components/Home.vue index 0734697..33fb38a 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -2,27 +2,84 @@
- +
+ + + + +
\ No newline at end of file + diff --git a/src/components/ListHeader.vue b/src/components/ListHeader.vue new file mode 100644 index 0000000..d36d163 --- /dev/null +++ b/src/components/ListHeader.vue @@ -0,0 +1,101 @@ + + + + + + \ No newline at end of file diff --git a/src/components/ListPage.vue b/src/components/ListPage.vue new file mode 100644 index 0000000..dfb7ee4 --- /dev/null +++ b/src/components/ListPage.vue @@ -0,0 +1,104 @@ + + + + + + + diff --git a/src/components/Profile.vue b/src/components/Profile.vue index ab20e3c..0d46e81 100644 --- a/src/components/Profile.vue +++ b/src/components/Profile.vue @@ -3,17 +3,18 @@

{{ emoji }} Welcome {{ userName }}

- +
{{ showSettings ? 'hide settings' : 'show settings' }} Log out
+ - - + +
@@ -29,21 +30,34 @@ + + \ No newline at end of file