koel/docs/.vitepress/components/MobileAppScreenshots.vue

30 lines
883 B
Vue
Raw Normal View History

2024-03-17 18:28:39 +00:00
<template>
<div>
<img class="rounded-2xl" :src="homeScreenshot" alt="Home screen">
<img class="rounded-2xl" :src="artistsScreenshot" alt="Artist screen">
<img class="rounded-2xl" :src="nowPlayingScreenshot" alt="Now playing screen">
<img class="rounded-2xl" :src="downloadedScreenshot" alt="Downloaded screen">
</div>
</template>
<script lang="ts" setup>
import homeScreenshot from '../../assets/img/mobile/home.webp'
import artistsScreenshot from '../../assets/img/mobile/artists.webp'
import nowPlayingScreenshot from '../../assets/img/mobile/now-playing.webp'
import downloadedScreenshot from '../../assets/img/mobile/downloaded.webp'
</script>
<style lang="scss" scoped>
div {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-column-gap: 12px;
padding: 1rem 0;
img:nth-child(2), img:nth-child(4) {
margin-top: -10%;
}
}
</style>