Homepage(Search bar) + API Calls
This commit is contained in:
42
nuxt/components/TheHeader.vue
Normal file
42
nuxt/components/TheHeader.vue
Normal file
@@ -0,0 +1,42 @@
|
||||
<template>
|
||||
<a-layout-header>
|
||||
<h1>
|
||||
<Logo />
|
||||
<span>MovieFinder</span>
|
||||
</h1>
|
||||
<h2>Get infos on latest movies / TV Shows</h2>
|
||||
</a-layout-header>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.ant-layout-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 32px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
color: #ffffff;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.NuxtLogo {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
margin: 0 12px 0 0;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user