Undangan/proyek-frontend/app/components/landing-page/aboutsection.vue

134 lines
2.5 KiB
Vue

<template>
<section class="about-section">
<div class="container">
<!-- Judul -->
<h2 class="section-title">Tentang Kami</h2>
<!-- Layout gambar + teks -->
<div class="about-layout">
<div class="about-image">
<img src="/logo1.png" alt="Tentang Kami - Undangan Digital" />
</div>
<div class="about-text">
<p>
"Abbauf Tech memudahkan pembuatan undangan digital yang praktis dan elegan, siap digunakan untuk berbagai acara spesial Anda."
</p>
</div>
</div>
<!-- Info Box -->
<div class="about-info">
<div class="info-card" v-for="(item, index) in infoList" :key="index">
<div class="icon">
<component :is="item.icon" />
</div>
<h3>{{ item.title }}</h3>
</div>
</div>
</div>
</section>
</template>
<script setup>
import { h } from "vue";
import { User, Headphones, Layout } from "lucide-vue-next";
// Data untuk kotak informasi
const infoList = [
{
title: "300+ Template",
icon: () => h(Layout, { size: 36, color: "#0d6efd" }),
},
{
title: "24/7 Support",
icon: () => h(Headphones, { size: 36, color: "#0d6efd" }),
},
{
title: "100+ Client",
icon: () => h(User, { size: 36, color: "#0d6efd" }),
},
];
</script>
<style scoped>
.about-section {
padding: 80px 0;
background-color: #ffffff;
text-align: center;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.section-title {
font-size: 2.9rem;
font-weight: 700;
margin-bottom: 50px;
color: #000;
}
.about-layout {
display: flex;
align-items: center;
justify-content: center;
gap: 40px;
flex-wrap: wrap;
margin-bottom: 50px;
}
.about-image img {
max-width: 400px;
height: auto;
margin-bottom: 20px;
margin-right: 20px;
}
.about-text {
max-width: 500px;
font-size: 1.4rem;
color: #000;
line-height: 1.6;
font-family: 'Roboto', sans-serif;
margin-bottom: 20px;
}
.about-info {
display: flex;
justify-content: center;
gap: 30px;
flex-wrap: wrap;
}
.info-card {
flex: 1;
min-width: 200px;
max-width: 250px;
border: 3px solid #0d6efd;
border-radius: 8px;
padding: 20px;
text-align: center;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.info-card h3 {
margin-top: 15px;
font-size: 1.1rem;
font-weight: 600;
color: #333;
}
.icon {
display: flex;
justify-content: center;
margin-bottom: 10px;
}
</style>