<script setup lang="ts">
definePageMeta({
  layout: 'home',
})
</script>

<template>
  <div class="home-page">
    <div class="hero">
      <h1 class="hero-title">欢迎来到 Dash</h1>
      <p class="hero-sub">一个收集、分享和交流的地方</p>
    </div>
  </div>
</template>

<style scoped>
.home-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
  padding: 48px 24px;
}

.hero {
  text-align: center;
  max-width: 600px;
}

.hero-title {
  font-family: 'Abril Fatface', Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--color-ink, #141413);
  letter-spacing: -1px;
  margin: 0 0 16px;
  line-height: 1.15;
}

.hero-sub {
  font-size: 18px;
  color: var(--color-muted, #6c6a64);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 16px;
  }
}
</style>
