<template>
  <div class="home-page">
    <header class="page-header">
      <h1>FLV 视频播放器</h1>
      <p class="description">基于 Vue.js 和 flv.js 构建的视频播放器</p>
    </header>
    <main class="page-content">
      <VideoPlayer />
    </main>
  </div>
</template>

<script>
import VideoPlayer from '@/components/VideoPlayer.vue'

export default {
  name: 'HomePage',
  components: {
    VideoPlayer
  }
}
</script>

<style scoped>
.home-page {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 30px;
}

h1 {
  font-size: 32px;
  font-weight: 600;
  margin: 10px 0;
  color: #1d1d1f;
}

.description {
  font-size: 16px;
  color: #666;
  margin-top: 8px;
}

.page-content {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-footer {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #86868b;
}
</style>