Skip to content

Commit

Permalink
chore: some update
Browse files Browse the repository at this point in the history
Signed-off-by: Fery Wardiyanto <[email protected]>
  • Loading branch information
feryardiant committed Apr 6, 2024
1 parent e1b7504 commit 8232b52
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions src/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<script lang="ts" setup>
const { t } = useI18n()
</script>

<template>
<section-heading title="We Craft Digital Solution<br />for Your Business">
<template #default="{ title }">
<h1 class="leading-tight font-heading font-bold text-6xl text-gray-800" v-html="title" />
<section-heading :title="t('title')" :description="t('description')">
<template #default="{ description }">
<h1 class="leading-tight font-heading font-bold text-6xl text-gray-800" v-html="description" />
</template>
</section-heading>

Expand All @@ -21,5 +25,13 @@
name: home
meta:
title: Home
description: We Craft Digital Solution for Your Business
</route>

<i18n lang="yaml">
id:
title: Beranda
description: Kami menghadirkan Solusi Digital untuk Bisnis Anda
en:
title: Home
description: We Craft Digital Solution for Your Business
</i18n>

0 comments on commit 8232b52

Please sign in to comment.