somethings I don't remember

This commit is contained in:
geoffrey45
2021-12-10 22:53:27 +03:00
parent aed2c74975
commit 3beab7b0a1
12 changed files with 87 additions and 32 deletions
@@ -0,0 +1,60 @@
<template>
<div class="albums-view rounded">
<div class="al-header rounded">
<div class="heading">ALL ALBUMS</div>
<div class="search" >
<input type="search" placeholder="Search albums">
</div>
</div>
<div class="all-albums"></div>
</div>
</template>
<script>
export default {
setup() {
const albums = [
{
title: "Album 1",
artist: "Artist 1",
},
{
title: "Album 2",
artist: "Artist 2",
},
{
title: "Album 3",
artist: "Artist 3",
},
];
return {
albums,
};
},
};
</script>
<style lang="scss">
.albums-view {
height: calc(100% - 13rem);
padding: $small;
margin-top: $small;
overflow: hidden;
background-color: $card-dark;
.al-header {
display: flex;
align-items: center;
position: relative;
background-color: rgb(48, 43, 43);
// border: solid;
height: 4em;
// padding: $small;
.search {
position: absolute;
right: 0;
}
}
}
</style>