<script setup lang="ts">
import Header from './header/header.vue';
</script>

<template>
  <div class="layout-container">
    <div class="layout-content">
      <Header />
      <router-view />
    </div>
    <footer class="layout-footer">
      <div class="footer-content">
        <p class="copyright">
          © 2026 YIMAGONGFANG Limited corporate. All rights reserved.
        </p>
      </div>
    </footer>
  </div>
</template>

<style lang="scss" scoped>
.layout-container {
  position: relative;
  min-height: 100vh;
  background: url('@/assets/image/bg.png') no-repeat center;
  background-size: cover;
}

.layout-content {
  max-width: 1200px;
  padding-top: 32px;
  padding-bottom: 60px;
  margin: 0 auto;
}

.layout-footer {
  position: fixed;
  right: 0;
  bottom: 29px;
  left: 0;
  z-index: 10;
}

.footer-content {
  display: flex;
  justify-content: flex-end;
  max-width: 1200px;
  margin: 0 auto;
}

.copyright {
  font-size: 13px;
  color: #65605e;
}
</style>
