Homepage(Search bar) + API Calls

This commit is contained in:
2020-10-04 02:40:05 +02:00
parent b840476668
commit bde03b30f4
8 changed files with 209 additions and 115 deletions

View File

@@ -1,63 +1,29 @@
<template>
<div class="container">
<div>
<Logo />
<h1 class="title">movie-finder</h1>
<div class="links">
<a
href="https://nuxtjs.org/"
target="_blank"
rel="noopener noreferrer"
class="button--green"
>
Documentation
</a>
<a
href="https://github.com/nuxt/nuxt.js"
target="_blank"
rel="noopener noreferrer"
class="button--grey"
>
GitHub
</a>
</div>
</div>
</div>
<a-layout id="main">
<TheHeader />
<a-layout-content>
<a-row type="flex" align="middle" justify="center" style="height: 100%;">
<a-col :span="12">
<SearchInput />
</a-col>
</a-row>
</a-layout-content>
<TheFooter />
</a-layout>
</template>
<script>
export default {};
</script>
<style>
.container {
margin: 0 auto;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.title {
font-family: "Quicksand", "Source Sans Pro", -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
display: block;
font-weight: 300;
font-size: 100px;
color: #35495e;
letter-spacing: 1px;
}
.subtitle {
font-weight: 300;
font-size: 42px;
color: #526488;
word-spacing: 5px;
padding-bottom: 15px;
}
.links {
padding-top: 15px;
<style scoped>
#main {
height: 100vh;
width: 100%;
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-image: url("~assets/background.jpg");
}
</style>