diff --git a/nuxt/assets/background.jpg b/nuxt/assets/background.jpg new file mode 100644 index 0000000..2dea010 Binary files /dev/null and b/nuxt/assets/background.jpg differ diff --git a/nuxt/components/SearchInput.vue b/nuxt/components/SearchInput.vue new file mode 100644 index 0000000..ced1bf9 --- /dev/null +++ b/nuxt/components/SearchInput.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/nuxt/components/TheFooter.vue b/nuxt/components/TheFooter.vue new file mode 100644 index 0000000..543375b --- /dev/null +++ b/nuxt/components/TheFooter.vue @@ -0,0 +1,17 @@ + + + + + diff --git a/nuxt/components/TheHeader.vue b/nuxt/components/TheHeader.vue new file mode 100644 index 0000000..49b6c6a --- /dev/null +++ b/nuxt/components/TheHeader.vue @@ -0,0 +1,42 @@ + + + + + diff --git a/nuxt/layouts/default.vue b/nuxt/layouts/default.vue index 6c2077d..a8e49e7 100644 --- a/nuxt/layouts/default.vue +++ b/nuxt/layouts/default.vue @@ -1,62 +1,5 @@ - + diff --git a/nuxt/nuxt.config.js b/nuxt/nuxt.config.js index 514136a..1ce235c 100644 --- a/nuxt/nuxt.config.js +++ b/nuxt/nuxt.config.js @@ -4,7 +4,7 @@ export default { // Global page headers (https://go.nuxtjs.dev/config-head) head: { - title: "movie-finder", + title: "MovieFinder", meta: [ { charset: "utf-8" }, { name: "viewport", content: "width=device-width, initial-scale=1" }, @@ -33,7 +33,7 @@ export default { // Axios module configuration (https://go.nuxtjs.dev/config-axios) axios: { - baseURL: "http://localhost:3000" + baseURL: "http://www.omdbapi.com" }, // Build Configuration (https://go.nuxtjs.dev/config-build) diff --git a/nuxt/package.json b/nuxt/package.json index 555369b..d11c5ac 100644 --- a/nuxt/package.json +++ b/nuxt/package.json @@ -15,6 +15,7 @@ "@nuxtjs/axios": "^5.12.2", "ant-design-vue": "^1.6.5", "core-js": "^3.6.5", + "lodash": "^4.17.20", "nuxt": "^2.14.5" }, "devDependencies": { diff --git a/nuxt/pages/index.vue b/nuxt/pages/index.vue index 91e6668..77ac63d 100644 --- a/nuxt/pages/index.vue +++ b/nuxt/pages/index.vue @@ -1,63 +1,29 @@ -