Capital/pages/index.vue

40 lines
1.1 KiB
Vue
Raw Normal View History

2024-07-02 15:07:22 +00:00
<template>
<v-container>
<v-row class="content-section">
2024-08-10 05:47:34 +00:00
<v-col cols="12" md="4" class="d-flex align-center">
2024-07-02 15:07:22 +00:00
<div>
2024-08-10 05:47:34 +00:00
<h1 class="text-4xl font-bold">Solsynth</h1>
<p class="text-lg mt-3">
An energetic software company that create wonderful software which everyone love.
2024-07-02 15:07:22 +00:00
</p>
2024-08-10 05:47:34 +00:00
<p class="text-grey mt-2">
See some of our products just there
<v-icon icon="mdi-arrow-right" size="16" class="mb-0.5" />
2024-07-02 15:07:22 +00:00
</p>
2024-08-10 05:47:34 +00:00
</div>
2024-07-02 15:07:22 +00:00
</v-col>
2024-08-10 05:47:34 +00:00
<v-col cols="12" md="8">
<v-card>
<product-carousel class="carousel-section" :products="products as any[]" />
2024-07-02 15:07:22 +00:00
</v-card>
</v-col>
</v-row>
</v-container>
</template>
<script setup lang="ts">
const { data: products } = await useAsyncData("products", () => queryContent("/products").where({ archived: { $ne: true } }).limit(5).find())
2024-07-02 15:07:22 +00:00
</script>
<style scoped>
.carousel-section {
height: 96rem;
}
.content-section {
height: calc(100vh - 80px);
display: flex;
place-items: center;
2024-07-02 15:07:22 +00:00
}
</style>