<template>
	<section class="section-designer">
		<div class="title" v-html="$t('Home.DesignerTitle')"></div>
		<div class="tip" v-html="$t('Home.DesignerTip')"></div>
		<button custom="black" @click="onSearchBrand">{{ $t('Home.SearchBrands') }}</button>
		<img src="@/assets/images/home/designer-bg.png" />
	</section>
</template>

<script setup lang="ts">
	import { computed, ref } from 'vue'
	import { useRouter } from 'vue-router'
	const router = useRouter()
	const onSearchBrand = () => {
		router.push({ name: 'brand' })
	}
</script>

<style lang="less">
	.section-designer {
		padding: 9rem 8rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		> .title {
			font-family: KaiseiOpti-Bold;
			font-size: 5.6rem;
			line-height: 6.2rem;
			text-align: center;
			margin-bottom: 2rem;
		}
		> .tip {
			font-family: KaiseiOpti-Regular;
			font-size: 2rem;
			line-height: 2.8rem;
			text-align: center;
			color: #979797;
			margin-bottom: 2rem;
		}
		> button {
			margin-bottom: 4.6rem;
		}
		> img {
			width: 73%;
			height: auto;
		}
	}
</style>
